Difference between revisions of "Basic Tips for conky/en"

Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 8: Line 8:
All file names starting with a dot <code>.</code> are hidden files. If you want to see hidden files in your file manager, you need to make them visible. In most file managers this will be available in the options.
All file names starting with a dot <code>.</code> are hidden files. If you want to see hidden files in your file manager, you need to make them visible. In most file managers this will be available in the options.
====Configuration file====
====Configuration file====
The default configuration file is located in <code>/usr/share/doc/conky-1.11.5_pre/conky.conf</code> where version are subject to change.  
The default configuration file is located in {{ic|/usr/share/doc/conky-1.11.5_pre/conky.conf}} where version are subject to change.  
Conky do not create a local conky folder so you will have to create beforehand
Conky do not create a local conky folder so you will have to create beforehand
{{UserCmd|command=mkdir -p ~/.config/conky}}
{{UserCmd|command=mkdir -p ~/.config/conky}}
Then copy the default to home
Then copy the default to home
{{UserCmd|command=cp /usr/share/doc/conky-1.11.5_pre/conky.conf ~/.config/conky/conky.conkyrc}}
{{UserCmd|command=cp /usr/share/doc/conky-1.11.5_pre/conky.conf ~/.config/conky/conky.conkyrc}}
The configuation file is a simple text file and the content written using [[https://www.lua.org/|LUA syntax]] and is split into two parts
The configuration file is a simple text file and the content written using [[https://www.lua.org/|LUA syntax]] and is split into two parts


* Configuration
* Configuration
Line 70: Line 70:
===Conky text===
===Conky text===
The second part contains the displayed conky code. Every code line corresponds to one displayed line on your desktop. There are a lot of 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 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.
{{Info|The lines in the '''conky.text''' section is printed exactly as is. E.g. if you create an empty line between sections - conky will display an empty line.}}
{{BoxInfo|Info|The lines in the '''conky.text''' section is printed exactly as is. E.g. if you create an empty line between sections - conky will display an empty line.}}


The whole code belong between these two double bracket:
The whole code belong between these two double bracket:
8,560

edits