[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] Run dialog
From:       mangosoft () comhem ! se (Mikael Magnusson)
Date:       2006-06-14 21:09:47
Message-ID: Pine.LNX.4.64.0606142308280.29483 () localhost
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic