You are not logged in.
Pages: 1
I'm trying to setup a keyboard shortcut that will open a terminal when I press Ctrl-Alt-t. Here is my ~/.config/openbox/lxde-rc.xml file...
<keyboard>
<keybind key="C-A-t">
<action name="Execute">
<command>xterm</command>
</action>
</keybind>
</keyboard>I edited this and ran openbox --reconfigure but the keybinding does not work. Any ideas?
Last edited by necbot (2013-12-11 02:40:50)
Offline
Why did you call it "lxde-rc.xml"? It should be "rc.xml". Is it symlinked?
Offline
I'm trying to setup a keyboard shortcut that will open a terminal when I press Ctrl-Alt-t. Here is my ~/.config/openbox/lxde-rc.xml file...
<keyboard> <keybind key="C-A-t"> <action name="Execute"> <command>xterm</command> </action> </keybind> </keyboard>I edited this and ran openbox --reconfigure but the keybinding does not work. Any ideas?
I entered the same commands you did into ~/.config/openbox/lxde-rc.xml and the command worked.
Is it possible you have another command with the same keybinding overriding this command?
Why did you call it "lxde-rc.xml"? It should be "rc.xml". Is it symlinked?
I have both lxde-rc.xml and rc.xml and they are not symlinked. When I edited rc.xml with the same
command it did not work. I think lxde uses lxde-rc.xml and not rc.xml.
Maybe lxde will fall back to rc.xml if there is no lxde-rc.xml, but I have not tried that.
I have separate settings in rc.xml when I just want to run openbox standalone.
We wants it, we needs it. Must have the precious. Arch Linux.
Offline
alezost wrote:Why did you call it "lxde-rc.xml"? It should be "rc.xml". Is it symlinked?
I have both lxde-rc.xml and rc.xml and they are not symlinked. When I edited rc.xml with the same
command it did not work. I think lxde uses lxde-rc.xml and not rc.xml.
Oh yes, i didn't even thought about that. Apparently LXDE runs
openbox --config-file ...Here is my ~/.config/openbox/lxde-rc.xml file...
It sounds like that's your whole config file (surely not?).
As that keybinding works, the last guess is (sorry for that): do you have xterm installed?
Offline
Why did you call it "lxde-rc.xml"? It should be "rc.xml". Is it symlinked?
Yes rc.xml is symlinked to lxde-rc.xml. I read that lxde-rc.xml is used by default but that I should symlink to it with a symlink named rc.xml
It sounds like that's your whole config file (surely not?).
As that keybinding works, the last guess is (sorry for that): do you have xterm installed?
Is it possible you have another command with the same keybinding overriding this command?
Yes, this is my whole lxde-rc.xml file. The installation of lxde did not make one so I created a file and added these lines to it. Xtem is installed. When I hit Ctrl-Alt-t nothing happens. I don't think Ctrl-Alt-t is a keybinding to another command because Ctrl-Alt-t appears to do nothing.
Last edited by necbot (2013-12-08 18:13:31)
Offline
Perhaps you are missing some lines? I would try copying over the default openbox rc.xml from /etc/xdg/openbox/ and try again.
Offline
You are dealing with XML files... might help to declare them as such...
<!-- add this header -->
<?xml version="1.0" encoding="UTF-8"?>
<openbox_config xmlns="http://openbox.org/3.4/rc">
<!-- your keybindings -->
<keyboard>
<keybind key="C-A-t">
<action name="Execute">
<command>xterm</command>
</action>
</keybind>
</keyboard>
<!-- add this footer -->
</openbox_config>Offline
You are dealing with XML files... might help to declare them as such...
Yup, that was it. Solved. I should have copied the example in /etc/xdg/openbox/rc.xml as anonymous_user said, I simply wasn't aware that file existed. Thanks!
Offline
Pages: 1