If you do not know, Conky is an on-screen system-monitor for Linux. Search for conky images to to see some glorious screenshots:
Conky 1.10 was released for it’s 10th birthday in June 2015. Conky 1.10.x was rewritten in C++ and now uses a Lua based config.
Debian 8 Stable (Jessie) still uses contains 1.9; However, Jessie-Backports contains the newer 1.10.x branch.
Be prepared to spend some time on fixing your conkyrc files if you decide to upgrade. I believe I spent a good hour fixing mine.
I typically use Debian-Backports to install newer versions of various software. It’s more stable to use the backports rather than the “testing” or “unstable” branches. However, sometimes you can still break your packages. With that warning, here is a link to the Backports instuctions: https://backports.debian.org/Instructions/
I installed conky from jessie-backports with the following command
sudo aptitude -t jessie-backports install conky.
Afterward, the display of my various “conkyrc” files was a mess. And I also found during the execution of conky, it mentioned “converting to old syntax”. I found the following page that was a great help: https://github.com/brndnmtthws/conky/wiki/Convert-to-new-1.10-syntax
Using the information from the link, I first made a backup of my conkyrc files. I installed lua with the command
sudo aptitude install lua5.3 then copied the converter script and edited the
#! to use the proper lua binary which was
I ran the script on each of my conkyrc files, but some failed. I edited my originals to clean up various problems including purging all the comments. I also paid attention to the line numbers mentioned by the script when it error-ed out.
During all this conversion and testing, I re-ran my conky-launcher script repeatedly. To give you an idea, my script looks as such:
#!/bin/sh killall conky sleep 5 nice conky -c ~/.conkyrc-main -d nice conky -c ~/.conkyrc-main_2 -d nice conky -c ~/.conkyrc-disk -d nice conky -c ~/.conkyrc-vlans -d nice conky -c ~/.conkyrc-todo -d nice conky -c ~/.conkyrc-messages -d nice conky -c ~/.conkyrc-proc -d nice conky -c ~/.conkyrc-usb -d
After successfully converting the files, some would not display, so I edited the new transcribed files and found a few odd lines that i simply deleted. For example, I had some with a line
object.0, which caused the conky execution to die.
Almost fully functional, I still found a major issue of some conkyrc files not showing onscreen or they were way-off from where I expected them.
It turned out that version 1.10.x now has proper multi-monitor support. From the information on the page https://github.com/brndnmtthws/conky/issues/249, I added the
ximerama_head = line to each of my conkyrc files.
You should note that your monitor ID’s start with 0 (zero). Therefore my first screen’s config was
ximerama_head = 0, and my second screens config was
ximerama_head = 1,.
After editing almost all my
gap_x = lines, my conky looks exactly like it did before.
Was it worth it? I have no idea.
Your turn, have fun!
- - -
Written and posted with StackEdit.