[openbox] Run dialog
Mikael Magnusson
mangosoft at comhem.se
Wed Jun 14 17:09:47 EDT 2006
On Wed, 14 Jun 2006, Daniel Pavel wrote:
> Hello,
>
> I used to have gmrun as well, but considering Mikael's idea came up
> with this setup working with bash:
>
> rc.xml:
> ------8<------
> ...
> <keybind key="W-r">
> <action name="execute"><execute>xterm -geometry 100x5+335+446 -e
> bash --init-file ~/.bashrc_one</execute></action>
> </keybind>
> ...
> ------8<------
>
> ~/.bashrc_one:
> ------8<------
> source ~/.bashrc
> set -t
> ------8<------
>
> And that's about it.
My zsh code forks and exits immediately, while your bash version doesn't
exit until the command is done (so you have to add a & at the end of the
command).
> Cheers,
> -pwr
--
Mikael Magnusson
More information about the openbox
mailing list