Conky display is erratic [SOLVED]

Posts: 74
rayburn
Joined: 11 Jun 2008
#1
Using rox-fluxbox, I have used this release extensively over the last few weeks, and suffer from an intermittent problem with the Conky display, most of the time the window is cut off at the bottom, thereby not displaying all the available info, however, about a quarter of the time it boots up and displays correctly, i.e. with the full display. Here is a screenshot of the faulty version:Image

I would be grateful for any help. I have tried playing around with the window size in Conky, but it has no effect.
Not a major problem, just an annoyance!
Last edited by rayburn on 04 Jul 2015, 19:56, edited 1 time in total.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#2
I've seen that happen when conky gets started before the wireless network starts. If this is then problem the a quick fix is to run:

Code: Select all

killall conky; conky
One permenent solution is to enable wireless reporting all of the time. Change:
${if_up wlan0}${color}wlan0 up: $alignr${color3} ${upspeed wlan0}
${color2}$alignr${upspeedgraph wlan0 30,170 5599cc 5599cc}
${color}wlan0 down: $alignr${color3} ${downspeed wlan0}
${color2}$alignr${downspeedgraph wlan0 30,170 5599cc 5599cc}${endif}
to:
${color}wlan0 up: $alignr${color3} ${upspeed wlan0}
${color2}$alignr${upspeedgraph wlan0 30,170 5599cc 5599cc}
${color}wlan0 down: $alignr${color3} ${downspeed wlan0}
${color2}$alignr${downspeedgraph wlan0 30,170 5599cc 5599cc}
Posts: 74
rayburn
Joined: 11 Jun 2008
#3
Thank you BitJam, I have just followed your advice and rebooted, and all seems well. It actually makes a lot of sense, as the wifi is nearly always slow to connect, and obviously conky was starting with a smaller window in that case.

Your advice is much appreciated, thank you!