Michèle S.
Michèle S.

Reputation: 314

Key Bindings in LXDE (Debian)

I decided to use LXDE as my Desktop Environment, and I am very happy. The only problem are the keybindings, they don't work for me. I want to open an xterm by pressing CTRL+ALT+x, so i editet the ~/.config/openbox/lxde-rc.xml. I added the following entry:

304     <keybind key="C-A-x">
305         <action name="xterm">
306             <command>xterm -fg green -bg black</command>
307         </action>
308     </keybind>

After that I typed:

openbox --reconfigure

But the Key-Binding doesn't work :(

Upvotes: 2

Views: 3942

Answers (3)

Bruce_Moustache
Bruce_Moustache

Reputation: 1

the openbox don't recognize the "xterm" action. You must change it to "Execute" which will execute the command the you put just like the terminal. I have that same trouble Good luck! :)

code

Upvotes: 0

Adam
Adam

Reputation: 345

The action name is not just a name that you give it, but a predefined action. See the documentation for details, but to run a command you need to change the action name to 'Execute'

Upvotes: 2

joonoro
joonoro

Reputation: 80

There's no such action as "xterm", so you want to replace <action name="xterm"> with <action name="command">. This makes it so that Openbox/LXDE knows you want to execute the command you have on the next line. Here is a full list of all actions you can use in Openbox (Openbox is the default window manager for LXDE):

http://openbox.org/wiki/Help:Actions

Upvotes: 0

Related Questions