You are not logged in.

#1 2011-08-03 13:46:43

anitac
Member
Registered: 2011-06-15
Posts: 25

[Solved] Openbox - script not working as pipemenu

I am trying to get this scipt to work as a pipemenu: http://openbox.org/wiki/Openbox:Pipemenus:Date_Menu

It works fine in urxvt but this is what happens when I edit menu.xml: http://www.imagebam.com/image/5662a9143366447

I have saved date-menu.sh to my home folder, made it executable and added these lines to menu.xml:

<menu id="date" label="Calendar" execute="/home/anita/date-menu.sh" />
<menu id="date"/>

Last edited by anitac (2011-08-03 14:23:58)

Offline

#2 2011-08-03 14:02:02

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [Solved] Openbox - script not working as pipemenu

Do you have this at the end

<menu id="date"/>

?
It shouldn't be there. It gives you two menus with same id whereof the last one is wrong.

Last edited by swanson (2011-08-03 14:04:13)

Offline

#3 2011-08-03 14:18:21

anitac
Member
Registered: 2011-06-15
Posts: 25

Re: [Solved] Openbox - script not working as pipemenu

Thank you. I was copying the layout of another menu entry that I guess I should not have.

It still did not work though, until I removed EOFMENU from the bottom of the script.

Last edited by anitac (2011-08-03 14:20:03)

Offline

Board footer

Powered by FluxBB