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

List:       openbox
Subject:    [openbox] can I save the order of dockapps in the slit?
From:       rumpole () frys ! com (brian)
Date:       2003-04-09 4:50:48
Message-ID: 3E93A6A8.6090304 () frys ! com
[Download RAW message or body]

 > 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



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

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