Openbox keybindings not taking effect after --reconfigure or restarting X
15,681
Solution 1
There is also
$ openbox --restart
Since it was not mentioned yet, I will do it.
This will not restart X as well.
Presumably --restart
is "more powerful" than --reconfigure
.
Solution 2
On LXDE ~/.config/openbox/lxde-rc.xml
config is used instead.
To check how openbox was started you can do:
$ ps ax | grep openbox
2109 ? S 0:29 openbox --config-file /home/marcin/.config/openbox/lxde-rc.xml
Related videos on Youtube
Author by
Randall Ma
Updated on September 18, 2022Comments
-
Randall Ma almost 2 years
273 <keybind key="W-Return"> 274 <action name="Execute"> 275 <command>lxterminal</command> 276 </action> 277 </keybind> 278 <keybind key="W-Up"> 279 <action name="ToggleMaximizeFull"/> 280 </keybind> 281 <keybind key="W-Left"> 282 <action name="MoveToEdgeWest"/> 283 </keybind> 284 <keybind key="W-Right"> 285 <action name="MoveToEdgeEast"/> 286 </keybind>
I added these lines in between the default last
</keybind>
and</keyboard>
in my~/.config/openbox/rc.xml
file (the line numbers are from vim). However, neither restarting X nor issuing anopenbox --reconfigure
applies these settings.What am I doing wrong? I'm using Arch with all the default LXDE packages.
-
daisy almost 12 yearsDid you receive any error dialog ? If so, the configure xml file is malformed
-
jasonwryan almost 12 yearsPastebin and link to the complete
rc.xml
- a fragment is not that useful...
-
-
Randall Ma almost 12 yearsThat is where it is; I made a typo in the OP.
-
pedrosaurio almost 12 yearsDoes it work now? If yes, you can mark the answer as the correct one.
-
Randall Ma almost 12 yearsNope. Nevertheless, I've gone ahead and switched to xfwm4, but if this question accumulates more answers I'll go and test them. Thanks for your help.
-
golimar over 5 yearsDoes this close the running GUI applications?
-
LuxZg over 3 yearsTo answer question in comment, it did not restart my GUI browser on openbox restart.
-
Timo about 3 yearson
lxqt
it islxqt-rc.xml
. btw you can either usea
orx
flag withps