Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a conky setup that I've used on a number of desktops (here's the conkyrc). It works fine in Ubuntu Unity, XFCE, Gnome and Openbox, but not Lubuntu (LXDE). The problem is that I cannot get it to stay on the Lubuntu LXDE desktop reliably. Either the conky window disappears if I click the desktop or if I minimize all windows (show desktop).

I've tried all variations in the configuration file for "own_window", "own_window_colour", "own_window_transparent" and "own_window_type" and have Googled quite a bit to resolve this. If it edit the conkyrc file and set the own_window_type to "normal", conky disappears if I minimize all windows. If I set it to "desktop" it disappears if I click anywhere on the desktop. If I use "override" it doesn't display at all. And the other options don't work well for obvious reasons.

On another Ubuntu Unity install I had a similar problem, but got around it by using Compiz Config Settings Manager to ignore my conky window. On my netbook Lubuntu install I don't have compiz installed.

How can I get conky to stay on my desktop.

share|improve this question
1  
Conky doesn't seem to play well with Openbox. – Uri Herrera Aug 29 '12 at 8:06
Did you try the "panel" mode?.. BTW I also have similar problems with conky under Unity; can you please tell me how you used Compiz Config Settings Manager to ignore conky window? – Sadi Mar 7 at 6:35
1  
Sadi: The following conky setting should normally work for Unity: own_window yes own_window_transparent yes own_window_type normal own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager If you have problems with compiz (and weird shadows), use Compiz Config settings manager to set the following: * Under "Window Decoration" area, set the "Shadow windows" field to any & !(name=Conky) Note that panel mode is intended to let conky behave like a panel. This means that normally windows won't cover it and it should only be docked to the side of your screen. This isn't what I wanted. – aspersieman Mar 8 at 8:25

5 Answers

up vote 7 down vote accepted

Seems like setting window type to desktop is not enough sometimes.

Try:

own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

Got it from here.

Works for me in XFCE. I'm guessing it'll be fine for lxde/openbox as well.

share|improve this answer

You could try to add a script that executes on startup.

For example:

#!/bin/bash
conky ;

(don't forget to chmod +x it ;)

share|improve this answer
Thanks for your answer. Unfortunately though, I've already tried this and it doesn't change anything. I've even tried to make it sleep for a few seconds. Any other suggestions? – aspersieman Aug 29 '12 at 8:21
sorry dude no other suggestion. i have solved mine this way but if i remember correctly i was using gnome. – user981916 Aug 29 '12 at 9:18
No worries. Thanks for your help though. – aspersieman Aug 29 '12 at 9:22

This config works, on Gnome and Cinnamon and is the way to do it.

own_window yes
own_window_transparent yes
own_window_type dock
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
own_window_argb_value 100
gap_x 940
gap_y 20

The last 2 attributes absolutely position it on screen and need to be changed for your configuration. A working complete configuration file can be found here on Github.

share|improve this answer
own_window_type dock isn't always optimal as the conky window will be treated like a dock. – aspersieman Mar 8 at 8:12
@aspersieman I found nothing different with it so far. It is the only setting which prevented it going off when clicking the desktop or super+windows+D. – DarkCthulhu Mar 8 at 8:40
Try own_window_type override and changing the setting in Compiz Config Settings Manager I described to Sadi above. – aspersieman Mar 10 at 14:32

My solution to this problem is add these two lines in your bash script

conky -c /home/ajay/.conkycolors/conkyrc >/dev/null 2>&1 &
conky -c /home/ajay/.conkycolors/conkyrc >/dev/null 2>&1 &

share|improve this answer
The question includes 3 different problems: 1) conky disappearing when desktop is clicked in "desktop" mode, 2) same when all windows are minimized (using Show Desktop command) in "normal" and "conky" modes, 3) conky not displayed in "override" mode... Which problem does this solve? What does it do really? – Sadi Mar 7 at 6:25

The above did not work for me. What did work was to set the "own_window_type" to "normal" in /etc/conky/conky.conf.

own_window_type normal

As per this thread: http://ubuntuforums.org/showthread.php?t=2039399

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.