[openbox] can I save the order of dockapps in the slit?
brian
rumpole at frys.com
Wed Apr 9 00:50:48 EDT 2003
> On Dec 15, 2002, Jon wrote:
> >
> > I am quite new to Linux and window managers. I have got a few dockapps
> > going that start in ~/.xinitrc. I am wondering whether I can set the
> > order in which these apps appear in the slit? All I know is that they
> > don't load in the same order they are listed in .xinitrc. I
searched for
> > this but only found that fluxbox can do it.
>
> A colleague of mine wrote this script I use personally. Maybe something
> more generic but similar should be included in the Openbox distribution?
Or, another kludge;
#!/bin/sh
# Wait upto 2 seconds for a window to appear
if [ -z $1 ]; then
echo "usage: wintit window-title"
exit;
fi
until
xwininfo -name $1 >/dev/null 2>&1;
do sleep 0.1 ; let x=++x; if [ $x = 20 ]; then break; fi
done
Run this after each dockapp.
brian
More information about the openbox
mailing list