Difference between revisions of "Basic Tips for conky"
Views
Actions
Namespaces
Variants
Tools
imported>Excalibur1234 (created) |
imported>Excalibur1234 (added conky manager) |
||
Line 17: | Line 17: | ||
==Code== | ==Code== | ||
The <code>.conkyrc</code> file can be edited with every text editor. It's code is split into two parts: | The <code>.conkyrc</code> file can be edited with every text editor. It's code is split into two parts: | ||
* The first part contains all the configuration settings for the entire conky. Things like the position of the conky on your screen, transparency settings, border settings, the default font and it's size, and how often your conky gets updated. A great [http://conky.sourceforge.net/config_settings.html documentation] of all possible configuration settings is available. This part ends with a code line containing only one word: <code>TEXT</code> | * The first part contains all the configuration settings for the entire conky. Things like the position of the conky on your screen, transparency settings, border settings, the default font and it's size, and how often your conky gets updated. A great [http://conky.sourceforge.net/config_settings.html documentation]of all possible configuration settings is available. This part ends with a code line containing only one word: <code>TEXT</code> | ||
* The second part contains the displayed conky code. Every code line after the <code>TEXT</code> separator corresponds to one displayed conky line on your desktop. There are a lot of [http://conky.sourceforge.net/variables.html variables] available for displaying all kind of information. | * The second part contains the displayed conky code. Every code line after the <code>TEXT</code> separator corresponds to one displayed conky line on your desktop. There are a lot of [http://conky.sourceforge.net/variables.html variables]available for displaying all kind of information. | ||
Line 45: | Line 45: | ||
If (often colored) rings are missing in your conky, please install the following package: | If (often colored) rings are missing in your conky, please install the following package: | ||
yaourt -S conky-lua | yaourt -S conky-lua | ||
[https://wiki.manjaro.org/index.php?title=AUR#Searching_for_and_Installing_Software_From_the_AUR Here] is help for installing packages from the Arch User Repository. | [https://wiki.manjaro.org/index.php?title=AUR#Searching_for_and_Installing_Software_From_the_AUR Here]is help for installing packages from the Arch User Repository. | ||
==Missing network information== | ==Missing network information== | ||
Line 65: | Line 65: | ||
=More= | =More= | ||
The [http://conky.sourceforge.net/ homepage] of the conky project can be interesting, especially the [http://conky.sourceforge.net/documentation.html documentation]. | The [http://conky.sourceforge.net/ homepage]of the conky project can be interesting, especially the [http://conky.sourceforge.net/documentation.html documentation]. | ||
Furthermore, a dedicated conky thread with a lot of <code>.conkyrc</code> files and screenshots is available [https://forum.manjaro.org/index.php?topic=2991.0 here]. Searching on the Internet for <code>.conkyrc</code> can yield a lot of great <code>.conkyrc</code> files, too. | Furthermore, a dedicated conky thread with a lot of <code>.conkyrc</code> files and screenshots is available [https://forum.manjaro.org/index.php?topic=2991.0 here]. Searching on the Internet for <code>.conkyrc</code> can yield a lot of great <code>.conkyrc</code> files, too. | ||
A forum thread is available [https://forum.manjaro.org/index.php?topic=16844.0 here] | A forum discussion thread is available [https://forum.manjaro.org/index.php?topic=16844.0 here] | ||
=Alternative: Conky Manager= | |||
For everybody, who does not like to look at conky code and mess around in config files or who just wants a quick and simple conky, Conky Manager is great. Conky Manager offers a simple GUI for managing and customizing conkys. Additional theme packs are available, too. | |||
==Installation== | |||
yaourt -S conky-manager | |||
[https://wiki.manjaro.org/index.php?title=AUR#Searching_for_and_Installing_Software_From_the_AUR Here]is help for installing packages from the Arch User Repository. | |||
==Additional information== | |||
Recently, a new version of [http://www.teejeetech.in/2014/06/conky-manager-v2-released.html Conky Manager]has been released. Shortly after, a couple of [http://www.teejeetech.in/2014/06/conky-manager-v2-themes.html theme][http://www.teejeetech.in/2014/07/my-conky-themes-update-2.html packs]. | |||
There are also [http://www.teejeetech.in/2013/07/super-conky-package.html theme][http://www.teejeetech.in/2013/07/deluxe-conky-theme-pack.html packs]available for the previous version. Full compatibility is not guaranteed, but they are definitely worth a try. | |||
A [https://www.youtube.com/watch?v=Va2rnyZJe10 Youtube]video with basic tips is available as well. |
Revision as of 23:39, 30 September 2014
Installation
Conky can be installed with this command:
sudo pacman -S conky
.conkyrc file
The entire conky is created from one file. by default, it is called .conkyrc
file and the path is:
~/.conkyrc
or a longer file path:
/home/<username>/.conkyrc
Replace <username>
with your user/account name.
All files with names starting with a dot .
are hidden files. If you want to see hidden files in your file manager, you need to make them visible.
Code
The .conkyrc
file can be edited with every text editor. It's code is split into two parts:
- The first part contains all the configuration settings for the entire conky. Things like the position of the conky on your screen, transparency settings, border settings, the default font and it's size, and how often your conky gets updated. A great documentationof all possible configuration settings is available. This part ends with a code line containing only one word:
TEXT
- The second part contains the displayed conky code. Every code line after the
TEXT
separator corresponds to one displayed conky line on your desktop. There are a lot of variablesavailable for displaying all kind of information.
Running conky
If you want to display a conky on your desktop a .conkyrc
file with code in it is required. Next, open a terminal and run conky:
conky
or
conky -d
if you want to run conky as a background daemon.
If you want to run conky automatically after each boot of your computer, you need to find out how to autostart a program. This depends on the Desktop Manager you are using. After that running one of the following commands should work:
conky
conky -d
sh -c "sleep 10 && conky"
sleep 10 && conky
Troubleshooting
Missing rings
If (often colored) rings are missing in your conky, please install the following package:
yaourt -S conky-lua
Hereis help for installing packages from the Arch User Repository.
Missing network information
If network information is missing like download speed or network name (SSID), you need to replace the network card name in network variables in the .conkyrc
file with your network card name.
Open a terminal an enter
ip a
in order to see all available network cards in your computer. A sample output looks like this:
$ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> .... 2: enp9s0: <BROADCAST,MULTICAST,UP,LOWER_UP> ..... 3: wlp2s0: <BROADCAST,MULTICAST> .....
In this case, enp9s0
is the name of your ethernet card and wlp2s0
is the name of your wireless network card. Replace all network card names (e.g. wlan0
, eth0
) in network variables in your .conkyrc
file with your preferred network card name.
FAQ
A detailed FAQ is available here
More
The homepageof the conky project can be interesting, especially the documentation.
Furthermore, a dedicated conky thread with a lot of .conkyrc
files and screenshots is available here. Searching on the Internet for .conkyrc
can yield a lot of great .conkyrc
files, too.
A forum discussion thread is available here
Alternative: Conky Manager
For everybody, who does not like to look at conky code and mess around in config files or who just wants a quick and simple conky, Conky Manager is great. Conky Manager offers a simple GUI for managing and customizing conkys. Additional theme packs are available, too.
Installation
yaourt -S conky-manager
Hereis help for installing packages from the Arch User Repository.
Additional information
Recently, a new version of Conky Managerhas been released. Shortly after, a couple of themepacks.
There are also themepacksavailable for the previous version. Full compatibility is not guaranteed, but they are definitely worth a try.
A Youtubevideo with basic tips is available as well.