[openbox] Specifying desktop in autostart.sh

vlad vla at uni-bonn.de
Sun Aug 23 13:51:22 EDT 2009


hi andrew,

On Sun, Aug 23, 2009 at 05:03:09PM +0000, Andrew Ho wrote:
> Hi,
> 
> I'm trying to have a couple of applications start at the beginning
> of an openbox session in a particular desktop.  I'm running openbox
> as openbox-session (i.e. autostart.sh is where I'm specifying
> commands).  What I want is to start two terminal emulators (urxvt),
> one in the desktop 2 and one in desktop 3.
> 
> Is this possible?  I've done a lot of fruitless searching, but
> surely this can't be that unusual a setup?
this is done through the application tags in rc.xml:
http://icculus.org/openbox/index.php/Help:Applications
first in your autostart.sh:
"
urxvt -T first_urxvt
urxvt -T second_urxvt
"

then in your rc.xml:
"
<applications>
    <application name="first_urxvt">
        <desktop>2</desktop>
    </application>
    <application name="second_urxvt">
        <desktop>3</desktop>
    </application>
</applications>
"

hope this helps,
vlad

-- 


More information about the openbox mailing list