Can't create custom menu.xml for openbox
I've got Openbox 3 running on this old laptop and its performing well. I'm trying to make my own menu.xml file, but whenever I save the file to ~/.config/openbox/ and then restart OB, the right click menu doesn't even appear.
I'm running the latest ubuntu. My xml is as follows Code:
<openbox_menu> |
You may need this at the begining;
<?xml version="1.0" encoding="UTF-8"?> <openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/menu.xsd"> or something like it,I don't use Ubuntu,good luck |
Thanks comprookie2000
I added that and saved as menu.xml Now the menu comes up when I right click, but its still the default openbox menu, so its not reading menu.xml. Any other suggestions? |
Did you copy the system config to $HOME/.config/openbox/
Check this out; http://icculus.org/openbox/docs.php |
Is that rc.xml? If so, thats there.
Code:
<?xml version="1.0" encoding="UTF-8"?> |
Not sure but you can try to comment this out and see what happens;
#<file>/var/lib/openbox/debian-menu.xml</file> #<file>debian-menu.xml</file> if it doesn't work ,just uncomment it and we will look some more and read those doc's may have missed something... |
I stumbled on this old thread when I was googling for a solution to the same problem. Thought I'd just post the solution to my problem (I'm almost 100% certain that the OP had the same problem) for anyone else who might google up this thread.
In the menu.xml file (at the beginning of the file) there is something called "id" and one should enter something here to define "id". This should be a unique identifier. In the rc.xml file (the main configuration file for openbox) there is an action called "show menu" and this should contain the unique identifier specified in "id". If it does not it will not show the menu (as ob interprets it to be the wrong menu). The default files of course refers to each other so a default rc.xml gives you a default menu.xml. /CZ |
All times are GMT -5. The time now is 11:49 PM. |