Conky: Difference between revisions

From 太極
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
= Install =
[http://conky.sourceforge.net/ Conky] is a free, light-weight system monitor for X, that displays any information on your desktop.
[http://conky.sourceforge.net/ Conky] is a free, light-weight system monitor for X, that displays any information on your desktop.


Line 6: Line 7:
* http://www.ifxgroup.net/conky.htm
* http://www.ifxgroup.net/conky.htm
* http://www.tomshardware.com/faq/id-1882395/write-conky-config-file.html Explain conkyrc file
* http://www.tomshardware.com/faq/id-1882395/write-conky-config-file.html Explain conkyrc file
<pre>
sudo apt install conky-all
nano ~/.conkyrc file
conky # if we want to run a specific configuration file, use conky -c CONKYRCFILE


Step 1. Install conky-all package
killall conky # if you want to stop Conky
 
</pre>
Step 2. create ~/.conkyrc file. This file can be downloaded from web.
 
Step 3. Run it: $ conky. If we want to run a specific configuration file, use conky -c CONKYRCFILE


Step 4. If you want to stop Conky: $ killall conky
Another way to configure conky is to install http://www.teejeetech.in/p/conky-manager.html conky-manager]. See [http://www.itworld.com/article/2696428/install-conky-manager-2-1-in-ubuntu-14-04.html this]. But it seems it does not work well with desktop wallpaper.


Note that conky works automatically on Ubuntu's Unity.  
= Tips =
[https://wiki.archlinux.org/index.php/Conky/Tips_and_tricks Conky/Tips and tricks]


For Lubuntu (tested on 14.04), the Conky's transparent function does not work at first. But [http://gnome-look.org/content/download.php?content=170851&id=1&tan=63968661 This conkyrc] works on Lubuntu desktop (mainly, tranparent function). To deal with the autostart, follow the suggestion from [http://askubuntu.com/questions/81383/how-can-i-add-new-autostart-programs-in-lubuntu askubuntu.com]. That is, go to ~/.config/autostart folder, create or copy+paste the file called '''conky.desktop''' with a content like
= Lubuntu =
For Lubuntu 14.04, the Conky's transparent function does not work at first. But [http://gnome-look.org/content/download.php?content=170851&id=1&tan=63968661 This conkyrc] works on Lubuntu desktop (mainly, tranparent function). To deal with the autostart, follow the suggestion from [http://askubuntu.com/questions/81383/how-can-i-add-new-autostart-programs-in-lubuntu askubuntu.com]. That is, go to ~/.config/autostart folder, create or copy+paste the file called '''conky.desktop''' with a content like
<pre>
<pre>
[Desktop Entry]
[Desktop Entry]
Line 39: Line 43:
</pre>
</pre>


Another way to configure conky is to install conky-manager. See [http://www.itworld.com/article/2696428/install-conky-manager-2-1-in-ubuntu-14-04.html this] and [http://www.teejeetech.in/p/conky-manager.html project website] page. But it seems it does not work well with desktop wallpaper.
On auto start on Lubuntu 18.04, add the path to the application to '''~/.config/lxsession/Lubuntu/autostart'''  ; see [https://askubuntu.com/a/1148628 How can I add new autostart programs in Lubuntu?]

Revision as of 10:53, 13 April 2020

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

Conky/Tips and tricks

Lubuntu

For Lubuntu 14.04, the Conky's transparent function does not work at first. But This conkyrc works on Lubuntu desktop (mainly, tranparent function). 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?