I am a new Xubuntu user. Earlier when using Gnome, I was able to configure several desktop shortcuts, particularly for navigation between workspaces.
But, now in Xubuntu, I cannot find those options.
Where can I find those options.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
If multiple machines require configuring keyboard shortcuts, this can be done without having to repeatedly open windows. Rather, use the very handy
xfconf-query command in a
bash script to
Here is an example:
$ xfconf-query --create --channel xfce4-keyboard-shortcuts --property /commands/custom/XF86AudioMute --type string --set 'amixer -D pulse set Master 1+ toggle'
As a matter of fact, this is part of my solution to restore the function of the mute button in Xubuntu 12.04.
Heres a script that handles binding commands to keys cleanly in Xubuntu. Download keybind.c, compile it (example is given in readme in link) and simply run
./keybind "<keys to bind to>" "<command>"
For example heres some I use:
./keybind "<Control><Alt>Delete" "gnome-system-monitor" ./keybind "<Control><Alt>Up" "xrandr -o inverted" ./keybind "<Control><Alt>Down" "xrandr -o normal" ./keybind "<Control><Alt>Right" "xrandr -o left" ./keybind "<Control><Alt>Left" "xrandr -o right"
Disclosure: I created the script.
If you're running a Xubuntu system and want to do it from the terminal it is a simple procedure too.
For debugging, here is where keybinding shortcuts are stored in XFCE4:
$ gedit ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
1) Remove existing commands bound to the binding keys
2) Set new command to keys
1a) `xfconf-query --reset --channel xfce4-keyboard-shortcuts --property "/commands/custom/<Control><Alt>Down"`<br /> `xfconf-query --reset --channel xfce4-keyboard-shortcuts --property "/xfwm4/custom/<Control><Alt>Down"`<br /> 2) `xfconf-query --create --channel xfce4-keyboard-shortcuts --property "/commands/custom/<Control><Alt>Down" --type string --set 'gedit'`
note if you're binding to key, ubuntu systems treat and equally and you will need to unbind any key bindings with in the above example