You are not logged in.
I recently switched my desktop environment to openbox, and have conky running on the desktop. When I first boot the computer and log in for the first time, the conky window displays on top of all other windows, as seen in the screenshot below. The conky configuration is set to have it sit underneath them.
If I kill conky and restart it, it sits underneath open windows as configured. The same happens if I log out and re-log in. I've tried delaying the time before autoloading conky into openbox, but it has no effect. Any ideas?
Uploaded with ImageShack.us
Last edited by beretta (2010-05-04 16:45:48)
Offline
The easiest for me is to force conky to be on the bottom level of workplace in openbox.
Add something like this in your rc.xml
<application name="conky">
<layer>below</layer>
</application>
Last edited by Coacher (2010-05-03 20:55:39)
Yeah, I already tried that:
rc.xml:
722 <application name="Conky">
723 <decor>no</decor>
724 <desktop>all</desktop>
725 <layer>below</layer>
726 <skip_taskbar>yes</skip_taskbar>
727 </application>
Offline
Show me how do you run conky at startup? Should be smth like this in autostart.sh
conky &
Last edited by Coacher (2010-05-04 05:46:57)
Yeah, I already tried that:
rc.xml:
722 <application name="Conky"> 723 <decor>no</decor> 724 <desktop>all</desktop> 725 <layer>below</layer> 726 <skip_taskbar>yes</skip_taskbar> 727 </application>
I'm not sure if it matters, but you could try using a lowercase c:
<application name="conky">
#!/vim/rocks
Offline
Here's how it's called in autostart:
46 nitrogen --restore &
47 xcompmgr -c -t-5 -l-5 -r4.2 -o.55 -f &
48 dispwin /home/david/.config/color/Spyder2express.icm &
49 cairo-dock -o &
50 tint2 &
51 conky &
At one time I had put in a sleep command to see if that helped; it didn't. I also noticed the capital C, but changing that didn't have any effect. It's kind of strange, and like I said it only happens the first time I log in after booting. Logging out and back in fixes it, killing the process and restarting it fixes it. Maybe I just do a less-clean fix and start it, kill it, and restart it in autostart? Something tells me there has to be something else causing this.
Offline
You can try running obxprop on your Conky window to ensure that the "name" attribute in your rc.xml is correct.
On my system, I see the following (excerpt):
_OB_APP_CLASS(UTF8_STRING) = "Conky"
_OB_APP_NAME(UTF8_STRING) = "Conky"
In other words, you can try name="Conky" or class="Conky" (or both). (I was incorrect earlier about the case of the c, at least on my system.)
Edit:
Perhaps try running obxprop both on the first-run Conky instance and then on a later instance to see if something changes. It shouldn't (meaning that this isn't the problem), but it's something to check.
Last edited by ssjlegendx (2010-05-04 13:44:24)
#!/vim/rocks
Offline
Did you put the sleep in the autostart or a shell script called from autostart ?
On my openbox, it works fine and I have a shell script with something like :
sleep 5
conky
Offline
Did you put the sleep in the autostart or a shell script called from autostart ?
On my openbox, it works fine and I have a shell script with something like :
sleep 5
conky
using wrapper like xamaco said should help
The script fixed it-- I wonder why the sleep needs to be in a wrapper rather than in the autostart script? Thanks-- that problem can stop bugging me now.
Offline
Because the sleep stop all the autostart script, so it have no effect? I think...
I use
(sleep 4 && conky -c /home/kazuo/.conkyrc) &
Offline
Because the sleep stop all the autostart script, so it have no effect? I think...
I use(sleep 4 && conky -c /home/kazuo/.conkyrc) &
Yes, and your solution is much more elegant...
Offline