Difference between revisions of "Basic Tips for conky"

no edit summary
imported>Yoy0
imported>Yoy0
Line 5: Line 5:


=Installation=
=Installation=
Conky can be installed with this command:
Conky can be installed with this command:
  sudo pacman -S conky
  sudo pacman -S conky


=Configuration file=
=Configuration file=
Default Conky configuration file is located in:
Default Conky configuration file is located in:
  ~/.config/conky/conky.conf
  ~/.config/conky/conky.conf
Line 22: Line 19:
=Code=
=Code=
<code>conky.conf</code> can be edited with every text editor. It's code is split into two parts:  
<code>conky.conf</code> can be edited with every text editor. It's code is split into two parts:  


==First Part - Window/Conky configuration==
==First Part - Window/Conky configuration==
Line 65: Line 61:
{{warning|Is this link still relevant ?}}
{{warning|Is this link still relevant ?}}


==Second Part==
==Second Part - What is displayed by conky==
The second part contains the displayed conky code. Every code line corresponds to one displayed line on your desktop. There are a lot of [http://conky.sourceforge.net/variables.html variables]available for displaying and modifying all kinds of information. Use the command: <code>man conky</code>, and look into the '''OBJECTS/VARIABLES''' section to see every objects/variables available.
The second part contains the displayed conky code. Every code line corresponds to one displayed line on your desktop. There are a lot of [http://conky.sourceforge.net/variables.html variables]available for displaying and modifying all kinds of information. Use the command: <code>man conky</code>, and look into the '''OBJECTS/VARIABLES''' section to see every objects/variables available.
{{warning|Again, is this link still relevant ?}}
{{warning|Again, is this link still relevant ?}}
Line 100: Line 96:


Warning: Using complicated bash commands (e.g. which call other programs or use large files) with low intervals (e.g. <code>${execi 2 XXXX}</code> runs the <code>XXXX</code> code once every 2 seconds and displays it's result in your conky) can use a lot of hardware resources and/or make your computer unresponsive.
Warning: Using complicated bash commands (e.g. which call other programs or use large files) with low intervals (e.g. <code>${execi 2 XXXX}</code> runs the <code>XXXX</code> code once every 2 seconds and displays it's result in your conky) can use a lot of hardware resources and/or make your computer unresponsive.


=Running conky=
=Running conky=
If you want to display a conky on your desktop a <code>.config/conky/conky.conf</code> file with code in it is required. Next, open a terminal and run conky:
If you want to display a conky on your desktop a <code>.config/conky/conky.conf</code> file with code in it is required. Next, open a terminal and run conky:
  conky
  conky
Line 126: Line 120:


  pkill conky && conky
  pkill conky && conky


=More=
=More=
After having read everything about conky, it is time to create your own. The easiest way for beginners is to look at screenshots of conkys (and the corresponding <code>.conkyrc</code> files) and copy and paste the parts you like into your own <code>.conkyrc</code> file. Later, you can modify your <code>.conkyrc</code> code to your liking.
After having read everything about conky, it is time to create your own. The easiest way for beginners is to look at screenshots of conkys (and the corresponding <code>.conkyrc</code> files) and copy and paste the parts you like into your own <code>.conkyrc</code> file. Later, you can modify your <code>.conkyrc</code> code to your liking.
A dedicated conky thread in the Manjaro Forum with a lot of <code>.conkyrc</code> files and screenshots is available [https://forum.manjaro.org/index.php?topic=2991.0 here]. A massive conky thread is available in the [http://ubuntuforums.org/showthread.php?t=281865 Ubuntu forum]. Also, there are [https://www.reddit.com/r/conky multiple] [https://www.reddit.com/r/Conkyporn reddit] threads about conky.
A dedicated conky thread in the Manjaro Forum with a lot of <code>.conkyrc</code> files and screenshots is available [https://forum.manjaro.org/index.php?topic=2991.0 here]. A massive conky thread is available in the [http://ubuntuforums.org/showthread.php?t=281865 Ubuntu forum]. Also, there are [https://www.reddit.com/r/conky multiple] [https://www.reddit.com/r/Conkyporn reddit] threads about conky.
Line 139: Line 131:


A forum discussion thread about this Manjaro Wiki page is available [https://forum.manjaro.org/index.php?topic=16844.0 here]
A forum discussion thread about this Manjaro Wiki page is available [https://forum.manjaro.org/index.php?topic=16844.0 here]


=Troubleshooting & Tips=
=Troubleshooting & Tips=
==Missing rings==
==Missing rings==
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, in case you need it.
[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, in case you need it.


==Missing network information==
==Missing network information==
Line 161: Line 149:
  3: wlp2s0: <BROADCAST,MULTICAST> .....
  3: wlp2s0: <BROADCAST,MULTICAST> .....
In this case, <code>enp9s0</code> is the name of your ethernet card and <code>wlp2s0</code> is the name of your wireless network card. Replace all network card names (e.g. <code>wlan0</code>, <code>eth0</code>) in network variables in your <code>.conkyrc</code> file with your preferred network card name.
In this case, <code>enp9s0</code> is the name of your ethernet card and <code>wlp2s0</code> is the name of your wireless network card. Replace all network card names (e.g. <code>wlan0</code>, <code>eth0</code>) in network variables in your <code>.conkyrc</code> file with your preferred network card name.


==FAQ==
==FAQ==
A detailed FAQ is available [http://conky.sourceforge.net/faq.html here]
A detailed FAQ is available [http://conky.sourceforge.net/faq.html here]


=Alternative: Conky Manager=
=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.
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.


Anonymous user