Conky: Difference between revisions

From 太極
Jump to navigation Jump to search
Line 19: Line 19:


= Tips =
= Tips =
[https://wiki.archlinux.org/index.php/Conky/Tips_and_tricks Conky/Tips and tricks]
<ul>
<li>[https://wiki.archlinux.org/index.php/Conky/Tips_and_tricks Conky/Tips and tricks] </li>
<li>Adding IP
<pre>
IP:${alignr}${addr eth0}
</pre>
</li>
</ul>


= Lubuntu =
= Lubuntu =

Revision as of 20:15, 5 March 2022

Install

Conky is a free, light-weight system monitor for X, that displays any information on your desktop.

sudo apt install conky-all
nano ~/.conkyrc file
conky # if we want to run a specific configuration file, use conky -c CONKYRCFILE

killall conky # if you want to stop Conky

Another way to configure conky is to install http://www.teejeetech.in/p/conky-manager.html conky-manager]. See this. But it seems it does not work well with desktop wallpaper.

Tips

Lubuntu

For Lubuntu 14.04, the Conky's transparent function does not work. To deal with the autostart, follow the suggestion from askubuntu.com. That is, go to ~/.config/autostart folder, create or copy+paste the file called conky.desktop with a content like

[Desktop Entry]
Type=Application
Exec=sh "/home/brb/.conky/conky-startup.sh"
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_IN]=Conky
Name=Conky
Comment[en_IN]=
Comment=

and

brb@brb-VirtualBox:~$ cat .conky/conky-startup.sh 
conky &
exit 0
brb@brb-VirtualBox:~$ ls -l .conky/conky-startup.sh 
-rw-rw-r-- 1 brb brb 37 Aug 30 20:17 .conky/conky-startup.sh

On auto start on Lubuntu 18.04, add the path to the application to ~/.config/lxsession/Lubuntu/autostart  ; see How can I add new autostart programs in Lubuntu?