added , , for crypto freaks
[monky] / doc / conky.1
1 .\" -*- coding: us-ascii -*-
2 .if \n(.g .ds T< \\FC
3 .if \n(.g .ds T> \\F[\n[.fam]]
4 .de URL
5 \\$2 \(la\\$1\(ra\\$3
6 ..
7 .if \n(.g .mso www.tmac
8 .TH conky 1 2006-05-13  
9 .SH NAME
10 conky \- A system monitor for X originally based on the torsmo code, but more kickass. It just keeps on given'er. Yeah.
11 .SH SYNOPSIS
12 'nh
13 .fi
14 .ad l
15 \fBconky\fR \kx
16 .if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
17 'in \n(.iu+\nxu
18 [\fIoptions\fR]
19 'in \n(.iu-\nxu
20 .ad b
21 'hy
22 .SH DESCRIPTION
23 Conky is a system monitor for X originally based on the torsmo code. 
24 Since it's original conception, Conky has changed a fair bit from it's predecessor. 
25 Conky can display just about anything, either on your root desktop or in it's own window. 
26 Conky has many built-in objects, as well as the ability to execute programs and scripts, 
27 then display the output from stdout.
28 .PP
29 We are always looking for help, and anyone interested in becoming a developer is welcome. 
30 Please use the facilities at SourceForge to make bug reports, feature requests, and submit patches.
31 .PP
32 Thanks for your interest in Conky.
33 .SH COMPILING
34 For users compiling from source, make sure you have the X development libraries installed. 
35 This should be a package along the lines of "libx11-dev or xorg-x11-dev". 
36 .PP
37 Gentoo users -- Conky is in Gentoo's Portage... simply use "emerge app-admin/conky" for installation.
38 There is also usually an up-to-date ebuild within Conky's package or in Svn.
39 .PP
40 Debian,etc. users -- Conky will be in Debian's repositories soon (by mid-September, hopefully), and then 
41 Ubuntu shortly thereafter. Until then, "dpkg -i" the .deb package to install. 
42 .PP
43 Example to compile and run Conky with all optional components (note that some configure options may differ for your system):
44 .TP 
45 \fB\*(T<\fBsh autogen.sh\fR\*(T>\fR \*(T<\fB# Only required if building from Svn\fR\*(T> 
46 .TP 
47 \fB\*(T<\fB\&./configure \fR\*(T>\fR\*(T<\fB\-\-prefix=/usr \-\-mandir=/usr/share/man \-\-infodir=/usr/share/info \-\-datadir=/usr/share \-\-sysconfdir=/etc \-\-localstatedir=/var/lib \-\-enable\-xft \-\-enable\-own\-window \-\-enable\-proc\-uptime \-\-enable\-audacious \-\-enable\-bmpx \-\-enable\-hddtemp \-\-enable\-mpd \-\-enable\-xmms2 \-\-enable\-imlib2 \-\-enable\-portmon \-\-enable\-debug \-\-enable\-double\-buffer \-\-enable\-xdamage \-\-enable\-x11\fR\*(T> 
48 .TP 
49 \fB\*(T<\fBmake\fR\*(T>\fR 
50 .TP 
51 \fB\*(T<\fBmake install\fR\*(T>\fR \*(T<\fB# Optional\fR\*(T> 
52 .TP 
53 \fB\*(T<\fBsrc/conky\fR\*(T>\fR 
54 .PP
55 Conky probably doesn't compile with compilers other than gcc and icc. 
56 It doesn't compile with C89 compiler and not even with pure C99.
57 It uses a few things that might not exist: strdup(), strcasecmp(), strncasecmp(), 
58 optarg variable with getopt() and long long (not in C89). Crashes in file system
59 statistics stuff when compiled with icc, I don't know exactly why.
60 .PP
61 You can disable 'drawing to own window' feature in case you don't need it by passing 
62 --disable-own-window to configure -script.
63 .PP
64 .SH "YOU SHOULD KNOW"
65 Conky is generally very good on resources. However, certain objects in
66 Conky are harder on resources then others. In particular, the $tail,
67 $top, $font, and $graph objects are quite costly in comparison to the rest of Conky.
68 .PP
69 If you do use them, please do not complain about memory or CPU usage, 
70 unless you think something's seriously wrong (mem leak, etc.).
71 .PP
72 An easy way to force Conky to reload your ~/.conkyrc: "killall -SIGUSR1 conky".
73 Saves you the trouble of having to kill and then restart.
74 .PP
75 IMPORTANT: For previous Conky users, Conky 1.3 no longer supports the metar stuff. 
76 mdsplib was causing way too many problems. Hopefully there'll be a better solution in Conky 2.x...
77 .SH OPTIONS
78 Command line options override configurations defined in configuration file.
79 .TP 
80 \fB\*(T<\fB\-v | \-V\fR\*(T>\fR
81 Prints version and exits
82
83 .TP 
84 \fB\*(T<\fB\-a \fR\*(T>\fR\*(T<\fBALIGNMENT\fR\*(T>
85 Text alignment on screen, {top,bottom}_{left,right} or none
86
87 .TP 
88 \fB\*(T<\fB\-b\fR\*(T>\fR
89 Use double buffering (eliminates "flicker")
90
91 .TP 
92 \fB\*(T<\fB\-c \fR\*(T>\fR\*(T<\fBFILE\fR\*(T>
93 Config file to load instead of $HOME/.conkyrc
94
95 .TP 
96 \fB\*(T<\fB\-d\fR\*(T>\fR
97 Daemonize Conky, aka fork to background
98
99 .TP 
100 \fB\*(T<\fB\-f \fR\*(T>\fR\*(T<\fBFONT\fR\*(T>
101 Font to use
102
103 .TP 
104 \fB\*(T<\fB\-h\fR\*(T>\fR
105 Prints command line help and exits
106
107 .TP 
108 \fB\*(T<\fB\-o\fR\*(T>\fR
109 Create own window to draw
110
111 .TP 
112 \fB\*(T<\fB\-t \fR\*(T>\fR\*(T<\fBTEXT\fR\*(T>
113 Text to render, remember single quotes, like -t ' $uptime '
114
115 .TP 
116 \fB\*(T<\fB\-u \fR\*(T>\fR\*(T<\fBSECONDS\fR\*(T>
117 Update interval
118
119 .TP 
120 \fB\*(T<\fB\-w \fR\*(T>\fR\*(T<\fBWIN_ID\fR\*(T>
121 Window id to draw
122
123 .TP 
124 \fB\*(T<\fB\-x \fR\*(T>\fR\*(T<\fBX_COORDINATE\fR\*(T>
125 X position
126
127 .TP 
128 \fB\*(T<\fB\-y \fR\*(T>\fR\*(T<\fBY_COORDINATE\fR\*(T>
129 Y position
130
131 .SH "CONFIGURATION SETTINGS"
132 Default configuration file is $HOME/.conkyrc (can be changed from
133 conky.c among other things). See conkyrc.sample. If installing from Debian package, 
134 this should be in /usr/share/doc/conky/examples ("gunzip conkyrc.sample.gz" to get conkyrc.sample).
135 .PP
136 You might want to copy it to $HOME/.conkyrc and then start modifying it.
137 Other configs can be found at http://conky.sf.net
138 .TP 
139 \fB\*(T<\fBalignment\fR\*(T>\fR
140 Aligned position on screen, may be top_left, top_right, bottom_left, bottom_right, or none
141
142 .TP 
143 \fB\*(T<\fBbackground\fR\*(T>\fR
144 Boolean value, if true, Conky will be forked to background when started
145
146 .TP 
147 \fB\*(T<\fBborder_margin\fR\*(T>\fR
148 Border margin in pixels
149
150 .TP 
151 \fB\*(T<\fBborder_width\fR\*(T>\fR
152 Border width in pixels
153
154 .TP 
155 \fB\*(T<\fBcpu_avg_samples\fR\*(T>\fR
156 The number of samples to average for CPU monitoring
157
158 .TP 
159 \fB\*(T<\fBdefault_color\fR\*(T>\fR
160 Default color and border color
161
162 .TP 
163 \fB\*(T<\fBdefault_outline_color\fR\*(T>\fR
164 Default outline color
165
166 .TP 
167 \fB\*(T<\fBdefault_shade_color\fR\*(T>\fR
168 Default shading color and border's shading color
169
170 .TP 
171 \fB\*(T<\fBdouble_buffer\fR\*(T>\fR
172 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.
173
174 .TP 
175 \fB\*(T<\fBdraw_borders\fR\*(T>\fR
176 Draw borders around text?
177
178 .TP 
179 \fB\*(T<\fBdraw_graph_borders\fR\*(T>\fR
180 Draw borders around graphs?
181
182 .TP 
183 \fB\*(T<\fBdraw_outline\fR\*(T>\fR
184 Draw outlines?
185
186 .TP 
187 \fB\*(T<\fBdraw_shades\fR\*(T>\fR
188 Draw shades?
189
190 .TP 
191 \fB\*(T<\fBfont\fR\*(T>\fR
192 Font name in X, xfontsel can be used to get a nice font
193
194 .TP 
195 \fB\*(T<\fBgap_x\fR\*(T>\fR
196 Gap, in pixels, between right or left border of screen, same as passing -x at command line,
197 e.g. gap_x 10
198
199 .TP 
200 \fB\*(T<\fBgap_y\fR\*(T>\fR
201 Gap, in pixels, between top or bottom border of screen, same as passing -y at command line,
202 e.g. gap_y 10.
203
204 .TP 
205 \fB\*(T<\fBimap\fR\*(T>\fR
206 Default global IMAP server. Arguments are: "host user pass [-i interval] [-f folder] [-p port] [-e command]". Default port is 143, default folder is 'INBOX', default interval is 5 minutes. If the password is supplied as '*', you will be prompted to enter the password when Conky starts.
207
208 .TP 
209 \fB\*(T<\fBmail_spool\fR\*(T>\fR
210 Mail spool for mail checking
211
212 .TP 
213 \fB\*(T<\fBmax_specials\fR\*(T>\fR
214 Maximum number of special things, e.g. fonts, offsets, aligns, etc. (default is 512)
215
216 .TP 
217 \fB\*(T<\fBmax_user_text\fR\*(T>\fR \*(T<\fBbytes\fR\*(T> 
218 Maximum size of user text buffer, i.e. layout below TEXT line in config file
219 (default is 16384 bytes)
220
221 .TP 
222 \fB\*(T<\fBmaximum_width\fR\*(T>\fR \*(T<\fBpixels\fR\*(T> 
223 Maximum width of window
224
225 .TP 
226 \fB\*(T<\fBminimum_size\fR\*(T>\fR \*(T<\fBwidth (height)\fR\*(T> 
227 Minimum size of window
228
229 .TP 
230 \fB\*(T<\fBmin_port_monitors\fR\*(T>\fR
231 Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16) 
232
233 .TP 
234 \fB\*(T<\fBmin_port_monitor_connections\fR\*(T>\fR
235 Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
236
237 .TP 
238 \fB\*(T<\fBmpd_host\fR\*(T>\fR
239 Host of MPD server
240
241 .TP 
242 \fB\*(T<\fBmpd_port\fR\*(T>\fR
243 Port of MPD server
244
245 .TP 
246 \fB\*(T<\fBmpd_password\fR\*(T>\fR
247 MPD server password
248
249 .TP 
250 \fB\*(T<\fBnet_avg_samples\fR\*(T>\fR
251 The number of samples to average for net data
252
253 .TP 
254 \fB\*(T<\fBno_buffers\fR\*(T>\fR
255 Substract (file system) buffers from used memory?
256
257 .TP 
258 \fB\*(T<\fBoverride_utf8_locale\fR\*(T>\fR
259 Force UTF8? requires XFT
260
261 .TP 
262 \fB\*(T<\fBown_window\fR\*(T>\fR
263 Boolean, create own window to draw?
264
265 .TP 
266 \fB\*(T<\fBown_window_transparent\fR\*(T>\fR
267 Boolean, set pseudo-transparency?
268
269 .TP 
270 \fB\*(T<\fBown_window_type\fR\*(T>\fR
271 if own_window is yes, you may specify type normal, desktop or override (default: normal).
272 Desktop windows are special windows that have no window decorations; are always visible 
273 on your desktop; do not appear in your pager or taskbar; and are sticky across all workspaces.
274 Override windows are not under the control of the window manager. Hints are ignored. This type
275 of window can be useful for certain situations.
276
277 .TP 
278 \fB\*(T<\fBown_window_colour\fR\*(T>\fR \*(T<\fBcolour\fR\*(T> 
279 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)
280
281 .TP 
282 \fB\*(T<\fBown_window_hints\fR\*(T>\fR \*(T<\fBundecorated,below,above,sticky,skip_taskbar,skip_pager\fR\*(T> 
283 If own_window is yes, you may use these window manager hints to affect the way Conky displays. 
284 Notes: Use own_window_type desktop as another way to implement many of these hints implicitly.
285 If you use own_window_type override, window manager hints have no meaning and are ignored.
286
287 .TP 
288 \fB\*(T<\fBout_to_console\fR\*(T>\fR 
289 Print text to stdout.
290
291 .TP 
292 \fB\*(T<\fBpad_percents\fR\*(T>\fR
293 Pad percentages to this many decimals (0 = no padding)
294
295 .TP 
296 \fB\*(T<\fBpop3\fR\*(T>\fR
297 Default global POP3 server. Arguments are: "host user pass [-i interval] [-p port] [-e command]". Default port is 110, default interval is 5 minutes. If the password is supplied as '*', you will be prompted to enter the password when Conky starts.
298
299 .TP 
300 \fB\*(T<\fBstippled_borders\fR\*(T>\fR
301 Border stippling (dashing) in pixels
302
303 .TP 
304 \fB\*(T<\fBtotal_run_times\fR\*(T>\fR
305 Total number of times for Conky to update before quitting. Zero makes Conky run forever
306
307 .TP 
308 \fB\*(T<\fBupdate_interval\fR\*(T>\fR
309 Update interval in seconds
310
311 .TP 
312 \fB\*(T<\fBuppercase\fR\*(T>\fR
313 Boolean value, if true, text is rendered in upper case
314
315 .TP 
316 \fB\*(T<\fBuse_spacer\fR\*(T>\fR
317 Adds spaces after certain objects to stop them from moving other things around. Note that this only helps if you are using a mono font, such as Bitstream Vera Sans Mono.
318
319 .TP 
320 \fB\*(T<\fBuse_xft\fR\*(T>\fR
321 Use Xft (anti-aliased font and stuff)
322
323 .TP 
324 \fB\*(T<\fBwm_class_name\fR\*(T>\fR
325 Manually set the WM_CLASS name. Defaults to "conky".
326
327 .TP 
328 \fB\*(T<\fBxftalpha\fR\*(T>\fR
329 Alpha of Xft font. Must be a value at or between 1 and 0.
330
331 .TP 
332 \fB\*(T<\fBxftfont\fR\*(T>\fR
333 Xft font to use.
334
335 .TP 
336 \fB\*(T<\fBTEXT\fR\*(T>\fR
337 After this begins text to be formatted on screen
338
339 .SH VARIABLES
340 Colors are parsed using XParsecolor(), there might be a list of them:
341 /usr/X11R6/lib/X11/rgb.txt. Also, \(lahttp://sedition.com/perl/rgb.html\(ra.
342 Color can be also in #rrggbb format (hex).
343 Note that when displaying bytes, power is 1024 and not 1000 so 1M really
344 means 1024*1024 bytes and not 1000*1000.
345 .TP 
346 \fB\*(T<\fBaddr\fR\*(T>\fR \*(T<\fBinterface\fR\*(T> 
347 IP address for an interface
348
349 .TP 
350 \fB\*(T<\fBacpiacadapter\fR\*(T>\fR 
351 ACPI ac adapter state.
352
353 .TP 
354 \fB\*(T<\fBacpifan\fR\*(T>\fR 
355 ACPI fan state
356
357 .TP 
358 \fB\*(T<\fBacpitemp\fR\*(T>\fR 
359 ACPI temperature in C.
360
361 .TP 
362 \fB\*(T<\fBacpitempf\fR\*(T>\fR 
363 ACPI temperature in F.
364
365 .TP 
366 \fB\*(T<\fBadt746xcpu\fR\*(T>\fR 
367 CPU temperature from therm_adt746x
368
369 .TP 
370 \fB\*(T<\fBadt746xfan\fR\*(T>\fR 
371 Fan speed from therm_adt746x
372
373 .TP 
374 \fB\*(T<\fBalignr\fR\*(T>\fR \*(T<\fB(num)\fR\*(T> 
375 Right-justify text, with space of N
376
377 .TP 
378 \fB\*(T<\fBalignc\fR\*(T>\fR \*(T<\fB(num)\fR\*(T> 
379 Align text to centre
380
381 .TP 
382 \fB\*(T<\fBapm_adapter\fR\*(T>\fR 
383 Display APM AC adapter status (FreeBSD only)
384
385 .TP 
386 \fB\*(T<\fBapm_battery_life\fR\*(T>\fR 
387 Display APM battery life in percent (FreeBSD only)
388
389 .TP 
390 \fB\*(T<\fBapm_battery_time\fR\*(T>\fR 
391 Display remaining APM battery life in hh:mm:ss or "unknown" if
392 AC adapterstatus is on-line or charging (FreeBSD only)
393
394 .TP 
395 \fB\*(T<\fBaudacious_bar\fR\*(T>\fR \*(T<\fB(height),(width)\fR\*(T> 
396 Progress bar
397
398 .TP 
399 \fB\*(T<\fBaudacious_bitrate\fR\*(T>\fR 
400 Bitrate of current tune
401
402 .TP 
403 \fB\*(T<\fBaudacious_channels\fR\*(T>\fR 
404 Number of audio channels of current tune
405
406 .TP 
407 \fB\*(T<\fBaudacious_filename\fR\*(T>\fR 
408 Full path and filename of current tune
409
410 .TP 
411 \fB\*(T<\fBaudacious_frequency\fR\*(T>\fR 
412 Sampling frequency of current tune
413
414 .TP 
415 \fB\*(T<\fBaudacious_length\fR\*(T>\fR 
416 Total length of current tune as MM:SS
417
418 .TP 
419 \fB\*(T<\fBaudacious_length_seconds\fR\*(T>\fR 
420 Total length of current tune in seconds
421
422 .TP 
423 \fB\*(T<\fBaudacious_playlist_position\fR\*(T>\fR 
424 Playlist position of current tune
425
426 .TP 
427 \fB\*(T<\fBaudacious_playlist_length\fR\*(T>\fR 
428 Number of tunes in playlist
429
430 .TP 
431 \fB\*(T<\fBaudacious_position\fR\*(T>\fR 
432 Position of current tune (MM:SS)
433
434 .TP 
435 \fB\*(T<\fBaudacious_position_seconds\fR\*(T>\fR 
436 Position of current tune in seconds
437
438 .TP 
439 \fB\*(T<\fBaudacious_status\fR\*(T>\fR 
440 Player status (Playing/Paused/Stopped/Not running)
441
442 .TP 
443 \fB\*(T<\fBaudacious_title\fR\*(T>\fR 
444 Title of current tune
445
446 .TP 
447 \fB\*(T<\fBbattery\fR\*(T>\fR \*(T<\fB(num)\fR\*(T> 
448 Remaining capacity in ACPI or APM battery. ACPI battery number can be given as argument (default is BAT0).
449
450 .TP 
451 \fB\*(T<\fBbmpx_artist\fR\*(T>\fR 
452 Artist in current BMPx track
453
454 .TP 
455 \fB\*(T<\fBbmpx_album\fR\*(T>\fR 
456 Album in current BMPx track
457
458 .TP 
459 \fB\*(T<\fBbmpx_title\fR\*(T>\fR 
460 Title of the current BMPx track
461
462 .TP 
463 \fB\*(T<\fBbmpx_track\fR\*(T>\fR 
464 Track number of the current BMPx track
465
466 .TP 
467 \fB\*(T<\fBbmpx_bitrate\fR\*(T>\fR 
468 Bitrate of the current BMPx track
469
470 .TP 
471 \fB\*(T<\fBbmpx_uri\fR\*(T>\fR 
472 URI of the current BMPx track
473
474 .TP 
475 \fB\*(T<\fBbuffers\fR\*(T>\fR 
476 Amount of memory buffered
477
478 .TP 
479 \fB\*(T<\fBcached\fR\*(T>\fR 
480 Amount of memory cached
481
482 .TP 
483 \fB\*(T<\fBcolor\fR\*(T>\fR \*(T<\fB(color)\fR\*(T> 
484 Change drawing color to color
485
486 .TP 
487 \fB\*(T<\fBcpu\fR\*(T>\fR \*(T<\fB(cpuN)\fR\*(T> 
488 CPU usage in percents. For SMP machines, the CPU number can be provided as an argument. ${cpu 0} is the total usage, and ${cpu X} (X >= 1) are individual CPUs. 
489
490 .TP 
491 \fB\*(T<\fBcpubar\fR\*(T>\fR \*(T<\fB(cpu number) (height),(width)\fR\*(T> 
492 Bar that shows CPU usage, height is bar's height in pixels. See $cpu for more info on SMP.
493
494 .TP 
495 \fB\*(T<\fBcpugraph\fR\*(T>\fR \*(T<\fB(cpu number) (height),(width) (gradient colour 1) (gradient colour 2)\fR\*(T> 
496 CPU usage graph, with optional colours in hex, minus the #. See $cpu for more info on SMP.
497
498 .TP 
499 \fB\*(T<\fBdiskio\fR\*(T>\fR 
500 Displays current disk IO.
501
502 .TP 
503 \fB\*(T<\fBdiskiograph\fR\*(T>\fR \*(T<\fB(height),(width) (gradient colour 1) (gradient colour 2) (scale)\fR\*(T> 
504 Disk IO graph, colours defined in hex, minus the #. If scale is non-zero, it becomes the scale for the graph.
505
506 .TP 
507 \fB\*(T<\fBdownspeed\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
508 Download speed in kilobytes
509
510 .TP 
511 \fB\*(T<\fBdownspeedf\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
512 Download speed in kilobytes with one decimal
513
514 .TP 
515 \fB\*(T<\fBdownspeedgraph\fR\*(T>\fR \*(T<\fBnet (height),(width) (gradient colour 1) (gradient colour 2) (scale)\fR\*(T> 
516 Download speed graph, colours defined in hex, minus the #. If scale is non-zero, it becomes the scale for the graph.
517
518 .TP 
519 \fB\*(T<\fBelse\fR\*(T>\fR 
520 Text to show if any of the above are not true
521
522 .TP 
523 \fB\*(T<\fBentropy_avail\fR\*(T>\fR 
524 Current entropy available for crypto freaks
525
526 .TP 
527 \fB\*(T<\fBentropy_bar\fR\*(T>\fR \*(T<\fB(height),(width)\fR\*(T> 
528 Normalized bar of available entropy for crypto freaks
529
530 .TP 
531 \fB\*(T<\fBentropy_poolsize\fR\*(T>\fR 
532 Total size of system entropy pool for crypto freaks
533
534 .TP 
535 \fB\*(T<\fBexec\fR\*(T>\fR \*(T<\fBcommand\fR\*(T> 
536 Executes a shell command and displays the output in conky. warning: this takes a lot more resources than other variables. I'd recommend coding wanted behaviour in C and posting a patch.
537
538 .TP 
539 \fB\*(T<\fBexecbar\fR\*(T>\fR \*(T<\fBcommand\fR\*(T> 
540 Same as exec, except if the first value return is a value between 0-100, it will use that number for a bar. The size for the bar is currently fixed, but that may change in the future.
541
542 .TP 
543 \fB\*(T<\fBexecgraph\fR\*(T>\fR \*(T<\fBcommand\fR\*(T> 
544 Same as execbar, but graphs values.
545
546 .TP 
547 \fB\*(T<\fBexeci\fR\*(T>\fR \*(T<\fBinterval command\fR\*(T> 
548 Same as exec but with specific interval. Interval can't be less than update_interval in configuration. See also $texeci
549
550 .TP 
551 \fB\*(T<\fBexecibar\fR\*(T>\fR \*(T<\fBinterval command\fR\*(T> 
552 Same as execbar, except with an interval
553
554 .TP 
555 \fB\*(T<\fBexecigraph\fR\*(T>\fR \*(T<\fBinterval command\fR\*(T> 
556 Same as execigraph, but takes an interval arg graphs values
557
558 .TP 
559 \fB\*(T<\fBfont\fR\*(T>\fR \*(T<\fB(font)\fR\*(T> 
560 Specify a different font. This new font will apply to the current line and everything following. You can use a $font with no arguments to change back to the default font (much like with $color)
561
562 .TP 
563 \fB\*(T<\fBfreq\fR\*(T>\fR \*(T<\fB(n)\fR\*(T> 
564 Returns CPU #n's frequency in MHz. CPUs are
565 counted from 1. If omitted, the parameter
566 defaults to 1.
567
568 .TP 
569 \fB\*(T<\fBfreq_g\fR\*(T>\fR \*(T<\fB(n)\fR\*(T> 
570 Returns CPU #n's frequency in GHz. CPUs are
571 counted from 1. If omitted, the parameter
572 defaults to 1.
573
574 .TP 
575 \fB\*(T<\fBfreq_dyn\fR\*(T>\fR 
576 Returns CPU frequency in MHz, but is calculated by counting to clock cycles to complete an instruction. Only available for x86/amd64.
577
578 .TP 
579 \fB\*(T<\fBfreq_dyn_g\fR\*(T>\fR 
580 Returns CPU frequency in GHz, but is calculated by counting to clock cycles to complete an instruction. Only available for x86/amd64.
581
582 .TP 
583 \fB\*(T<\fBfs_bar\fR\*(T>\fR \*(T<\fB(height),(width) fs\fR\*(T> 
584 Bar that shows how much space is used on a file system. height is the height in pixels. fs is any file on that file system.
585
586 .TP 
587 \fB\*(T<\fBfs_free\fR\*(T>\fR \*(T<\fB(fs)\fR\*(T> 
588 Free space on a file system available for users.
589
590 .TP 
591 \fB\*(T<\fBfs_free_perc\fR\*(T>\fR \*(T<\fB(fs)\fR\*(T> 
592 Free percentage of space on a file system available for users.
593
594 .TP 
595 \fB\*(T<\fBfs_size\fR\*(T>\fR \*(T<\fB(fs)\fR\*(T> 
596 File system size
597
598 .TP 
599 \fB\*(T<\fBfs_used\fR\*(T>\fR \*(T<\fB(fs)\fR\*(T> 
600 File system used space
601
602 .TP 
603 \fB\*(T<\fBgoto\fR\*(T>\fR \*(T<\fBx\fR\*(T> 
604 The next element will be printed at position 'x'.
605
606 .TP 
607 \fB\*(T<\fBhddtemp\fR\*(T>\fR \*(T<\fBdev, (host,(port))\fR\*(T> 
608 Displays temperature of a selected hard disk drive as reported by the hddtemp daemon running on host:port.
609 Default host is 127.0.0.1, default port is 7634.
610
611 .TP 
612 \fB\*(T<\fBhead\fR\*(T>\fR \*(T<\fBlogfile lines (interval)\fR\*(T> 
613 Displays first N lines of supplied text text file. If interval is not supplied, Conky assumes 2x Conky's interval. Max of 30 lines can be displayed, or until the text buffer is filled.
614
615 .TP 
616 \fB\*(T<\fBhr\fR\*(T>\fR \*(T<\fB(height)\fR\*(T> 
617 Horizontal line, height is the height in pixels
618
619 .TP 
620 \fB\*(T<\fBiconv_start\fR\*(T>\fR \*(T<\fBcodeset_from codeset_to\fR\*(T> 
621 Convert text from one codeset to another using GNU iconv. Needs to be stopped with iconv_stop.
622
623 .TP 
624 \fB\*(T<\fBiconv_stop\fR\*(T>\fR 
625 Stop iconv codeset conversion.
626
627 .TP 
628 \fB\*(T<\fBi2c\fR\*(T>\fR \*(T<\fB(dev) type n\fR\*(T> 
629 I2C sensor from sysfs (Linux 2.6). dev may be omitted if you have only one I2C device. type is either in (or vol) meaning voltage, fan meaning fan or temp/tempf (first in C, second in F) meaning temperature. n is number of the sensor. See /sys/bus/i2c/devices/ on your local computer.
630
631 .TP 
632 \fB\*(T<\fBi8k_ac_status\fR\*(T>\fR 
633 If running the i8k kernel driver for Inspiron laptops, displays whether ac power is on, as listed in /proc/i8k (translated to human-readable). Beware that this is by default not enabled by i8k itself.
634
635 .TP 
636 \fB\*(T<\fBi8k_bios\fR\*(T>\fR 
637 If running the i8k kernel driver for Inspiron laptops, displays the bios version as listed in /proc/i8k.
638
639 .TP 
640 \fB\*(T<\fBi8k_buttons_status\fR\*(T>\fR 
641 If running the i8k kernel driver for Inspiron laptops, displays the volume buttons status as listed in /proc/i8k.
642
643 .TP 
644 \fB\*(T<\fBi8k_cpu_temp\fR\*(T>\fR 
645 If running the i8k kernel driver for Inspiron laptops, displays the cpu temperature in Celsius, as reported by /proc/i8k.
646
647 .TP 
648 \fB\*(T<\fBi8k_cpu_tempf\fR\*(T>\fR 
649 If running the i8k kernel driver for Inspiron laptops, displays the cpu temperature in Fahrenheit, as reported by /proc/i8k.
650
651 .TP 
652 \fB\*(T<\fBi8k_left_fan_rpm\fR\*(T>\fR 
653 If running the i8k kernel driver for Inspiron laptops, displays the left fan's rate of rotation, in revolutions per minute as listed in /proc/i8k. Beware, some laptops i8k reports these fans in reverse order.
654
655 .TP 
656 \fB\*(T<\fBi8k_left_fan_status\fR\*(T>\fR 
657 If running the i8k kernel driver for Inspiron laptops, displays the left fan status as listed in /proc/i8k (translated to human-readable). Beware, some laptops i8k reports these fans in reverse order.
658
659 .TP 
660 \fB\*(T<\fBi8k_right_fan_rpm\fR\*(T>\fR 
661 If running the i8k kernel driver for Inspiron laptops, displays the right fan's rate of rotation, in revolutions per minute as listed in /proc/i8k. Beware, some laptops i8k reports these fans in reverse order.
662
663 .TP 
664 \fB\*(T<\fBi8k_right_fan_status\fR\*(T>\fR 
665 If running the i8k kernel driver for Inspiron laptops, displays the right fan status as listed in /proc/i8k (translated to human-readable). Beware, some laptops i8k reports these fans in reverse order.
666
667 .TP 
668 \fB\*(T<\fBi8k_serial\fR\*(T>\fR 
669 If running the i8k kernel driver for Inspiron laptops, displays your laptop serial number as listed in /proc/i8k.
670
671 .TP 
672 \fB\*(T<\fBi8k_version\fR\*(T>\fR 
673 If running the i8k kernel driver for Inspiron laptops, displays the version formatting of /proc/i8k.
674
675 .TP 
676 \fB\*(T<\fBibm_fan\fR\*(T>\fR 
677 If running the IBM ACPI, displays the fan speed.
678
679 .TP 
680 \fB\*(T<\fBibm_temps\fR\*(T>\fR \*(T<\fBN\fR\*(T> 
681 If running the IBM ACPI, displays the temperatures
682 from the IBM temperature sensors (N=0..7) Sensor 0 is
683 on the CPU, 3 is on the GPU.
684
685 .TP 
686 \fB\*(T<\fBibm_volume\fR\*(T>\fR 
687 If running the IBM ACPI, displays the "master" volume,
688 controlled by the volume keys (0-14).
689
690 .TP 
691 \fB\*(T<\fBibm_brightness\fR\*(T>\fR 
692 If running the IBM ACPI, displays the brigtness of the
693 laptops's LCD (0-7).
694
695 .TP 
696 \fB\*(T<\fBif_running\fR\*(T>\fR \*(T<\fB(process)\fR\*(T> 
697 if PROCESS is running, display everything if_running and the matching $endif
698
699 .TP 
700 \fB\*(T<\fBif_existing\fR\*(T>\fR \*(T<\fB(file)\fR\*(T> 
701 if FILE exists, display everything between if_existing and the matching $endif
702
703 .TP 
704 \fB\*(T<\fBif_mounted\fR\*(T>\fR \*(T<\fB(mountpoint)\fR\*(T> 
705 if MOUNTPOINT is mounted, display everything between if_mounted and the matching $endif
706
707 .TP 
708 \fB\*(T<\fBimap_messages\fR\*(T>\fR \*(T<\fB(args)\fR\*(T> 
709 Displays the number of messages in your global IMAP inbox by default. You can define individual IMAP inboxes seperately by passing arguments to this object. Arguments are: "host user pass [-i interval] [-p port] [-e command]". Default port is 143, default interval is 5 minutes. If the password is supplied as '*', you will be prompted to enter the password when Conky starts.
710
711 .TP 
712 \fB\*(T<\fBimap_unseen\fR\*(T>\fR \*(T<\fB(args)\fR\*(T> 
713 Displays the number of unseen messages in your global IMAP inbox by default. You can define individual IMAP inboxes seperately by passing arguments to this object. Arguments are: "host user pass [-i interval] [-p port] [-e command]". Default port is 143, default interval is 5 minutes. If the password is supplied as '*', you will be prompted to enter the password when Conky starts.
714
715 .TP 
716 \fB\*(T<\fBkernel\fR\*(T>\fR 
717 Kernel version
718
719 .TP 
720 \fB\*(T<\fBlinkstatus\fR\*(T>\fR \*(T<\fBinterface\fR\*(T> 
721 Get the link status for wireless connections
722
723 .TP 
724 \fB\*(T<\fBloadavg\fR\*(T>\fR 
725 (1,2,3)> System load average, 1 is for past 1 minute, 2 for past 5 minutes and 3 for past 15 minutes.
726
727 .TP 
728 \fB\*(T<\fBmachine\fR\*(T>\fR 
729 Machine, i686 for example
730
731 .TP 
732 \fB\*(T<\fBmails\fR\*(T>\fR 
733 Mail count in mail spool. You can use program like fetchmail to get mails from some server using your favourite protocol. See also new_mails.
734
735 .TP 
736 \fB\*(T<\fBmem\fR\*(T>\fR 
737 Amount of memory in use
738
739 .TP 
740 \fB\*(T<\fBmembar\fR\*(T>\fR \*(T<\fB(height),(width)\fR\*(T> 
741 Bar that shows amount of memory in use
742
743 .TP 
744 \fB\*(T<\fBmemmax\fR\*(T>\fR 
745 Total amount of memory
746
747 .TP 
748 \fB\*(T<\fBmemperc\fR\*(T>\fR 
749 Percentage of memory in use
750
751 .TP 
752 \fB\*(T<\fBmpd_artist\fR\*(T>\fR 
753 Artist in current MPD song must be enabled at compile
754
755 .TP 
756 \fB\*(T<\fBmpd_album\fR\*(T>\fR 
757 Album in current MPD song
758
759 .TP 
760 \fB\*(T<\fBmpd_bar\fR\*(T>\fR \*(T<\fB(height),(width)\fR\*(T> 
761 Bar of mpd's progress
762
763 .TP 
764 \fB\*(T<\fBmpd_bitrate\fR\*(T>\fR 
765 Bitrate of current song
766
767 .TP 
768 \fB\*(T<\fBmpd_status\fR\*(T>\fR 
769 Playing, stopped, et cetera.
770
771 .TP 
772 \fB\*(T<\fBmpd_title\fR\*(T>\fR 
773 Title of current MPD song
774
775 .TP 
776 \fB\*(T<\fBmpd_vol\fR\*(T>\fR 
777 MPD's volume
778
779 .TP 
780 \fB\*(T<\fBmpd_elapsed\fR\*(T>\fR 
781 Song's elapsed time
782
783 .TP 
784 \fB\*(T<\fBmpd_length\fR\*(T>\fR 
785 Song's length
786
787 .TP 
788 \fB\*(T<\fBmpd_percent\fR\*(T>\fR 
789 Percent of song's progress
790
791 .TP 
792 \fB\*(T<\fBmpd_random\fR\*(T>\fR 
793 Random status (On/Off)
794
795 .TP 
796 \fB\*(T<\fBmpd_repeat\fR\*(T>\fR 
797 Repeat status (On/Off)
798
799 .TP 
800 \fB\*(T<\fBmpd_track\fR\*(T>\fR 
801 Prints the MPD track field
802
803 .TP 
804 \fB\*(T<\fBmpd_name\fR\*(T>\fR 
805 Prints the MPD name field
806
807 .TP 
808 \fB\*(T<\fBmpd_file\fR\*(T>\fR 
809 Prints the file name of the current MPD song
810
811 .TP 
812 \fB\*(T<\fBmpd_smart\fR\*(T>\fR 
813 Prints the song name in either the form "artist - title" or file name, depending on whats available
814
815 .TP 
816 \fB\*(T<\fBnew_mails\fR\*(T>\fR 
817 Unread mail count in mail spool.
818
819 .TP 
820 \fB\*(T<\fBnodename\fR\*(T>\fR 
821 Hostname
822
823 .TP 
824 \fB\*(T<\fBoutlinecolor\fR\*(T>\fR \*(T<\fB(color)\fR\*(T> 
825 Change outline color
826
827 .TP 
828 \fB\*(T<\fBpb_battery\fR\*(T>\fR \*(T<\fBitem\fR\*(T> 
829 If running on Apple powerbook/ibook, display
830 information on battery status. The item parameter
831 specifies, what information to display. Exactly one item
832 must be specified. Valid items are:
833
834 \fBstatus\fR:
835 Display if battery is fully charged, charging,
836 discharging or absent (running on AC)
837 .br
838 \fBpercent\fR:
839 Display charge of battery in percent, if
840 charging or discharging. Nothing will be
841 displayed, if battery is fully charged
842 or absent.
843 .br
844 \fBtime\fR:
845 Display the time remaining until the battery
846 will be fully charged or discharged at current
847 rate. Nothing is displayed, if battery is
848 absent or if it's present but fully charged
849 and not discharging.
850
851 .TP 
852 \fB\*(T<\fBpop3_unseen\fR\*(T>\fR \*(T<\fB(args)\fR\*(T> 
853 Displays the number of unseen messages in your global POP3 inbox by default. You can define individual POP3 inboxes seperately by passing arguments to this object. Arguments are: "host user pass [-i interval] [-p port] [-e command]". Default port is 110, default interval is 5 minutes. If the password is supplied as '*', you will be prompted to enter the password when Conky starts.
854
855 .TP 
856 \fB\*(T<\fBpop3_used\fR\*(T>\fR \*(T<\fB(args)\fR\*(T> 
857 Displays the amount of space (in MiB, 2^20) used in your global POP3 inbox by default. You can define individual POP3 inboxes seperately by passing arguments to this object. Arguments are: "host user pass [-i interval] [-p port] [-e command]". Default port is 110, default interval is 5 minutes. If the password is supplied as '*', you will be prompted to enter the password when Conky starts.
858
859 .TP 
860 \fB\*(T<\fBpre_exec\fR\*(T>\fR \*(T<\fBshell command\fR\*(T> 
861 Executes a shell command one time before conky displays anything and puts output as text.
862
863 .TP 
864 \fB\*(T<\fBprocesses\fR\*(T>\fR 
865 Total processes (sleeping and running)
866
867 .TP 
868 \fB\*(T<\fBrunning_processes\fR\*(T>\fR 
869 Running processes (not sleeping), requires Linux 2.6
870
871 .TP 
872 \fB\*(T<\fBshadecolor\fR\*(T>\fR \*(T<\fB(color)\fR\*(T> 
873 Change shading color
874
875 .TP 
876 \fB\*(T<\fBstippled_hr\fR\*(T>\fR \*(T<\fB(space)\fR\*(T> 
877 Stippled (dashed) horizontal line
878
879 .TP 
880 \fB\*(T<\fBswapbar\fR\*(T>\fR \*(T<\fB(height),(width)\fR\*(T> 
881 Bar that shows amount of swap in use
882
883 .TP 
884 \fB\*(T<\fBswap\fR\*(T>\fR 
885 Amount of swap in use
886
887 .TP 
888 \fB\*(T<\fBswapmax\fR\*(T>\fR 
889 Total amount of swap
890
891 .TP 
892 \fB\*(T<\fBswapperc\fR\*(T>\fR 
893 Percentage of swap in use
894
895 .TP 
896 \fB\*(T<\fBsysname\fR\*(T>\fR 
897 System name, Linux for example
898
899 .TP 
900 \fB\*(T<\fBtcp_portmon\fR\*(T>\fR \*(T<\fBport_begin port_end item (index)\fR\*(T> \fI(ip4 only at present)\fR 
901 TCP port monitor for specified local ports. Port numbers must be in the range 1 to 65535. Valid items are:
902
903 \fBcount\fR - total number of connections in the range
904 .br
905 \fBrip\fR - remote ip address
906 .br
907 \fBrhost\fR - remote host name 
908 .br
909 \fBrport\fR - remote port number
910 .br
911 \fBrservice\fR - remote service name from /etc/services
912 .br
913 \fBlip\fR - local ip address
914 .br
915 \fBlhost\fR - local host name
916 .br
917 \fBlport\fR - local port number
918 .br
919 \fBlservice\fR - local service name from /etc/services
920
921 The connection index provides you with access to each connection in the port monitor. The monitor will return information for index values from 0 to n-1 connections. Values higher than n-1 are simply ignored. For the "count" item, the connection index must be omitted. It is required for all other items.
922
923 Examples:
924 .br
925 \fB${tcp_portmon 6881 6999 count}\fR -
926 displays the number of connections in the bittorrent port range
927 .br
928 \fB${tcp_portmon 22 22 rip 0}\fR -
929 displays the remote host ip of the first sshd connection
930 .br
931 \fB${tcp_portmon 22 22 rip 9}\fR -
932 displays the remote host ip of the tenth sshd connection
933 .br
934 \fB${tcp_portmon 1 1024 rhost 0}\fR -
935 displays the remote host name of the first connection on a privileged port
936 .br
937 \fB${tcp_portmon 1 1024 rport 4}\fR -
938 displays the remote host port of the fifth connection on a privileged port
939 .br
940 \fB${tcp_portmon 1 65535 lservice 14}\fR -
941 displays the local service name of the fifteenth connection in the range of all ports
942
943 Note that port monitor variables which share the same port range actually refer to the same monitor, so many references to a single port range for different items and different indexes all use the same monitor internally. In other words, the program avoids creating redundant monitors. 
944 .TP 
945 \fB\*(T<\fBtexeci\fR\*(T>\fR \*(T<\fBinterval command\fR\*(T> 
946 Runs a command at an interval inside a thread and displays the output. Same as $execi, except the command is run inside a thread. Use this if you have a slow script to keep Conky updating. You should make the interval slightly longer then the time it takes your script to execute. For example, if you have a script that take 5 seconds to execute, you should make the interval at least 6 seconds. See also $execi.
947
948 .TP 
949 \fB\*(T<\fBoffset\fR\*(T>\fR \*(T<\fB(pixels)\fR\*(T> 
950 Move text over by N pixels. See also $voffset.
951
952 .TP 
953 \fB\*(T<\fBtab\fR\*(T>\fR \*(T<\fB(width, (start))\fR\*(T> 
954 Puts a tab of the specified width, starting from column 'start'.
955
956 .TP 
957 \fB\*(T<\fBtail\fR\*(T>\fR \*(T<\fBlogfile lines (interval)\fR\*(T> 
958 Displays last N lines of supplied text text file. If interval is not supplied, Conky assumes 2x Conky's interval. Max of 30 lines can be displayed, or until the text buffer is filled.
959
960 .TP 
961 \fB\*(T<\fBtime\fR\*(T>\fR \*(T<\fB(format)\fR\*(T> 
962 Local time, see man strftime to get more information about format
963
964 .TP 
965 \fB\*(T<\fButime\fR\*(T>\fR \*(T<\fB(format)\fR\*(T> 
966 Display time in UTC (universal coordinate time).
967
968 .TP 
969 \fB\*(T<\fBtztime\fR\*(T>\fR \*(T<\fB(timezone) (format)\fR\*(T> 
970 Local time for specified timezone, see man strftime to get more information about format. The timezone argument is specified in similar fashion as TZ environment variable. For hints, look in /usr/share/zoneinfo. e.g. US/Pacific, Europe/Zurich, etc.
971
972 .TP 
973 \fB\*(T<\fBtotaldown\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
974 Total download, overflows at 4 GB on Linux with 32-bit arch and there doesn't seem to be a way to know how many times it has already done that before conky has started.
975
976 .TP 
977 \fB\*(T<\fBtop\fR\*(T>\fR \*(T<\fBtype, num\fR\*(T> 
978 This takes arguments in the form:top (name) (number) Basically, processes are ranked from highest to lowest in terms of cpu usage, which is what (num) represents. The types are: "name", "pid", "cpu", and "mem". There can be a max of 10 processes listed.
979
980 .TP 
981 \fB\*(T<\fBtop_mem\fR\*(T>\fR \*(T<\fBtype, num\fR\*(T> 
982 Same as top, except sorted by mem usage instead of cpu
983
984 .TP 
985 \fB\*(T<\fBtotalup\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
986 Total upload, this one too, may overflow
987
988 .TP 
989 \fB\*(T<\fBupdates\fR\*(T>\fR \*(T<\fBNumber of updates\fR\*(T> 
990 for debugging
991
992 .TP 
993 \fB\*(T<\fBupspeed\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
994 Upload speed in kilobytes
995
996 .TP 
997 \fB\*(T<\fBupspeedf\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
998 Upload speed in kilobytes with one decimal
999
1000 .TP 
1001 \fB\*(T<\fBupspeedgraph\fR\*(T>\fR \*(T<\fBnet (height),(width) (gradient colour 1) (gradient colour 2) (scale)\fR\*(T> 
1002 Upload speed graph, colours defined in hex, minus the #. If scale is non-zero, it becomes the scale for the graph.
1003
1004 .TP 
1005 \fB\*(T<\fBuptime\fR\*(T>\fR 
1006 Uptime
1007
1008 .TP 
1009 \fB\*(T<\fBuptime_short\fR\*(T>\fR 
1010 Uptime in a shorter format
1011
1012 .TP 
1013 \fB\*(T<\fBvoffset\fR\*(T>\fR \*(T<\fB(pixels)\fR\*(T> 
1014 Change vertical offset by N pixels. Negative values will cause text to overlap. See also $offset.
1015
1016 .TP 
1017 \fB\*(T<\fBvoltage_mv\fR\*(T>\fR \*(T<\fB(n)\fR\*(T> 
1018 Returns CPU #n's voltage in mV. CPUs are
1019 counted from 1. If omitted, the parameter
1020 defaults to 1. 
1021
1022 .TP 
1023 \fB\*(T<\fBvoltage_v\fR\*(T>\fR \*(T<\fB(n)\fR\*(T> 
1024 Returns CPU #n's voltage in V. CPUs are
1025 counted from 1. If omitted, the parameter
1026 defaults to 1.
1027
1028 .SH EXAMPLES
1029 .TP 
1030 \*(T<conky \*(T>\*(T<\fB\-t '${time %D %H:%m}' \-o \-u 30\fR\*(T>
1031 Start Conky in its own window with date and clock as text and 30 sec update interval.
1032 .TP 
1033 \*(T<conky \*(T>\*(T<\fB\-a top_left \-x 5 \-y 500 \-d\fR\*(T>
1034 Start Conky to background at coordinates (5, 500).
1035 .SH FILES
1036 \*(T<\fI~/.conkyrc\fR\*(T> default configuration file
1037 .SH BUGS
1038 Drawing to root or some other desktop window directly doesn't work with 
1039 all window managers. Especially doesn't work well with Gnome and it has 
1040 been reported that it doesn't work with KDE either. Nautilus can be 
1041 disabled from drawing to desktop with program gconf-editor. Uncheck 
1042 show_desktop in /apps/nautilus/preferences/. There is -w switch in Conky 
1043 to set some specific window id. You might find xwininfo -tree useful to 
1044 find the window to draw to. You can also use -o argument which makes
1045 Conky to create its own window.
1046 .SH "SEE ALSO"
1047 \(lahttp://conky.sourceforge.net\(ra
1048 .PP
1049 \(lahttp://www.sourceforge.net/projects/conky\(ra
1050 .PP
1051 #conky on irc.freenode.net
1052 .SH AUTHORS
1053 The Conky dev team. What's up now!