Conky: Difference between revisions

From 太極
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[http://conky.sourceforge.net/ Conky] is a free, light-weight system monitor for X, that displays any information on your desktop.
= Install =
<ul>
<li>[http://conky.sourceforge.net/ Conky] is a free, light-weight system monitor for X, that displays any information on your desktop.
<li>https://help.ubuntu.com/community/SettingUpConky
<li>[https://linuxconfig.org/system-monitoring-on-ubuntu-18-04-linux-with-conky System Monitoring on Ubuntu 18.04 Linux with Conky]
<li>https://github.com/zenzire/conkyrc (this one works). Check [http://woeid.rosselliot.co.nz/ for the WOEID] for your city used in the [http://www.yahooapis.com/weather/ Yahoo weather API].
<li>http://www.ifxgroup.net/conky.htm
<li>http://www.tomshardware.com/faq/id-1882395/write-conky-config-file.html Explain conkyrc file
<li>https://github.com/arraytools/Conky
<pre>
sudo apt install conky-all
nano ~/.conkyrc file
conky # if we want to run a specific configuration file, use conky -c CONKYRCFILE


* https://help.ubuntu.com/community/SettingUpConky
killall conky # if you want to stop Conky
* [https://linuxconfig.org/system-monitoring-on-ubuntu-18-04-linux-with-conky System Monitoring on Ubuntu 18.04 Linux with Conky]
</pre>
* https://github.com/zenzire/conkyrc (this one works). Check [http://woeid.rosselliot.co.nz/ for the WOEID] for your city used in the [http://www.yahooapis.com/weather/ Yahoo weather API].
<li>[https://www.howtogeek.com/what-is-conky-for-linux-desktop/ What Is Conky, and How Can It Make Your Linux Desktop Look Amazing?]
* http://www.ifxgroup.net/conky.htm
</ul>
* http://www.tomshardware.com/faq/id-1882395/write-conky-config-file.html Explain conkyrc file


Step 1. Install conky-all package
== Conky GUI manager ==
Another way to configure conky is to install [http://www.teejeetech.in/p/conky-manager.html conky-manager]. See [https://theodorecooper.github.io/linux/beautify/2021-conky/ Conky | Awesome system monitor for Linux].


Step 2. create ~/.conkyrc file. This file can be downloaded from web.
= Tips =
 
<ul>
Step 3. Run it: $ conky. If we want to run a specific configuration file, use conky -c CONKYRCFILE
<li>[https://wiki.archlinux.org/index.php/Conky/Tips_and_tricks Conky/Tips and tricks] </li>
 
<li>Adding IP
Step 4. If you want to stop Conky: $ killall conky
<pre>
 
IP:${alignr}${addr eth0}
Note that conky works automatically on Ubuntu's Unity.
</pre>
</li>
</ul>


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. 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 54:
</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?]

Latest revision as of 22:27, 5 February 2024

Install

Conky GUI manager

Another way to configure conky is to install conky-manager. See Conky | Awesome system monitor for Linux.

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?