[openbox] slit order

Mikael Magnusson mangosoft at comhem.se
Sun Oct 1 16:44:09 EDT 2006


On Mon, 2 Oct 2006, Victor I Kargin wrote:

> Kre?imir ?pes wrote:
>> I'm loading several dockaps through a bash script that gdm starts,
>>
>> example: wmCalendar && wmcube && wmclockmon && wmsmixer && exec openbox
>>
>> however, every time my openbox session starts ,these apps load in
>> diferent order :(
>>
>> is there a way to set up locations of each dock app in the slit?
>>
>>
>> Cheers,
>> Kreso
>>
>
> There is no way to set it through openbox, but You can try this in your
> .xinitrc or .xsession :
> ----------------8<--------------
> wmcpuload &
> sleep 1
> wmnetload -i eth0 &
> sleep 1
> wmmaiload &
> sleep 1
> wmCalClock &
> exec openbox
> --------------->8---------------
>
> But there is two problems: it takes more time to start your X session
> and if some application like wmmaiload needs to connect to server, and
> doesn't get responce in time, it appears later.
>
> 				Best regards, Victor

A better way is the following,

openbox & wmpid=$!
wmcpuload &
sleep 1
wmnetload -i eth0 &
sleep 1
etc commands and whatever
wait $wmpid

--
Mikael Magnusson



More information about the openbox mailing list