Friday, February 14, 2014

XFCE 4.10 - Add shortcut keys by command line

There is something wrong with the XFCE version 4.10. I cannot add shortcut key to launch an application. Luckily, I can do it using xfconf-query command. For example, to create a shortcut to launch the Whisker Menu by pressing the Super key (windows key):

xfconf-query --channel xfce4-keyboard-shortcuts --property "/commands/custom/Super_L" --create --type string --set "xfce4-popup-whiskermenu"

You can change the keyboard directly by editing the xml file: