Xubuntu - Setting Keyboard Shortcuts
One of the first things I do after performing a fresh installation of any distribution, is to set up the keyboard shortcuts.
I used to set them with a script in Ubuntu, but I have not figured out how to do this yet with Xubuntu. If you know how, please leave a comment.
For Xubuntu, one just has to launch they keyboard application by starting the launcher with
R and then typing
Then navigate to the Application Shortcuts tab.
- Click the Add button if you want to create a new shortcut
- Double click on the command of a shortcut, to edit the command.
- Double click on the shortcut to change the key-combo you need to use to activate the command.
When creating a new shortcut, or having double clicked on the command, you will see the following window. Fill it with the command you wish the keyboard shortcut to run.
When you double click the key-combo, you will see the following window. As you hold down keys, you will see the names of the keys in bold as indicated.
If you are like me, and you prefer to use Shutter (installation instructions) to manage your screenshots, then you will probably to set the following shortcuts:
- Print Screen -
- Alt + Print Screen -
- Shift + Print Screen -
I would normally use
shutter --active for Alt + Print Screen, but that seems to be bugged.
- Skip Forward / Next
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
- Go back.
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
Keyboard Shortcuts File Location
If you are interested where the file is that stores the keyboard shortcuts, it is at:
First published: 5th September 2020