View previous topic :: View next topic |
Author |
Message |
aleron n00b
Joined: 07 Jul 2007 Posts: 33
|
Posted: Wed Oct 03, 2007 4:08 pm Post subject: delaying conky startup [solved] |
|
|
I'm trying to run conky automatically when I start xwindows, but if I put it in my session profile (I'm using gnome), it gets started before the desktop background image is loaded. Unfortunately when this happens it's no longer visible, and I have to kill it and manually restart it. How can I run conky when I start xwindows, but with a delay? _________________ The door resists!
Last edited by aleron on Fri Oct 05, 2007 2:11 pm; edited 1 time in total |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Wed Oct 03, 2007 4:15 pm Post subject: |
|
|
You could use something like `(sleep 2 && conky) &`, I remember using something like that before for the same thing. _________________ "You have to invite me in" |
|
Back to top |
|
|
aleron n00b
Joined: 07 Jul 2007 Posts: 33
|
Posted: Wed Oct 03, 2007 7:25 pm Post subject: |
|
|
Awesome, thanks. _________________ The door resists! |
|
Back to top |
|
|
aleron n00b
Joined: 07 Jul 2007 Posts: 33
|
Posted: Fri Oct 05, 2007 1:57 pm Post subject: |
|
|
When I throw it in the session properties as the conky command, it doesn't start up (I'm assuming the && is throwing it off). Where else could I put the command other than gnome-session-properties?
edit:
Nevermind, I just threw it in a sh script and gave the script as the command to gnome-session-properties and it works fine. _________________ The door resists! |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6053 Location: Removed by Neddy
|
Posted: Fri Oct 05, 2007 4:20 pm Post subject: |
|
|
gnome-session-proporties provides you with the option to "priorities" starting apps
However... I dont' get my background being over-written???
what is yr conky file, you are probably missing an option (to be more gnome-friendy) _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
aleron n00b
Joined: 07 Jul 2007 Posts: 33
|
Posted: Wed Oct 10, 2007 12:06 pm Post subject: |
|
|
Here are the relevant portions of my .conkrc file (I'm using gnome btw, which is why I have to have the options like this):
Code: | own_window_transparent yes
own_window_type override
own_window yes
double_buffer yes |
Again, this is only an issue if conky starts before the desktop background gets loaded. If I manually start conky, or use a script with a delay like I am now so that it starts after the background is loaded, it's a non-issue. I'm sure this behavior is related to the fact that I'm using the transparent option, which causes conky to use the relevant portion of the desktop background as it's background (to simulate transparency). Maybe conky is getting a handle to a display resource for the background (or something akin to acquiring the desktop's HDC on a win32 system) which might not be valid after the background image gets loaded.
Either way, the problem is solved for me. Now if I could only find a conky developer so I can figure how to get the mouse click coordinate translation issue fixed. _________________ The door resists! |
|
Back to top |
|
|
Knute Guru
Joined: 28 Jun 2004 Posts: 362 Location: Fargo, ND
|
Posted: Wed Oct 10, 2007 9:40 pm Post subject: |
|
|
So what happens if you set the "own_window_type" to desktop? _________________ Knute
----------
The human race has one really effective weapon, and that is laughter.
-- Mark Twain
If you want proof of that, take a look at windows sometime. |
|
Back to top |
|
|
|