LXDE is not a window manager on its own. It uses the keyboard shortcuts of the window manager it is associated with. It could be compiz, metacity, kwin, whichever you start - but by default, it will be openbox. I don't know a GUI tool to define keyboard shortcuts for openbox - it doesn't mean that there isn't any - but it is not difficult to write keyboard shortcuts manually. They are saved in the file ~/.config/openbox/rc.xml that you can edit with a text editor (I guess leafpad is installed with LXDE). I recommend making a backup of this file before changing it.
Code:
cd ~/.config/openbox
cp rc.xml{,.org}
leafpad rc.xml
Of course you can use any plain text editor you like.
As the name indicates, this is a xml file. You'll find a section starting with
amd ending with
Inside this section, you can define <keybind> entries to start applications.
Some examples:
Code:
<!-- Keybindings for running applications -->
<! -- start sylpheed, an email program, with the EMail special key (most keyboards have this key) -->
<keybind key="XF86Mail">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Mail</name>
</startupnotify>
<command>sylpheed</command>
</action>
</keybind>
<! -- start firefox, with the home special key (most keyboards have this key) -->
<keybind key="XF86HomePage">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Homepage</name>
</startupnotify>
<command>firefox</command>
</action>
</keybind>
<! -- start chromium, with the search special key (most keyboards have this key) -->
<keybind key="XF86Search">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Search</name>
</startupnotify>
<command>chromium</command>
</action>
</keybind>
<! -- start firefox with CTRL-ALT-F -->
<keybind key="C-M-f">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Firefox</name>
</startupnotify>
<command>firefox</command>
</action>
</keybind>
<! -- start chromium with CTRL-ALT-C -->
<keybind key="C-M-c">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>chromium</name>
</startupnotify>
<command>chromium</command>
</action>
</keybind>
<! -- start LXDE terminal whith ALT-F12 -->
<keybind key="A-F12">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>LXTerminal</name>
</startupnotify>
<command>lxterminal --geometry=152x60</command>
</action>
</keybind>
<! -- raise,lower,mute sound volume with amixer -->
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>AudioRaiseVolume</name>
</startupnotify>
<command>amixer set Master 10%+ -q</command>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>AudioLowerVolume</name>
</startupnotify>
<command>amixer set Master 10%- -q</command>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>AudioMute</name>
</startupnotify>
<command>amixer set Master toggle -q</command>
</action>
</keybind>
You don't need the comments in grey. The shortcuts will be available at next login.
Bookmarks