1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-27 09:08:25 +00:00
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@150 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2005-08-22 17:19:00 +00:00
parent 534457b9ca
commit 47987db1ae
5 changed files with 71 additions and 70 deletions

77
README
View File

@ -11,9 +11,9 @@ SYNOPSIS
DESCRIPTION DESCRIPTION
Conky is a system monitor for X originally based on the torsmo code. Conky is a system monitor for X originally based on the torsmo code.
Since its original conception, Conky has changed a fair bit from its Since it's original conception, Conky has changed a fair bit from it's
predecessor. Conky can display just about anything, either on your predecessor. Conky can display just about anything, either on your
root desktop or in its own window. Conky has many built-in objects, root desktop or in it's own window. Conky has many built-in objects,
as well as the ability to execute programs and scripts, then display as well as the ability to execute programs and scripts, then display
the output from stdout. the output from stdout.
@ -26,9 +26,9 @@ DESCRIPTION
COMPILING COMPILING
First, make sure you have the X development libraries installed, this First, make sure you have the X development libraries installed, this
should be a package along the lines of "libx11-dev or xorg-x11-dev". should be a package along the lines of "libx11-dev or xorg-x11-dev".
Gentoo users, Conky is in Gentoos Portage. Simply use "emerge conky" Gentoo users, Conky is in Gentoo's Portage. Simply use "emerge conky"
for installation. There is also usually an up-to-date ebuild within for installation. There is also usually an up-to-date ebuild within
Conkys package or in CVS. Conky's package or in CVS.
To compile and run Conky with all optional components: To compile and run Conky with all optional components:
@ -43,14 +43,14 @@ COMPILING
./conky ./conky
Conky doesnt probably compile with other compilers than gcc and icc. Conky doesn't probably compile with other compilers than gcc and icc.
It doesnt compile with C89 compiler and not even with pure C99. It It doesn't compile with C89 compiler and not even with pure C99. It
uses few things that might not exist: strdup(), strcasecmp(), strn uses few things that might not exist: strdup(), strcasecmp(), strn-
casecmp(), optarg variable with getopt() and long long (not in C89). casecmp(), optarg variable with getopt() and long long (not in C89).
Crashes in file system statistics stuff when compiled with icc, I dont Crashes in file system statistics stuff when compiled with icc, I don't
know exactly why. know exactly why.
You can disable drawing to own window feature in case you dont need You can disable 'drawing to own window' feature in case you don't need
it by passing --disable-own-window to configure -script. it by passing --disable-own-window to configure -script.
@ -82,7 +82,7 @@ OPTIONS
Config file to load instead of $HOME/.conkyrc Config file to load instead of $HOME/.conkyrc
-d Daemonize, fork to background -d Daemonize Conky, aka fork to background
-f FONT -f FONT
@ -96,7 +96,7 @@ OPTIONS
-t TEXT -t TEXT
Text to render, remember single quotes, like -t $uptime Text to render, remember single quotes, like -t ' $uptime '
-u SECONDS -u SECONDS
@ -121,7 +121,7 @@ CONFIGURATION SETTINGS
it to $HOME/.conkyrc and then start modifying it. it to $HOME/.conkyrc and then start modifying it.
alignment alignment
Aligned position on screen, may be top_left, top_right, bot Aligned position on screen, may be top_left, top_right, bot-
tom_left, bottom_right, or none tom_left, bottom_right, or none
@ -151,7 +151,7 @@ CONFIGURATION SETTINGS
default_shade_color default_shade_color
Default shading color and borders shading color Default shading color and border's shading color
default_outline_color default_outline_color
@ -159,8 +159,8 @@ CONFIGURATION SETTINGS
double_buffer double_buffer
Use the Xdbe extension? (eliminates flicker) It is highly recom Use the Xdbe extension? (eliminates flicker) It is highly recom-
mended to use own window with this one so double buffer wont be mended to use own window with this one so double buffer won't be
so big. so big.
@ -276,9 +276,9 @@ CONFIGURATION SETTINGS
VARIABLES VARIABLES
Colors are parsed using XParsecolor(), there might be a list of them: Colors are parsed using XParsecolor(), there might be a list of them:
/usr/X11R6/lib/X11/rgb.txt. Also, http://sedition.com/perl/rgb.html /usr/X11R6/lib/X11/rgb.txt. Also, http://sedition.com/perl/rgb.html
Color can be also in #rrggbb format (hex). Note that when displaying [http://sedition.com/perl/rgb.html] Color can be also in #rrggbb format
bytes, power is 1024 and not 1000 so 1M really means 1024*1024 bytes (hex). Note that when displaying bytes, power is 1024 and not 1000 so
and not 1000*1000. 1M really means 1024*1024 bytes and not 1000*1000.
addr (interface) addr (interface)
IP address for an interface IP address for an interface
@ -336,7 +336,7 @@ VARIABLES
cpubar (height),(width) cpubar (height),(width)
Bar that shows CPU usage, height is bars height in pixels Bar that shows CPU usage, height is bar's height in pixels
cpugraph (height),(width) (gradient colour 1) (gradient colour 2) cpugraph (height),(width) (gradient colour 1) (gradient colour 2)
@ -360,8 +360,8 @@ VARIABLES
exec shell command exec shell command
Executes a shell command and displays the output in conky. warn Executes a shell command and displays the output in conky. warn-
ing: this takes a lot more resources than other variables. Id ing: this takes a lot more resources than other variables. I'd
recommend coding wanted behaviour in C and posting a patch. recommend coding wanted behaviour in C and posting a patch.
@ -376,7 +376,7 @@ VARIABLES
execi interval, shell command execi interval, shell command
Same as exec but with specific interval. Interval cant be less Same as exec but with specific interval. Interval can't be less
than update_interval in configuration. than update_interval in configuration.
@ -522,7 +522,7 @@ VARIABLES
mpd_bar (height),(width) mpd_bar (height),(width)
Bar of mpds progress Bar of mpd's progress
mpd_bitrate mpd_bitrate
@ -538,19 +538,19 @@ VARIABLES
mpd_vol mpd_vol
MPDs volume MPD's volume
mpd_elapsed mpd_elapsed
Songs elapsed time Song's elapsed time
mpd_length mpd_length
Songs length Song's length
mpd_percent mpd_percent
Percent of songs progress Percent of song's progress
new_mails new_mails
@ -610,18 +610,18 @@ VARIABLES
tail logfile, lines interval> Displays last N lines of supplied text tail logfile, lines interval> Displays last N lines of supplied text
text file. If interval is not supplied, Conky assumes 2x Conkys text file. If interval is not supplied, Conky assumes 2x Conky's
interval. Max of 30 lines. Max of 30 lines can be displayed. interval. Max of 30 lines. Max of 30 lines can be displayed.
time (format) time (format)
Local time, see man strftime to get more information about for Local time, see man strftime to get more information about for-
mat mat
totaldown net totaldown net
Total download, overflows at 4 GB on Linux with 32-bit arch and Total download, overflows at 4 GB on Linux with 32-bit arch and
there doesnt seem to be a way to know how many times it has there doesn't seem to be a way to know how many times it has
already done that before conky has started. already done that before conky has started.
@ -683,7 +683,7 @@ VARIABLES
EXAMPLES EXAMPLES
conky -t${time %D %H:%m}-o -u 30 conky -t '${time %D %H:%m}' -o -u 30
Start Conky in its own window with date and clock as text and 30 Start Conky in its own window with date and clock as text and 30
sec update interval. sec update interval.
@ -694,9 +694,9 @@ FILES
~/.conkyrc default configuration file ~/.conkyrc default configuration file
BUGS BUGS
Drawing to root or some other desktop window directly doesnt work with Drawing to root or some other desktop window directly doesn't work with
all window managers. Especially doesnt work well with Gnome and it has all window managers. Especially doesn't work well with Gnome and it has
been reported that it doesnt work with KDE either. Nautilus can be been reported that it doesn't work with KDE either. Nautilus can be
disabled from drawing to desktop with program gconf-editor. Uncheck disabled from drawing to desktop with program gconf-editor. Uncheck
show_desktop in /apps/nautilus/preferences/. There is -w switch in show_desktop in /apps/nautilus/preferences/. There is -w switch in
Conky to set some specific window id. You might find xwininfo -tree Conky to set some specific window id. You might find xwininfo -tree
@ -704,15 +704,16 @@ BUGS
which makes Conky to create its own window. which makes Conky to create its own window.
SEE ALSO SEE ALSO
http://conky.sourceforge.net http://conky.sourceforge.net [http://conky.sourceforge.net]
http://www.sourceforge.net/projects/conky http://www.sourceforge.net/projects/conky [http://www.source-
forge.net/projects/conky]
#conky on irc.freenode.net #conky on irc.freenode.net
AUTHORS AUTHORS
The Conky dev team. Whats up now??! The Conky dev team. What's up now??!
2005-08-18 conky(1) Conky 2005-08-18 conky(1)

View File

@ -30,7 +30,7 @@
<varlistentry> <varlistentry>
<term><command><option>-d</option></command></term> <term><command><option>-d</option></command></term>
<listitem> <listitem>
Daemonize, fork to background Daemonize Conky, aka fork to background
<para></para></listitem> <para></para></listitem>
</varlistentry> </varlistentry>

Binary file not shown.

View File

@ -1,4 +1,4 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>conky</title><meta name="generator" content="DocBook XSL Stylesheets V1.66.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="id2447920"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>conky &#8212; a system monitor for X originally based on the torsmo code, but more kickass.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><tt class="command">conky</tt> [<i class="replaceable"><tt>options</tt></i>]</p></div></div><div class="refsect1" lang="en"><a name="id2476569"></a><h2>Description</h2><p> <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>conky</title><meta name="generator" content="DocBook XSL Stylesheets V1.66.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="id257345"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>conky &#8212; a system monitor for X originally based on the torsmo code, but more kickass.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><tt class="command">conky</tt> [<i class="replaceable"><tt>options</tt></i>]</p></div></div><div class="refsect1" lang="en"><a name="id222072"></a><h2>Description</h2><p>
Conky is a system monitor for X originally based on the torsmo code. Conky is a system monitor for X originally based on the torsmo code.
Since it's original conception, Conky has changed a fair bit from it's predecessor. Since it's original conception, Conky has changed a fair bit from it's predecessor.
Conky can display just about anything, either on your root desktop or in it's own window. Conky can display just about anything, either on your root desktop or in it's own window.
@ -9,7 +9,7 @@
Please use the facilities at SourceForge to make bug reports, feature requests, and submit patches. Please use the facilities at SourceForge to make bug reports, feature requests, and submit patches.
</p><p> </p><p>
Thanks for your interest in Conky. Thanks for your interest in Conky.
</p></div><div class="refsect1" lang="en"><a name="id2476596"></a><h2>Compiling</h2><p> </p></div><div class="refsect1" lang="en"><a name="id222093"></a><h2>Compiling</h2><p>
First, make sure you have the X development libraries installed, this should be a package along the lines First, make sure you have the X development libraries installed, this should be a package along the lines
of "libx11-dev or xorg-x11-dev". Gentoo users, Conky is in Gentoo's Portage. Simply use "emerge conky" for installation. of "libx11-dev or xorg-x11-dev". Gentoo users, Conky is in Gentoo's Portage. Simply use "emerge conky" for installation.
There is also usually an up-to-date ebuild within Conky's package or in CVS. There is also usually an up-to-date ebuild within Conky's package or in CVS.
@ -25,6 +25,8 @@
--enable-mpd --enable-xft --enable-seti</tt> --enable-mpd --enable-xft --enable-seti</tt>
</span></dt><dd></dd><dt><span class="term"> </span></dt><dd></dd><dt><span class="term">
<span><b class="command"><tt class="option">make</tt></b></span> <span><b class="command"><tt class="option">make</tt></b></span>
</span></dt><dd></dd><dt><span class="term">
<span><b class="command"><tt class="option">make install</tt></b></span> <tt class="option"># Optional</tt>
</span></dt><dd></dd><dt><span class="term"> </span></dt><dd></dd><dt><span class="term">
<span><b class="command"><tt class="option">./conky</tt></b></span> <span><b class="command"><tt class="option">./conky</tt></b></span>
</span></dt><dd></dd></dl></div><p> </span></dt><dd></dd></dl></div><p>
@ -38,14 +40,14 @@
--disable-own-window to configure -script. --disable-own-window to configure -script.
</p><p> </p><p>
</p></div><div class="refsect1" lang="en"><a name="id2447477"></a><h2>You Should Know</h2><p> </p></div><div class="refsect1" lang="en"><a name="id239630"></a><h2>You Should Know</h2><p>
Conky is generally very good on resources. However, certain objects in Conky is generally very good on resources. However, certain objects in
Conky are harder on resources then others. In particular, the $tail, Conky are harder on resources then others. In particular, the $tail,
$top, $font, and $graph objects are quite costly in comparison to the rest of Conky. $top, $font, and $graph objects are quite costly in comparison to the rest of Conky.
</p><p> </p><p>
If you do use them, please do not complain about memory or CPU usage, If you do use them, please do not complain about memory or CPU usage,
unless you think something is going seriously wrong (mem leak, et cetera). unless you think something is going seriously wrong (mem leak, et cetera).
</p></div><div class="refsect1" lang="en"><a name="id2447496"></a><h2>Options</h2><p>Command line options override configurations defined in configuration file.</p><div class="variablelist"><dl><dt><span class="term"><span><b class="command"><tt class="option">-V</tt></b></span></span></dt><dd> </p></div><div class="refsect1" lang="en"><a name="id239646"></a><h2>Options</h2><p>Command line options override configurations defined in configuration file.</p><div class="variablelist"><dl><dt><span class="term"><span><b class="command"><tt class="option">-V</tt></b></span></span></dt><dd>
Prints version and exits Prints version and exits
<p></p></dd><dt><span class="term"><span><b class="command"><tt class="option">-a </tt></b></span><tt class="option">ALIGNMENT</tt></span></dt><dd> <p></p></dd><dt><span class="term"><span><b class="command"><tt class="option">-a </tt></b></span><tt class="option">ALIGNMENT</tt></span></dt><dd>
Text alignment on screen, {top,bottom}_{left,right} or none Text alignment on screen, {top,bottom}_{left,right} or none
@ -54,7 +56,7 @@
<p></p></dd><dt><span class="term"><span><b class="command"><tt class="option">-c </tt></b></span><tt class="option">FILE</tt></span></dt><dd> <p></p></dd><dt><span class="term"><span><b class="command"><tt class="option">-c </tt></b></span><tt class="option">FILE</tt></span></dt><dd>
Config file to load instead of $HOME/.conkyrc Config file to load instead of $HOME/.conkyrc
<p></p></dd><dt><span class="term"><span><b class="command"><tt class="option">-d</tt></b></span></span></dt><dd> <p></p></dd><dt><span class="term"><span><b class="command"><tt class="option">-d</tt></b></span></span></dt><dd>
Daemonize, fork to background Daemonize Conky, aka fork to background
<p></p></dd><dt><span class="term"><span><b class="command"><tt class="option">-f </tt></b></span><tt class="option">FONT</tt></span></dt><dd> <p></p></dd><dt><span class="term"><span><b class="command"><tt class="option">-f </tt></b></span><tt class="option">FONT</tt></span></dt><dd>
Font to use Font to use
<p></p></dd><dt><span class="term"><span><b class="command"><tt class="option">-h</tt></b></span></span></dt><dd> <p></p></dd><dt><span class="term"><span><b class="command"><tt class="option">-h</tt></b></span></span></dt><dd>
@ -71,7 +73,7 @@
X position X position
<p></p></dd><dt><span class="term"><span><b class="command"><tt class="option">-y </tt></b></span><tt class="option">Y_COORDINATE</tt></span></dt><dd> <p></p></dd><dt><span class="term"><span><b class="command"><tt class="option">-y </tt></b></span><tt class="option">Y_COORDINATE</tt></span></dt><dd>
Y position Y position
<p></p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2448119"></a><h2>Configuration Settings</h2><p> <p></p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id221293"></a><h2>Configuration Settings</h2><p>
Default configuration file is $HOME/.conkyrc (can be changed from Default configuration file is $HOME/.conkyrc (can be changed from
conky.c among other things). See conkyrc.sample. You might want to copy conky.c among other things). See conkyrc.sample. You might want to copy
it to $HOME/.conkyrc and then start modifying it. it to $HOME/.conkyrc and then start modifying it.
@ -149,7 +151,7 @@
Use Xft (anti-aliased font and stuff) Use Xft (anti-aliased font and stuff)
<p></p></dd><dt><span class="term"><span><b class="command"><tt class="option">text</tt></b></span></span></dt><dd> <p></p></dd><dt><span class="term"><span><b class="command"><tt class="option">text</tt></b></span></span></dt><dd>
After this begins text to be formatted on screen After this begins text to be formatted on screen
<p></p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2517432"></a><h2>Variables</h2><p> <p></p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id265122"></a><h2>Variables</h2><p>
Colors are parsed using XParsecolor(), there might be a list of them: Colors are parsed using XParsecolor(), there might be a list of them:
/usr/X11R6/lib/X11/rgb.txt. Also, <a href="http://sedition.com/perl/rgb.html" target="_top"> /usr/X11R6/lib/X11/rgb.txt. Also, <a href="http://sedition.com/perl/rgb.html" target="_top">
http://sedition.com/perl/rgb.html</a> http://sedition.com/perl/rgb.html</a>
@ -586,8 +588,8 @@
<tt class="option">(pixels)</tt> <tt class="option">(pixels)</tt>
</span></dt><dd> </span></dt><dd>
Change verticle offset by N pixels. Negative values will cause text to overlap. See also $offset. Change verticle offset by N pixels. Negative values will cause text to overlap. See also $offset.
<p></p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2521506"></a><h2>Examples</h2><div class="variablelist"><dl><dt><span class="term"><tt class="varname">conky </tt><tt class="option">-t '${time %D %H:%m}' -o -u 30</tt></span></dt><dd>Start Conky in its own window with date and clock as text and 30 sec update interval.</dd><dt><span class="term"><tt class="varname">conky </tt><tt class="option">-a top_left -x 5 -y 500 -d</tt></span></dt><dd>Start Conky to background at coordinates (5, 500).</dd></dl></div></div><div class="refsect1" lang="en"><a name="id2521547"></a><h2>Files</h2><tt class="filename">~/.conkyrc</tt> default configuration file <p></p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id269094"></a><h2>Examples</h2><div class="variablelist"><dl><dt><span class="term"><tt class="varname">conky </tt><tt class="option">-t '${time %D %H:%m}' -o -u 30</tt></span></dt><dd>Start Conky in its own window with date and clock as text and 30 sec update interval.</dd><dt><span class="term"><tt class="varname">conky </tt><tt class="option">-a top_left -x 5 -y 500 -d</tt></span></dt><dd>Start Conky to background at coordinates (5, 500).</dd></dl></div></div><div class="refsect1" lang="en"><a name="id269133"></a><h2>Files</h2><tt class="filename">~/.conkyrc</tt> default configuration file
</div><div class="refsect1" lang="en"><a name="id2521560"></a><h2>Bugs</h2><p> </div><div class="refsect1" lang="en"><a name="id269145"></a><h2>Bugs</h2><p>
Drawing to root or some other desktop window directly doesn't work with Drawing to root or some other desktop window directly doesn't work with
all window managers. Especially doesn't work well with Gnome and it has all window managers. Especially doesn't work well with Gnome and it has
been reported that it doesn't work with KDE either. Nautilus can be been reported that it doesn't work with KDE either. Nautilus can be
@ -596,10 +598,10 @@
to set some specific window id. You might find xwininfo -tree useful to to set some specific window id. You might find xwininfo -tree useful to
find the window to draw to. You can also use -o argument which makes find the window to draw to. You can also use -o argument which makes
Conky to create its own window. Conky to create its own window.
</p></div><div class="refsect1" lang="en"><a name="id2521579"></a><h2>See Also</h2><p><a href="http://conky.sourceforge.net" target="_top"> </p></div><div class="refsect1" lang="en"><a name="id269160"></a><h2>See Also</h2><p><a href="http://conky.sourceforge.net" target="_top">
http://conky.sourceforge.net</a></p><p><a href="http://www.sourceforge.net/projects/conky" target="_top"> http://conky.sourceforge.net</a></p><p><a href="http://www.sourceforge.net/projects/conky" target="_top">
http://www.sourceforge.net/projects/conky</a></p><p> http://www.sourceforge.net/projects/conky</a></p><p>
#conky on irc.freenode.net #conky on irc.freenode.net
</p></div><div class="refsect1" lang="en"><a name="id2521605"></a><h2>Authors</h2><p> </p></div><div class="refsect1" lang="en"><a name="id269185"></a><h2>Authors</h2><p>
The Conky dev team. What's up now??! The Conky dev team. What's up now??!
</p></div></div></body></html> </p></div></div></body></html>

View File

@ -8,8 +8,6 @@
]> ]>
<refentry> <refentry>
<title>Conky</title>
<refentryinfo> <refentryinfo>
<address> <address>
<email>brenden1@users.sourceforge.net</email> <email>brenden1@users.sourceforge.net</email>