Results 1 to 1 of 1
Hi folks,
I've written a small script to generate a menu structure which list my pdf files from a specific directory. The script itself works fine, also when I run ...
- 07-17-2010 #1Just Joined!
- Join Date
- Jul 2010
- Location
- Germany
- Posts
- 1
[SOLVED] Problem with Openbox pipe menus
Hi folks,
I've written a small script to generate a menu structure which list my pdf files from a specific directory. The script itself works fine, also when I run it manually and copy the generated XML to the menu file myself it works fine, but it doesn't work when it is run by openbox (and yes, it is run, I've touched a file from within the script to verify this). Openbox simply creates an empty menu instead of interpreting the output of my script.
Here is my menu.xml:
PS: yes the script is executableCode:<menu id="root-menu" label="Openbox 3"> <separator label="Applications" /> <menu id="apps-accessories-menu"/> <menu id="apps-editors-menu"/> <menu id="apps-graphics-menu"/> <menu id="apps-net-menu"/> <menu id="apps-office-menu"/> <menu id="apps-multimedia-menu"/> <menu id="apps-term-menu"/> <menu id="apps-fileman-menu"/> <separator label="System" /> <menu id="system-menu"/> <separator /> <item label="Log Out"> <action name="Exit"> <prompt>no</prompt> </action> </item> <!-- <menu id="pdf-menu" /> --> <menu id="pdf-menu" label="pdfs" execute="/path/to/script/pdfs.pl" /> </menu>
PPS: I wasn't sure about which sub forum to pick, I hope this is fine.
[EDIT] PPPS: It works now, I didn't begin with <openbox_pipe_menu> and end with </openbox_pipe_menu> as I was 100% sure that a previous version I had been tinkering with worked without that, so I assumed that it was obsolete syntax.
Oh well, it works and I'm happy
Last edited by Nathanael; 07-17-2010 at 06:50 PM. Reason: solved


