Posts Tagged 'avant'

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 😀