You are not logged in.
I'm now using openbox-session only.
I'd like to run a program after something was done correctly:
zenity --question && killall openbox
I used "obmenu" and it seems that it fixes & to & correctly in the menu.xml.
However, the previous command "zenity" is run only.
In terminal, there's no problem, but it doesn't work with "command" in openbox menu.
<item label="Exit">
<action name="Execute">
<execute>
zenity --question --title="Exit" --text="Are you sure to go back to console?" && killall openbox
</execute>
</action>
</item>
Please, give me any idea. Thank you.
Last edited by mairoo (2009-09-09 10:06:17)
지금 나 뭐하고 있어?
บ้าๆๆๆๆๆๆๆๆๆๆ อะไรก็ไม่รู้
Offline
I don't know if there is a solution in menu.xml. I got around several problems like this building a small script in my ~/bin and calling this from the menu.
Last edited by bernarcher (2009-09-09 09:07:29)
To know or not to know ...
... the questions remain forever.
Offline
You'll need to use a shell explicitly:
<execute>
sh -c 'command1 && command2'
</execute>
Offline
You'll need to use a shell explicitly:
<execute> sh -c 'command1 && command2' </execute>
I flagged "solved" thanks to your help. It works good. Thank you.
지금 나 뭐하고 있어?
บ้าๆๆๆๆๆๆๆๆๆๆ อะไรก็ไม่รู้
Offline