Conky configuration for XFCE4+Compiz

Lately I’ve been very interested in monitoring my system, mainly temperatures. When I use Windows I like to monitor temperatures with realtemp and to monitor my linux temps I use lm_sensors.

Constantly typing in “sensors” in terminal to view the cpu temperature got me a bit annoyed. So I installed Conky, a fancy configurable monitoring program that sits on your desktop and displays system information. However, even though Conky was easy to install and configure to display what I needed, making it work properly in the XFCE4, Compiz and Avant Window Navigator scenario turned out to be very difficult.

When I looked for solutions I found many, but none of them worked with my setup. The problem was that with any ‘default’ .conkyrc from the Conky website, Conky would dissapear when I opened any window and minimized it. I tried some own_window variables but there was always a new problem when the old one was fixed. Finally I though I had found a working config, but no, Conky would flash from beneath windows every now and then, making, for example, Firefox browsing very irritating. Finally I figured out the culprit, it was own_window_type. The workaround was to completely forget own_window_type and only use and arsenal of own_window_hints. Here’s what worked for me and I have a feeling that it could work for others having the same problem:

double_buffer yes
own_window yes
own_window_transparent yes
own_window_hints undecorated,sticky,below,skip_taskbar,skip_pager

See there’s no own_window_type. Amazing when all the possible solutions that I ran into had something to do with own_window_type, e.g. own_window_type desktop or own_window_type override. Now Conky works fine and I can move to calibrating the sensors output. Please comment if this helped, or if you need help :D

4 Responses to “Conky configuration for XFCE4+Compiz”


  1. 1 Jim October 2, 2008 at 9:24 am

    Interesting, thanks for that idea.

    I use conky with KDE and Compiz under Fedora 8. I have had the occasional problem since I installed it including, at worst, x crashing and rebooting for no obvious reason. I’ll give this a go and see if it helps.

  2. 2 Inquistor January 10, 2009 at 12:43 pm

    It works ;-)
    Thank you for tip.

  3. 3 trepo April 4, 2009 at 1:00 am

    Thanks for the tip regarding conky. BUT. “When I use Windows I like to monitor temperatures with realtemp, the reason being that it gives a more accurate reading of the e8400 chip than other programs.” Please tell how you know. “To monitor my linux temps I use lm-sensors, and even though the displayed temperatures are off, I get a good idea of the real deal when I subtract around 6 degrees.” How do you know the lm_sensors readings are the ones that are off by +6 degrees and not the “realtemps” ones are off by -6? Did you measure the temps yourself? (i’m not assuming you didn’t, i’d just like to see it mentioned if you did.)

  4. 4 morphex April 6, 2009 at 12:24 am

    trepo, thanks for pointing out that I really hadn’t explained the temperature reading difference of the two programs. When I wrote this post I had a lot of trust in the realtemp readings, mainly because it was designed with the e8400 in mind and it was widely accepted by the community. I haven’t done any testing myself, although I’m planning to. Ironically, since this post, realtemp 3.0 has been released and the tj max has been changed to 100 which changed the temperatures about +6C. So in the end the lm_sensors temps were “correct” :D Like I mentioned before, I’m planning on doing my own tests with an IR temperature monitor. Thank you again for the question :)


Leave a Reply