[openbox] Focus application after autostarting it
dana at orodu.net
Wed Dec 15 15:13:59 EST 2010
On Tue, Dec 14, 2010 at 7:24 PM, <meino.cramer at gmx.de> wrote:
> via autostart.sh I start my mailer each time I log in.
> Unfortunately the window remains without getting the focus.
> My autostart looks this way:
> #! /bin/zsh
> /usr/bin/fetchmail > /dev/nulll 2>&1 &
> /usr/bin/devilspie &
> /usr/bin/conky -c ~/.conkyrcA37 &
> /usr/bin/feh --bg-scale .background/obox-simplicity-1600x1200.png &
> /usr/bin/unclutter &
> /usr/bin/lxpanel &
> /usr/local/bin/muttstart &
> It is a little annoying -- since mutt is keyboard-/text-based -- to
> first have to click the window with the mouse to be able to use it.
> Is there a way to give the focus to mutt (muttstart is a script to
> start mutt) via the autostart script even if other applications ends
> there startup later?
> How can I force a certain begin and end of the startup of the given
You can use a session manager and save your session in the exact state
you'd like to boot into. Openbox will remember which windows were not
Or you can do some hack with wmctrl probably to focus it after a delay.
> Thank you very much in advance for any help!
> Best regards,
> openbox mailing list
> openbox at icculus.org
More information about the openbox