syncmail test, again
[monky] / doc / docs.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3                "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4                <!ENTITY testtable SYSTEM "test.xml">
5                <!ENTITY command_options SYSTEM "command_options.xml">
6                <!ENTITY config_settings SYSTEM "config_settings.xml">
7                <!ENTITY variables SYSTEM "variables.xml">
8                ]>
9
10 <refentry>
11   <refentryinfo>
12     <address>
13       <email>brenden1@users.sourceforge.net</email>
14     </address>
15     <author>
16       <firstname>Brenden</firstname>
17       <surname>Matthews</surname>
18     </author>
19     <date>2005-08-27</date>
20   </refentryinfo>
21
22   <refmeta>
23     <refentrytitle>conky</refentrytitle>
24     <manvolnum>1</manvolnum>
25   </refmeta>
26
27   <refnamediv>
28     <refname>conky</refname>
29     <refpurpose>A system monitor for X originally based on the torsmo code, but more kickass.  It just keeps on given'er.</refpurpose>
30   </refnamediv>
31
32   <refsynopsisdiv>
33     <cmdsynopsis>
34       <command>conky</command>
35       <arg><replaceable>options</replaceable></arg>
36     </cmdsynopsis>
37   </refsynopsisdiv>
38   
39   <refsect1>
40     <title>Description</title>
41     <para>
42     Conky is a system monitor for X originally based on the torsmo code. 
43     Since it's original conception, Conky has changed a fair bit from it's predecessor.  
44     Conky can display just about anything, either on your root desktop or in it's own window.  
45     Conky has many built-in objects, as well as the ability to execute programs and scripts, 
46     then display the output from stdout.
47                 </para>
48                 <para>
49                 We are always looking for help, and anyone interested in becoming a developer is welcome.  
50                 Please use the facilities at SourceForge to make bug reports, feature requests, and submit patches.
51                 </para>
52                 <para>
53                 Thanks for your interest in Conky.
54                 </para>    
55   </refsect1>
56
57         <refsect1>
58                 <title>Compiling</title>
59                 <para>
60                 First, make sure you have the X development libraries installed, this should be a package along the lines 
61                 of "libx11-dev or xorg-x11-dev". Gentoo users, Conky is in Gentoo's Portage.  Simply use "emerge conky" for installation.
62                 There is also usually an up-to-date ebuild within Conky's package or in CVS.
63                 </para>
64                 <para>
65                 To compile and run Conky with all optional components:
66                 </para>
67                 <variablelist>
68                         <varlistentry>
69                                 <term>
70                                         <command><option>sh autogen.sh</option></command> <option># Only required if building from CVS</option>
71                                 </term>
72                         </varlistentry>
73                         <varlistentry>
74                                 <term>
75                                 <command><option>./configure </option></command><option>
76 --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
77 --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib 
78 --enable-double-buffer --enable-own-window --enable-proc-uptime 
79 --enable-mpd --enable-xft --enable-seti</option>
80                                 </term>
81                         </varlistentry>
82                         <varlistentry>
83                                 <term>
84                                         <command><option>make</option></command>
85                                 </term>
86                         </varlistentry>
87                         <varlistentry>
88                                 <term>
89                                         <command><option>make install</option></command> <option># Optional</option>
90                                 </term>
91                         </varlistentry>
92                         <varlistentry>
93                                 <term>
94                                         <command><option>./conky</option></command>     
95                                 </term>
96                         </varlistentry>
97                 </variablelist>
98                 <para>
99                         Conky doesn't probably compile with other compilers than gcc and icc. 
100                         It doesn't compile with C89 compiler and not even with pure C99.
101                         It uses few     things that might not exist: strdup(), strcasecmp(), strncasecmp(), 
102                         optarg variable with getopt() and long long (not in C89). Crashes in file system
103                         statistics stuff when compiled with icc, I don't know exactly why.
104                 </para>
105                 <para>
106                         You can disable 'drawing to own window' feature in case you don't need it       by passing 
107                         --disable-own-window to configure -script.
108                 </para>
109                 <para>
110                         
111                 </para>
112         </refsect1>
113
114
115   
116   <refsect1>
117     <title>You Should Know</title>
118     <para>
119                 Conky is generally very good on resources.  However, certain objects in
120                 Conky are harder on resources then others.  In particular, the $tail,
121                 $top, $font, and $graph objects are quite costly in comparison to the rest of Conky.
122                 </para>
123                 <para>
124                 If you do use them, please do not complain about memory or CPU usage, 
125                 unless you think something is going seriously wrong (mem leak, et cetera).
126                 </para>
127                 <para>
128                 Easy way to force Conky to reload your ~/.conkyrc: "killall -SIGUSR1 conky".
129                 Saves you the trouble of having to stop and then restart!
130                 </para>
131   </refsect1>  
132   
133   <refsect1>
134     <title>Options</title>
135         
136     <para>Command line options override configurations defined in configuration file.</para>
137      
138                 &command_options;
139
140   </refsect1>
141
142         <refsect1>
143                 <title>Configuration Settings</title>
144                 
145                 <para>
146                 Default configuration file is $HOME/.conkyrc (can be changed from
147                 conky.c among other things). See conkyrc.sample. You might want to copy
148                 it to $HOME/.conkyrc and then start modifying it.
149                 </para>
150                 
151                 &config_settings;
152         </refsect1>
153
154         <refsect1>
155                 <title>Variables</title>
156                 
157                 <para>
158                 Colors are parsed using XParsecolor(), there might be a list of them:
159                 /usr/X11R6/lib/X11/rgb.txt. Also, <ulink url="http://sedition.com/perl/rgb.html">
160                                                                                                                                                          http://sedition.com/perl/rgb.html</ulink>
161                 Color can be also in #rrggbb format (hex).
162                 
163                 Note that when displaying bytes, power is 1024 and not 1000 so 1M really
164                 means 1024*1024 bytes and not 1000*1000.
165                 </para>
166                 
167                 &variables;
168         </refsect1>
169
170         <refsect1>
171                 <title>Examples</title>
172                 <variablelist>
173                 
174                         <varlistentry>
175                                 <term><varname>conky </varname><option>-t &apos;${time %D %H:%m}&apos; -o -u 30</option></term>
176                                 <listitem>Start Conky in its own window with date and clock as text and 30 sec update interval.</listitem>
177                         </varlistentry>
178                         
179                         <varlistentry>
180                                 <term><varname>conky </varname><option>-a top_left -x 5 -y 500 -d</option></term>
181                                 <listitem>Start Conky to background at coordinates (5, 500).</listitem>
182                         </varlistentry>
183                         
184                 </variablelist>
185         </refsect1>
186
187         <refsect1>
188                 <title>Files</title>
189                 <filename>~/.conkyrc</filename> default configuration file
190         </refsect1>
191
192         <refsect1>
193                 <title>Bugs</title>
194                 <para>  
195                 Drawing to root or some other desktop window directly doesn't work with 
196                 all window managers. Especially doesn't work well with Gnome and it has 
197                 been reported that it doesn't work with KDE either. Nautilus can be 
198                 disabled from drawing to desktop with program gconf-editor. Uncheck 
199                 show_desktop in /apps/nautilus/preferences/. There is -w switch in Conky 
200                 to set some specific window id. You might find xwininfo -tree useful to 
201                 find the window to draw to. You can also use -o argument which makes
202                 Conky to create its own window.
203                 </para>
204         </refsect1>
205
206   <refsect1>
207     <title>See Also</title>    
208     <para><ulink url="http://conky.sourceforge.net">
209     http://conky.sourceforge.net</ulink></para>
210     <para><ulink url="http://www.sourceforge.net/projects/conky">
211     http://www.sourceforge.net/projects/conky</ulink></para>
212                 <para>
213                         #conky on irc.freenode.net
214                 </para>
215   </refsect1>
216   
217         <refsect1>
218                 <title>Authors</title>
219                 <para>
220                         The Conky dev team. What's up now??!
221                 </para>
222         </refsect1>  
223           
224 </refentry>