Lubuntu Hotkeys / Keybindings

Posted: Sunday, May 6, 2012 | Posted by Aaron Hampshire | Labels: ,
Lubuntu 11.04 onwards.
There is no easy GUI shipped with Lubuntu for editing hotkeys. The easiest way to create key bindings for Lubuntu is by opening the terminal and pasting in the following code.
sudo leafpad ~/.config/openbox/lubuntu-rc.xml
This will open the hotkey configuration editor. At this point, you will need to search for the item you wish to edit. The following will help with some of the key codes:
C - Control Key
A - Alt Key
S - Shift Key
W - Super/Windows Key
Tab - Tab
Up - Up Arrow
Down - Down Arrow
Left - Left Arrow
Right - Right Arrow
Here's an example which binds Firefox to the key SUPER+f:
<keybind key="W-f">
    <action name="Execute">
        <command>firefox</command>
    </action>
</keybind>
Have fun...
Did you find this post helpful? Subscribe to our RSS feed and stay connected with Lubuntu Tips!

0 comments:

Post a Comment