Conky SliTaz 5.1

Conky is a light system monitor drawn on the desktop: CPU, memory, disks, network, battery, the busiest processes, and much more. SliTaz ships it with a ready configuration in the colors of the desktop.

Install

# spk-add conky

Conky starts by itself at your next login, in the top right corner of the screen. To start it at once:

$ conky &

Start or not at login

The package puts conky.desktop in /etc/xdg/autostart/, so the LXTaz session starts Conky at login. To turn this off for your user, open LXTaz Desktop Preferences, page Startup, and switch Conky off. The switch writes a copy of the entry with Hidden=true in ~/.config/autostart/; switching it on again removes that copy. The Handbook explains autostart.

Your own configuration

SliTaz has Conky 1.9: its configuration is a list of option value lines, then the word TEXT and what to show. Conky 1.10 and later use a Lua format instead: configurations found on the web in that format do not work with this version.

The system configuration is /etc/conky/conky.conf. Copy it to your home to change it:

$ cp /etc/conky/conky.conf ~/.conkyrc

Conky reads ~/.conkyrc first when it exists. After a change, start it again:

$ killall conky; conky &

To go back to the SliTaz look, copy the system file again, or remove ~/.conkyrc. To try another file without touching yours:

$ conky -c my-conky.conf

Some lines worth knowing in the SliTaz configuration:

A transparent background

By default Conky draws on a black background. To see the wallpaper behind it, change in ~/.conkyrc:

own_window_transparent no

to:

own_window_transparent yes

Conky then copies the wallpaper behind its window. The LXTaz desktop publishes its wallpaper for this kind of program.

Real transparency SliTaz 4.0

For a background you see through at a chosen level, add these two lines after own_window_transparent:

own_window_argb_visual yes
own_window_argb_value 150

The value goes from 0 (invisible) to 255 (opaque). This needs a compositor, and the LXTaz session runs none. xcompmgr is packaged (spk-add xorg-xcompmgr); start it, then Conky:

$ xcompmgr &

Troubleshooting

Two Conky windows: Conky was started by hand while the one from the login was already running. killall conky, then start one.

A line shows nothing: the variable needs a device that does not exist here, like BAT0 or wlan0. Fix the name or remove the line.