Flickering conky
I use conky to display a variety of system monitor output on my desktop. I recently started to use some compositing effects with my window manager, Openbox, and realized that I was seeing quite a bit of flicker when conky updated. On the conky website there is a faq entry about flickering, that reads:
Q: Conky won’t stop flickering
A: Conky is designed to draw to the root desktop window. However, there are several other applications which like drawing to the root desktop window. Because of this, Conky has two options available to get around this problem:
- You can try enabling double-buffer. Conky’s double-buffer option uses the X double-buffer extension to provide a flicker-free Conky. This can be done by running Conky with the ‘-b’ parameter, or adding this to your conkyrc: double_buffer yes
- Conky can run in windowed mode, meaning that instead of drawing the the root window it draws to it’s own window. You can move this window around and resize it by right-clicking or left-clicking on the window while holding down the Alt key. This can be accomplished by running Conky with the ‘-o’ parameter, or by adding the following to your conkyrc: own_window yes
I already had these settings as suggested, but I still occasionally saw flickering.
One of my system monitor scripts outputs a leaderboard of mail statistics from my mail server, and some of the lines can be quite long (especially a list of top relays which can include the “may be forged” string from sendmail’s logs). When the length of these lines changes, conky has to resize its window, and this is what causes the flickering. So I calculated the maximum height and width of my output window and added this to my .conkyrc:
minimum_size 1000 1000
Now the flickering has gone completely.
It is worth noting that I don’t think this was caused by the compositing, only that it became more obvious because of the slightly increased update time for a window resize event.
Tags: compositing, conky, flicker, openbox, xcompmgr
August 8th, 2008 at 22:10:24
Thanks, you’ve saved my sanity. For the longest time I thought I was just imagining that flickering, or thought it was a bug in the script I was using to load GMail.
September 8th, 2008 at 02:47:28
thanks a lot for this nice web site. it would be better with other languages, bur thanks..
July 3rd, 2009 at 12:02:45
@dil: like your own site is multi-lingual??
September 10th, 2009 at 14:33:05
Hi! I was surfing and found your blog post… nice! I love your blog. :) Cheers! Sandra. R.
January 6th, 2010 at 00:26:13
Looks good
May 26th, 2010 at 20:02:05
i just bought a 97 KX125 starts and idles awsome one kick every time only problem is the exhaust smokes a little much of blue ish smoke, like its running a rich mix but also i rode it up and down my driveway a few times and it had a dark oily kinda of junk leaking from were the header meets the cylinder and also from were the silencer connects to the pipe and even out down the silencer, Also if i am in low RPM and go wide open with the throttle it boggs down for a second and then jumps up and hits power band like its getting to much gas at first and then clears up…. any ideas? a new top end was apparently put in recently a few months ago the kid also said he is running a 50:1 mix? could it just be its a rich mix and running rich?? i haven’t pulled the plug yet but like i said it starts every time one kick i was also thinking maybe a carburetor adjustment…. if any one thinks its top end related can you tell me what the compression is suppose to be at, i have a tester at home just don’t know what it is suppose to be at
June 24th, 2010 at 01:12:01
This truly wonderful web site which helps me to acquire a lot more details to the topic. I am bookmark it!