You are not logged in.

#1 2008-11-15 23:28:11

chris_ak
Member
Registered: 2008-03-25
Posts: 64

trayer only on one desktop in openbox (SOLVED)

Hey everyone,
I'm having a little trouble with trayer.  It's only showing up on my first desktop.  This was not a problem before and I've twisting my brain trying to remember if I changed anything that would have caused this - and I cannot.  I use .xinitrc to launch openbox, trayer etc. so I'll post that.  Any help is appreciated! 

Thanks!

# Executed by startx (run your window manager from here)
#
# exec ion
# exec wmaker
#exec enlightenment_start
# exec startkde
# exec icewm
# exec blackbox
#exec gnome-session 
# exec startfluxbo
nitrogen --restore &
#exec xbindkeys & 
~/.conky_start.sh &
export OOO_FORCE_DESKTOP=gnome & 
xcompmgr -cC -t-3 -l-5 -r5 -I0.02 -O0.03 -D4 -fF &
# exec pypanel &
tint &
trayer --transparent true --alpha 255 --edge bottom --align right --widthtype request --heighttype pixel --height 22 &
#exec devilspie
exec openbox
#exec awesome

Last edited by chris_ak (2008-11-16 05:21:25)

Offline

#2 2008-11-15 23:44:45

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: trayer only on one desktop in openbox (SOLVED)

Try to put a sleep time to trayer it need to be started after openbox (uhh... actually this is a experimental fact, that happened to me ^__^'), e.g. with something like

(sleep 3 && trayer...)&

Offline

#3 2008-11-16 04:56:35

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: trayer only on one desktop in openbox (SOLVED)

I believe that adding the following option will enable a persistent tray:

trayer --SetDockType true

thayer williams ~ cinderwick.ca

Offline

#4 2008-11-16 05:21:08

chris_ak
Member
Registered: 2008-03-25
Posts: 64

Re: trayer only on one desktop in openbox (SOLVED)

kazuo wrote:

Try to put a sleep time to trayer it need to be started after openbox (uhh... actually this is a experimental fact, that happened to me ^__^'), e.g. with something like

(sleep 3 && trayer...)&

This one seems to have worked.  Thayer, I tried your suggestion but my problem did not seem to go away.

Thanks to both of you though smile

Offline

#5 2008-11-16 10:11:29

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: trayer only on one desktop in openbox (SOLVED)

If you want to spare those three seconds, I am confident that the following lines in the applications section of the openbox configuration file should work:

      <application name="trayer">
        <desktop>all</desktop>
      </application>

Check the right "name": the first element of WM_CLASS in the output of xprop for trayer.


Mortuus in anima, curam gero cutis

Offline

#6 2008-11-16 21:17:51

chris_ak
Member
Registered: 2008-03-25
Posts: 64

Re: trayer only on one desktop in openbox (SOLVED)

patroclo7 wrote:

If you want to spare those three seconds, I am confident that the following lines in the applications section of the openbox configuration file should work:

      <application name="trayer">
        <desktop>all</desktop>
      </application>

Check the right "name": the first element of WM_CLASS in the output of xprop for trayer.

You were correct, that worked as well without having to put in the launch delay.  I would consider that the more practical solution.  Thanks!

Offline

Board footer

Powered by FluxBB