You are not logged in.
I have a 1 line conky that i want to remain at the top of my screen at all times. I set up a margin in openbox to leave enough pixels at the top to comfortably fit the conky. The problem is that when i first boot to my desktop conky is placed below the margin. If i restart X however conky is right where i want it in the margin. Does anyone know how to put conky in the right place the first time?
.conkyrc is setup for top_left placement and theres only a few pixels on the y axis from the top.
I call conky from .xinitrc before openbox
I can't think of any other relevant info but let me know!
Last edited by czar (2008-06-04 01:18:09)
Offline
Replace conky & in .xinitrc with (sleep 3 && conky) &. I think this happens if Conky starts before Openbox, but I am not completely sure.
Stop looking at my signature. It betrays your nature.
Offline
I think that if i do that it will still execute conky before openbox (since sleeping would stop the entire .xinitrc not just conky i think, i'll check) but i'll use your idea and try to execute conky from openbox autostart instead. Thanks for the input ![]()
Offline
The function created with the brackets, combined with the ampersand, puts the whole sequence in the background, so .xinitrc will not stop being parsed for that whole time.
Don't worry, the guy knows what he's talking about...
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Do you have this line in your .conkyrc
own_window_type desktop?
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
The function created with the brackets, combined with the ampersand, puts the whole sequence in the background, so .xinitrc will not stop being parsed for that whole time.
Don't worry, the guy knows what he's talking about...
thanks for clearing that up. I read the parenthesis as English not as code. sorry for doubting you redroar!
And moljac, i'll check that out when i get home, thanks.
Last edited by czar (2008-06-02 17:54:29)
Offline
I should have put it in a
(sleep 3 && conky) &so it could've been read more easily. I see how the parentheses were seen as a way of separating it from the sentence, and not as the code itself.
Stop looking at my signature. It betrays your nature.
Offline
If you don't set conky's window type to be of "desktop", openbox will treat it as any other application, hence forbidding it to cross your margins.
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
That's assuming it has it's own window, of course. I ran mine without a window for a while, but it seems better behaved with the desktop type window.
I'm just thinking that since it works when he restarts X, it's just some weird thing with the loading order.
Stop looking at my signature. It betrays your nature.
Offline
It was the own_window_type desktop. Thanks for helpin me out guys. It is peculiar that its fixed by restarting X tho.
Offline
Great thread.
A lot of brainpower condensed into a short space...I like that!
Offline
Do you have this line in your .conkyrc
own_window_type desktop?
EXCELLENT!!! Thank you so much, I had a similar problem, and that worked perfectly ![]()
THANKS! ![]()
Offline