[openbox] two commands with one execution

Matthew Graybosch mgraybosch at starbreaker.net
Wed Jan 21 11:58:30 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian Timmer wrote:
| Hi,
|
| I want to execute this two commands within one menuentry:
|
| gnome-terminal -e BitchX; wmctrl -r Terminal -N bitchx
|
| If I type this in a terminal it works great, but not inside the
| openbox-menu.
|
| <item label="bitchx">
|     <action name="Execute"><execute>gnome-terminal -e BitchX; wmctrl -r
| Terminal -N bitchx</execute></action>
| </item>
|
| Does anybody knows a solution for that or do I have to write a script
| with two sentences (three with #!/bin/bash)?

Have you tried two separate <action> entries within the one <item>? I
remember somebody asking a similar question about binding two commands
to one key, and that was the answer given.

- --
Matthew Graybosch
http://www.starbreaker.net
I like the finer things in life:
	sex, chocolate, and rock 'n roll.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFADq+2oVVsz4FhMfkRAu5hAJ49If9jAPRrBqqynE2qtMqp5LSh0gCglETx
ADG95HatKr6Oxwn2JmkeFmw=
=UY/7
-----END PGP SIGNATURE-----



More information about the openbox mailing list