Working with the menu.xml file
Working with the menu.xml file
I'm running Precise Puppy 5.4.3 with Openbox. I would like to be able to modify the menu in the lower left hand corner of the panel as well as the menu that appears when I right mouse click. I opened the menu.xml and it looks pretty straight forward when it comes to adding items. but when I save and close the file nothing happens. The menus are not updated. I even tried selecting reconfigure from the Openbox menu.
I understand that there is a GUI way of modifying menus using obmenu. According to Puppy Package Manager, I have obmenu 1.0.2 installed. How do I launch it? I can't see it in any of the menu items. I'd like to try it out although I would much prefer mastering the menu.xml way of modifying the menu.
I understand that there is a GUI way of modifying menus using obmenu. According to Puppy Package Manager, I have obmenu 1.0.2 installed. How do I launch it? I can't see it in any of the menu items. I'd like to try it out although I would much prefer mastering the menu.xml way of modifying the menu.
Start with these Randy.. They should getcha goin..
"How to edit Openbox window manager menus" and "How to change Openbox static menu to dynamic pipe menu"
"How to edit Openbox window manager menus" and "How to change Openbox static menu to dynamic pipe menu"
I think I know why this is happening. Am I right or wrong? I think that you can't modify the menu.xml file and that you must work on a renamed copy of the file instead. Make sense? Just thinking out loud.
Something strange is happening when I modify the menu.xml file and I have verified this in both Puppy 5.2.8 and Precise Puppy 5.4.3. Here is what happens:
I oppen the menu.xml file in Geany. I add a new menu entry, save it, and then Refresh Menu from the Openbox menu. When I right mouse click on the menu, I see the change and then it disappears. When I reopened the menu.xml file, the change I made wasn't in the file. I am really confused as to why this would happen.
Any ideas?
Something strange is happening when I modify the menu.xml file and I have verified this in both Puppy 5.2.8 and Precise Puppy 5.4.3. Here is what happens:
I oppen the menu.xml file in Geany. I add a new menu entry, save it, and then Refresh Menu from the Openbox menu. When I right mouse click on the menu, I see the change and then it disappears. When I reopened the menu.xml file, the change I made wasn't in the file. I am really confused as to why this would happen.
Any ideas?
Re: Working with the menu.xml file
.
Last edited by simargl on Sun 01 Sep 2013, 14:37, edited 1 time in total.
Existing terminal? Forget that! Here's another way c/p can happen.
For Python- go with the 135mb devx download in my previous post.
For Python- go with the 135mb devx download in my previous post.
rmcellig wrote
No mystery there, obmenu-refresh is using what's in /etc/xdg/* (similar to how fixmenus uses the templates for jwm and icewm) to do the main part of the menu, if I recall correctly - whatever direct edit you did in /root/.config/openbox/menu.xml is overwritten. By the way, you can directly edit the top and bottom .xml files for the openbox menu and those changes will stick .. obmenu-refresh will even throw a message up if your syntax/xml-editing is a bit 'off' I use the top part to do my own custom section of the menu for openbox.
Dunno much about pipe/dynamic menus (nifty concept, anyway) nor python (yah, for some stuff it's a requisite). Definitely true the devx may come in handy for lots of stuff.
Have Fun & good luck
ps - regarding your term, by any chance did you try the urxvt-set gui? mileage may vary with that one (personally I tried it once and not my cup of tea).
(old-school xdg nattering)I oppen the menu.xml file in Geany. I add a new menu entry, save it, and then Refresh Menu from the Openbox menu. When I right mouse click on the menu, I see the change and then it disappears. When I reopened the menu.xml file, the change I made wasn't in the file. I am really confused as to why this would happen.
No mystery there, obmenu-refresh is using what's in /etc/xdg/* (similar to how fixmenus uses the templates for jwm and icewm) to do the main part of the menu, if I recall correctly - whatever direct edit you did in /root/.config/openbox/menu.xml is overwritten. By the way, you can directly edit the top and bottom .xml files for the openbox menu and those changes will stick .. obmenu-refresh will even throw a message up if your syntax/xml-editing is a bit 'off' I use the top part to do my own custom section of the menu for openbox.
Dunno much about pipe/dynamic menus (nifty concept, anyway) nor python (yah, for some stuff it's a requisite). Definitely true the devx may come in handy for lots of stuff.
Have Fun & good luck
ps - regarding your term, by any chance did you try the urxvt-set gui? mileage may vary with that one (personally I tried it once and not my cup of tea).