1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-18 02:55:12 +00:00
conky/doc/config_settings.xml

823 lines
26 KiB
XML
Raw Normal View History

<variablelist>
2009-06-06 22:56:35 +00:00
<varlistentry>
<term>
<command>
<option>TEXT</option>
</command>
</term>
<listitem>After this begins text to be formatted on screen.
Backslash (\) escapes newlines in the text section. This
can be useful for cleaning up config files where conky is
used to pipe input to dzen2.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>alias</option>
</command>
</term>
<listitem>Use this to create aliases of variables. The
first argument is the new name, the second the old name,
and the other arguments are passed on to the variable.
Example: If you want to use $alpha instead of ${beta gamma
delta} then you have to write the following: alias alpha
beta gamma delta . PS: Instead of creating an alias in the
config you can also use environment variables. Example:
Start conky like this: alpha="beta gamma delta" conky
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>alignment</option>
</command>
</term>
<listitem>Aligned position on screen, may be top_left,
top_right, top_middle, bottom_left, bottom_right,
bottom_middle, middle_left, middle_right, or none (also can
be abreviated as tl, tr, tm, bl, br, bm, ml, mr). See also
gap_x and gap_y.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>append_file</option>
</command>
</term>
<listitem>Append the file given as argument.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>background</option>
</command>
</term>
<listitem>Boolean value, if true, Conky will be forked to
background when started.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>border_inner_margin</option>
2009-06-06 22:56:35 +00:00
</command>
</term>
<listitem>Inner border margin in pixels (the margin between
the border and text).
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>border_outer_margin</option>
</command>
</term>
<listitem>Outer border margin in pixels (the margin between
the border and the edge of the window).
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>border_width</option>
</command>
</term>
<listitem>Border width in pixels.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>colorN</option>
</command>
</term>
<listitem>Predefine a color for use inside TEXT segments.
Substitute N by a digit between 0 and 9, inclusively. When
specifying the color value in hex, omit the leading hash
(#).
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>cpu_avg_samples</option>
</command>
</term>
<listitem>The number of samples to average for CPU
monitoring.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>default_bar_size</option>
</command>
</term>
<listitem>Specify a default width and height for bars.
Example: 'default_bar_size 0 6'. This is particularly
useful for execbar and execibar as they do not take size
arguments.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>default_color</option>
</command>
</term>
<listitem>Default color and border color
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>default_gauge_size</option>
</command>
</term>
<listitem>Specify a default width and height for gauges.
Example: 'default_gauge_size 25 25'. This is particularly
useful for execgauge and execigauge as they do not take
size arguments
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>default_graph_size</option>
</command>
</term>
<listitem>Specify a default width and height for graphs.
Example: 'default_graph_size 0 25'. This is particularly
useful for execgraph and execigraph as they do not take
size arguments
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>default_outline_color</option>
</command>
</term>
<listitem>Default outline color
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>default_shade_color</option>
</command>
</term>
<listitem>Default shading color and border's shading color
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>diskio_avg_samples</option>
</command>
</term>
<listitem>The number of samples to average for disk I/O
monitoring.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>display</option>
</command>
</term>
<listitem>Specify an X display to connect to.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>double_buffer</option>
</command>
</term>
<listitem>Use the Xdbe extension? (eliminates flicker) It
is highly recommended to use own window with this one so
double buffer won't be so big.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>draw_borders</option>
</command>
</term>
<listitem>Draw borders around text?
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>draw_graph_borders</option>
</command>
</term>
<listitem>Draw borders around graphs?
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>draw_outline</option>
</command>
</term>
<listitem>Draw outlines?
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>draw_shades</option>
</command>
</term>
<listitem>Draw shades?
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>font</option>
</command>
</term>
<listitem>Font name in X, xfontsel can be used to get a
nice font
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>format_human_readable</option>
</command>
</term>
<listitem>If enabled, values which are in bytes will be
printed in human readable format (i.e., KiB, MiB, etc). If
disabled, the number of bytes is printed instead.
<para /></listitem>
</varlistentry>
2009-06-06 22:56:35 +00:00
<varlistentry>
<term>
<command>
<option>gap_x</option>
</command>
</term>
<listitem>Gap, in pixels, between right or left border of
screen, same as passing -x at command line, e.g. gap_x 10.
For other position related stuff, see 'alignment'.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>gap_y</option>
</command>
</term>
<listitem>Gap, in pixels, between top or bottom border of
screen, same as passing -y at command line, e.g. gap_y 10.
For other position related stuff, see 'alignment'.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>if_up_strictness</option>
</command>
</term>
<listitem>How strict should if_up be when testing an
interface for being up? The value is one of up, link or
address, to check for the interface being solely up, being
up and having link or being up, having link and an assigned
IP address.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>imap</option>
</command>
</term>
<listitem>Default global IMAP server. Arguments are: "host
user pass [-i interval (in seconds)] [-f folder] [-p port]
[-e command] [-r retries]". Default port is 143, default
folder is 'INBOX', default interval is 5 minutes, and
default number of retries before giving up is 5. If the
password is supplied as '*', you will be prompted to enter
the password when Conky starts.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>imlib_cache_flush_interval</option>
</command>
</term>
<listitem>Interval (in seconds) to flush Imlib2 cache.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>imlib_cache_size</option>
</command>
</term>
<listitem>Imlib2 image cache size, in bytes. Defaults to
4MiB. Increase this value if you use $image lots. Set to 0
to disable the image cache.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>lua_draw_hook_post</option>
</command>
<option>function_name [function arguments]</option>
</term>
<listitem>
<para>This function, if defined, will be called by
Conky through each iteration after drawing to the
window. Requires X support. Takes any number of
optional arguments. Use this hook for drawing things on
top of what Conky draws.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>lua_draw_hook_pre</option>
</command>
<option>function_name [function arguments]</option>
</term>
<listitem>
<para>This function, if defined, will be called by
Conky through each iteration before drawing to the
window. Requires X support. Takes any number of
optional arguments. Use this hook for drawing things on
top of what Conky draws.</para>
</listitem>
</varlistentry>
2009-06-06 22:56:35 +00:00
<varlistentry>
<term>
<command>
<option>lua_load</option>
</command>
</term>
<listitem>Loads the Lua scripts separated by spaces.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>mail_spool</option>
</command>
</term>
<listitem>Mail spool for mail checking
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>max_port_monitor_connections</option>
</command>
</term>
<listitem>Allow each port monitor to track at most this
many connections (if 0 or not set, default is 256)
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>max_specials</option>
</command>
</term>
<listitem>Maximum number of special things, e.g. fonts,
offsets, aligns, etc. (default is 512)
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>max_user_text</option>
</command>
<option>bytes</option>
</term>
<listitem>Maximum size of user text buffer, i.e. layout
below TEXT line in config file (default is 16384 bytes)
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>maximum_width</option>
</command>
<option>pixels</option>
</term>
<listitem>Maximum width of window
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>minimum_size</option>
</command>
<option>width (height)</option>
</term>
<listitem>Minimum size of window
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>mpd_host</option>
</command>
</term>
<listitem>Host of MPD server
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>mpd_password</option>
</command>
</term>
<listitem>MPD server password
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>mpd_port</option>
</command>
</term>
<listitem>Port of MPD server
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>music_player_interval</option>
</command>
</term>
<listitem>Music player thread update interval (defaults to
Conky's update interval)
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>net_avg_samples</option>
</command>
</term>
<listitem>The number of samples to average for net data
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>no_buffers</option>
</command>
</term>
<listitem>Substract (file system) buffers from used memory?
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>out_to_console</option>
</command>
</term>
<listitem>Print text to stdout.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>out_to_stderr</option>
</command>
</term>
<listitem>Print text to stderr.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>out_to_x</option>
</command>
</term>
<listitem>When set to no, there will be no output in X
(useful when you also use things like out_to_console). If
you set it to no, make sure that it's placed before all
other X-related setting (take the first line of your
configfile to be sure). Default value is yes
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>override_utf8_locale</option>
</command>
</term>
<listitem>Force UTF8? requires XFT
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>overwrite_file</option>
</command>
</term>
<listitem>Overwrite the file given as argument.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>own_window</option>
</command>
</term>
<listitem>Boolean, create own window to draw?
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>own_window_class</option>
</command>
</term>
<listitem>Manually set the WM_CLASS name. Defaults to
"Conky".
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>own_window_colour</option>
</command>
<option>colour</option>
</term>
<listitem>If own_window_transparent no, set a specified
background colour (defaults to black). Takes either a hex
value (#ffffff) or a valid RGB name (see
/usr/lib/X11/rgb.txt)
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>own_window_hints</option>
</command>
<option>
undecorated,below,above,sticky,skip_taskbar,skip_pager</option>
</term>
<listitem>If own_window is yes, you may use these window
manager hints to affect the way Conky displays. Notes: Use
own_window_type desktop as another way to implement many of
these hints implicitly. If you use own_window_type
override, window manager hints have no meaning and are
ignored.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>own_window_title</option>
</command>
</term>
<listitem>Manually set the window name. Defaults to
"&lt;hostname&gt; - conky".
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>own_window_transparent</option>
</command>
</term>
<listitem>Boolean, set pseudo-transparency?
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>own_window_type</option>
</command>
</term>
<listitem>if own_window is yes, you may specify type
normal, desktop, dock, panel or override (default: normal).
Desktop windows are special windows that have no window
decorations; are always visible on your desktop; do not
appear in your pager or taskbar; and are sticky across all
workspaces. Panel windows reserve space along a desktop
edge, just like panels and taskbars, preventing maximized
windows from overlapping them. The edge is chosen based on
the alignment option. Override windows are not under the
control of the window manager. Hints are ignored. This type
of window can be useful for certain situations.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>pad_percents</option>
</command>
</term>
<listitem>Pad percentages to this many decimals (0 = no
padding)
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>pop3</option>
</command>
</term>
<listitem>Default global POP3 server. Arguments are: "host
user pass [-i interval (in seconds)] [-p port] [-e command]
[-r retries]". Default port is 110, default interval is 5
minutes, and default number of retries before giving up is
5. If the password is supplied as '*', you will be prompted
to enter the password when Conky starts.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>short_units</option>
</command>
</term>
<listitem>Shortens units to a single character (kiB-&gt;k,
GiB-&gt;G, etc.). Default is off.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>show_graph_range</option>
</command>
</term>
<listitem>Shows the time range covered by a graph.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>show_graph_scale</option>
</command>
</term>
<listitem>Shows the maximum value in scaled graphs.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>stippled_borders</option>
</command>
</term>
<listitem>Border stippling (dashing) in pixels
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>temperature_unit</option>
</command>
</term>
<listitem>Desired output unit of all objects displaying a
temperature. Parameters are either "fahrenheit" or
"celsius". The default unit is degree Celsius.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>templateN</option>
</command>
</term>
<listitem>Define a template for later use inside TEXT
segments. Substitute N by a digit between 0 and 9,
inclusively. The value of the variable is being inserted
into the stuff below TEXT at the corresponding position,
but before some substitutions are applied:
2009-06-06 22:56:35 +00:00
<simplelist>
<member>'\n' -&gt; newline</member>
<member>'\\' -&gt; backslash</member>
<member>'\ ' -&gt; space</member>
<member>'\N' -&gt; template argument N</member>
</simplelist>
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>text_buffer_size</option>
</command>
<option>bytes</option>
</term>
<listitem>Size of the standard text buffer (default is 256
bytes). This buffer is used for intermediary text, such as
individual lines, output from $exec vars, and various other
variables. Increasing the size of this buffer can
drastically reduce Conky's performance, but will allow for
more text display per variable. The size of this buffer
cannot be smaller than the default value of 256 bytes.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>top_cpu_separate</option>
</command>
</term>
<listitem>If true, cpu in top will show usage of one
processor's power. If false, cpu in top will show the usage
of all processors' power combined.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>top_name_width</option>
</command>
</term>
<listitem>Width for $top name value (defaults to 15
characters).
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>total_run_times</option>
</command>
</term>
<listitem>Total number of times for Conky to update before
quitting. Zero makes Conky run forever
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>update_interval</option>
</command>
</term>
<listitem>Update interval in seconds
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>uppercase</option>
</command>
</term>
<listitem>Boolean value, if true, text is rendered in upper
case
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>use_spacer</option>
</command>
</term>
<listitem>Adds spaces around certain objects to stop them
from moving other things around. Arguments are left, right,
and none (default). The old true/false values are
deprecated and default to right/none respectively. Note
that this only helps if you are using a mono font, such as
Bitstream Vera Sans Mono.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>use_xft</option>
</command>
</term>
<listitem>Use Xft (anti-aliased font and stuff)
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>xftalpha</option>
</command>
</term>
<listitem>Alpha of Xft font. Must be a value at or between
1 and 0.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
<varlistentry>
<term>
<command>
<option>xftfont</option>
</command>
</term>
<listitem>Xft font to use.
2009-06-06 22:56:35 +00:00
<para /></listitem>
</varlistentry>
</variablelist>