docs; small code simplification
[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 2008-05-06 "" ""
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 torsmo.
24 Since its inception, Conky has changed significantly from its predecessor, while maintaining
25 simplicity and configurability. Conky can display just about anything, either
26 on your root desktop or in its own window. Not only does Conky have many
27 built-in objects, it can also display just about any piece of information by
28 using scripts and other external programs.
29 .PP
30 Conky has more than 250 built in objects, including support for
31 a plethora of OS stats (uname, uptime, CPU usage, mem usage, disk
32 usage, "top" like process stats, and network monitoring, just to name a few),
33 built in IMAP and POP3 support, built in support for many popular 
34 music players (MPD, XMMS2, BMPx, Audacious), and much much more.
35 Conky can display this info either as text, or using simple progress
36 bars and graph widgets, with different fonts and colours.
37 .PP
38 We are always looking for help, whether its reporting bugs, writing patches, or writing docs.
39 Please use the facilities at SourceForge to make bug reports, feature requests, and submit patches,
40 or stop by #conky on irc.freenode.net if you have questions or want to contribute.
41 .PP
42 Thanks for your interest in Conky.
43 .SH COMPILING
44 For users compiling from source on a binary distro, make sure you have the X development
45 libraries installed. This should be a package along the lines of "libx11-dev" or 
46 "xorg-x11-dev" for X11 libs, and similar "-dev" format for the other libs required (depending
47 on your configure options).
48 .PP
49 Conky has (for some time) been available in the repositories of most popular distributions. 
50 Here are some installation instructions for a few:
51 .PP
52 Gentoo users -- Conky is in Gentoo's Portage... simply use "emerge app-admin/conky" for installation.
53 There is also usually an up-to-date ebuild within Conky's package or in SVN.
54 .PP
55 Debian, etc. users -- Conky should be in your repositories, and can be installed by doing
56 "aptitude install conky".
57 .PP
58 Example to compile and run Conky with all optional components (note that some configure options may differ for your system):
59 .TP 
60 \fB\*(T<\fBsh autogen.sh\fR\*(T>\fR \*(T<\fB# Only required if building from SVN\fR\*(T> 
61 .TP 
62 \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 \-\-disable\-own\-window \-\-enable\-audacious[=yes|no|legacy] \-\-enable\-bmpx \-\-disable\-hddtemp \-\-disable\-mpd \-\-enable\-xmms2 \-\-disable\-portmon \-\-disable\-network \-\-enable\-debug \-\-disable\-x11 \-\-disable\-double\-buffer \-\-disable\-xdamage \-\-disable\-xft\fR\*(T> 
63 .TP 
64 \fB\*(T<\fBmake\fR\*(T>\fR 
65 .TP 
66 \fB\*(T<\fBmake install\fR\*(T>\fR \*(T<\fB# Optional\fR\*(T> 
67 .TP 
68 \fB\*(T<\fBsrc/conky\fR\*(T>\fR 
69 .PP
70 Conky has been tested to be compatible with C99 C, however it has not been tested
71 with anything other than gcc, and is not guaranteed to work with other compilers.
72 .PP
73 .SH "YOU SHOULD KNOW"
74 Conky is generally very good on resources. That said, the more you try to make Conky
75 do, the more resources it is going to consume.
76 .PP
77 An easy way to force Conky to reload your ~/.conkyrc: "killall -SIGUSR1 conky".
78 Saves you the trouble of having to kill and then restart. You can now also do the same with SIGHUP.
79 .SH OPTIONS
80 Command line options override configurations defined in configuration file.
81 .TP 
82 \fB\*(T<\fB\-v | \-V | \-\-version\fR\*(T>\fR
83 Prints version and exits
84
85 .TP 
86 \fB\*(T<\fB\-a | \-\-alignment=\fR\*(T>\fR\*(T<\fBALIGNMENT\fR\*(T>
87 Text alignment on screen, {top,bottom,middle}_{left,right,middle} or none
88
89 .TP 
90 \fB\*(T<\fB\-b | \-\-double\-buffer\fR\*(T>\fR
91 Use double buffering (eliminates "flicker")
92
93 .TP 
94 \fB\*(T<\fB\-c | \-\-config=\fR\*(T>\fR\*(T<\fBFILE\fR\*(T>
95 Config file to load instead of $HOME/.conkyrc
96
97 .TP 
98 \fB\*(T<\fB\-d | \-\-daemonize\fR\*(T>\fR
99 Daemonize Conky, aka fork to background
100
101 .TP 
102 \fB\*(T<\fB\-f | \-\-font=\fR\*(T>\fR\*(T<\fBFONT\fR\*(T>
103 Font to use
104
105 .TP 
106 \fB\*(T<\fB\-h | \-\-help\fR\*(T>\fR
107 Prints command line help and exits
108
109 .TP 
110 \fB\*(T<\fB\-o | \-\-own\-window\fR\*(T>\fR
111 Create own window to draw
112
113 .TP 
114 \fB\*(T<\fB\-t | \-\-text=\fR\*(T>\fR\*(T<\fBTEXT\fR\*(T>
115 Text to render, remember single quotes, like -t ' $uptime '
116
117 .TP 
118 \fB\*(T<\fB\-u | \-\-interval=\fR\*(T>\fR\*(T<\fBSECONDS\fR\*(T>
119 Update interval
120
121 .TP 
122 \fB\*(T<\fB\-w | \-\-window\-id=\fR\*(T>\fR\*(T<\fBWIN_ID\fR\*(T>
123 Window id to draw
124
125 .TP 
126 \fB\*(T<\fB\-x \fR\*(T>\fR\*(T<\fBX_COORDINATE\fR\*(T>
127 X position
128
129 .TP 
130 \fB\*(T<\fB\-y \fR\*(T>\fR\*(T<\fBY_COORDINATE\fR\*(T>
131 Y position
132
133 .TP 
134 \fB\*(T<\fB\-i \fR\*(T>\fR\*(T<\fBCOUNT\fR\*(T>
135 Number of times to update Conky (and quit)
136
137 .SH "CONFIGURATION SETTINGS"
138 Default configuration file location is $HOME/.conkyrc or 
139 ${sysconfdir}/conky/conky.conf. On most systems, sysconfdir is /etc,
140 and you can find the sample config file there (/etc/conky/conky.conf).
141 .PP
142 You might want to copy it to $HOME/.conkyrc and then start modifying it.
143 Other configs can be found at http://conky.sf.net/
144 .TP 
145 \fB\*(T<\fBalignment\fR\*(T>\fR
146 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)
147
148 .TP 
149 \fB\*(T<\fBbackground\fR\*(T>\fR
150 Boolean value, if true, Conky will be forked to background when started
151
152 .TP 
153 \fB\*(T<\fBborder_margin\fR\*(T>\fR
154 Border margin in pixels
155
156 .TP 
157 \fB\*(T<\fBborder_width\fR\*(T>\fR
158 Border width in pixels
159
160 .TP 
161 \fB\*(T<\fBcolor0\fR\*(T>\fR
162 A color variable for use inside TEXT segments
163
164 .TP 
165 \fB\*(T<\fBcolor1\fR\*(T>\fR
166 A color variable for use inside TEXT segments
167
168 .TP 
169 \fB\*(T<\fBcolor2\fR\*(T>\fR
170 A color variable for use inside TEXT segments
171
172 .TP 
173 \fB\*(T<\fBcolor3\fR\*(T>\fR
174 A color variable for use inside TEXT segments
175
176 .TP 
177 \fB\*(T<\fBcolor4\fR\*(T>\fR
178 A color variable for use inside TEXT segments
179
180 .TP 
181 \fB\*(T<\fBcolor5\fR\*(T>\fR
182 A color variable for use inside TEXT segments
183
184 .TP 
185 \fB\*(T<\fBcolor6\fR\*(T>\fR
186 A color variable for use inside TEXT segments
187
188 .TP 
189 \fB\*(T<\fBcolor7\fR\*(T>\fR
190 A color variable for use inside TEXT segments
191
192 .TP 
193 \fB\*(T<\fBcolor8\fR\*(T>\fR
194 A color variable for use inside TEXT segments
195
196 .TP 
197 \fB\*(T<\fBcolor9\fR\*(T>\fR
198 A color variable for use inside TEXT segments
199
200 .TP 
201 \fB\*(T<\fBcpu_avg_samples\fR\*(T>\fR
202 The number of samples to average for CPU monitoring
203
204 .TP 
205 \fB\*(T<\fBtop_cpu_separate\fR\*(T>\fR
206 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.
207
208 .TP 
209 \fB\*(T<\fBdefault_color\fR\*(T>\fR
210 Default color and border color
211
212 .TP 
213 \fB\*(T<\fBdefault_outline_color\fR\*(T>\fR
214 Default outline color
215
216 .TP 
217 \fB\*(T<\fBdefault_shade_color\fR\*(T>\fR
218 Default shading color and border's shading color
219
220 .TP 
221 \fB\*(T<\fBdouble_buffer\fR\*(T>\fR
222 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.
223
224 .TP 
225 \fB\*(T<\fBdraw_borders\fR\*(T>\fR
226 Draw borders around text?
227
228 .TP 
229 \fB\*(T<\fBdraw_graph_borders\fR\*(T>\fR
230 Draw borders around graphs?
231
232 .TP 
233 \fB\*(T<\fBdraw_outline\fR\*(T>\fR
234 Draw outlines?
235
236 .TP 
237 \fB\*(T<\fBdraw_shades\fR\*(T>\fR
238 Draw shades?
239
240 .TP 
241 \fB\*(T<\fBfont\fR\*(T>\fR
242 Font name in X, xfontsel can be used to get a nice font
243
244 .TP 
245 \fB\*(T<\fBgap_x\fR\*(T>\fR
246 Gap, in pixels, between right or left border of screen, same as passing -x at command line,
247 e.g. gap_x 10
248
249 .TP 
250 \fB\*(T<\fBgap_y\fR\*(T>\fR
251 Gap, in pixels, between top or bottom border of screen, same as passing -y at command line,
252 e.g. gap_y 10.
253
254 .TP 
255 \fB\*(T<\fBimap\fR\*(T>\fR
256 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.
257
258 .TP 
259 \fB\*(T<\fBmail_spool\fR\*(T>\fR
260 Mail spool for mail checking
261
262 .TP 
263 \fB\*(T<\fBmax_port_monitor_connections\fR\*(T>\fR
264 Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
265
266 .TP 
267 \fB\*(T<\fBmax_specials\fR\*(T>\fR
268 Maximum number of special things, e.g. fonts, offsets, aligns, etc. (default is 512)
269
270 .TP 
271 \fB\*(T<\fBmax_user_text\fR\*(T>\fR \*(T<\fBbytes\fR\*(T> 
272 Maximum size of user text buffer, i.e. layout below TEXT line in config file
273 (default is 16384 bytes)
274
275 .TP 
276 \fB\*(T<\fBtext_buffer_size\fR\*(T>\fR \*(T<\fBbytes\fR\*(T> 
277 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.
278
279 .TP 
280 \fB\*(T<\fBmaximum_width\fR\*(T>\fR \*(T<\fBpixels\fR\*(T> 
281 Maximum width of window
282
283 .TP 
284 \fB\*(T<\fBminimum_size\fR\*(T>\fR \*(T<\fBwidth (height)\fR\*(T> 
285 Minimum size of window
286
287 .TP 
288 \fB\*(T<\fBmpd_host\fR\*(T>\fR
289 Host of MPD server
290
291 .TP 
292 \fB\*(T<\fBmpd_port\fR\*(T>\fR
293 Port of MPD server
294
295 .TP 
296 \fB\*(T<\fBmpd_password\fR\*(T>\fR
297 MPD server password
298
299 .TP 
300 \fB\*(T<\fBmusic_player_interval\fR\*(T>\fR
301 Music player thread update interval (defaults to Conky's update interval)
302
303 .TP 
304 \fB\*(T<\fBnet_avg_samples\fR\*(T>\fR
305 The number of samples to average for net data
306
307 .TP 
308 \fB\*(T<\fBno_buffers\fR\*(T>\fR
309 Substract (file system) buffers from used memory?
310
311 .TP 
312 \fB\*(T<\fBoverride_utf8_locale\fR\*(T>\fR
313 Force UTF8? requires XFT
314
315 .TP 
316 \fB\*(T<\fBown_window\fR\*(T>\fR
317 Boolean, create own window to draw?
318
319 .TP 
320 \fB\*(T<\fBown_window_class\fR\*(T>\fR
321 Manually set the WM_CLASS name. Defaults to "Conky".
322
323 .TP 
324 \fB\*(T<\fBown_window_colour\fR\*(T>\fR \*(T<\fBcolour\fR\*(T> 
325 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)
326
327 .TP 
328 \fB\*(T<\fBown_window_hints\fR\*(T>\fR \*(T<\fBundecorated,below,above,sticky,skip_taskbar,skip_pager\fR\*(T> 
329 If own_window is yes, you may use these window manager hints to affect the way Conky displays.
330 Notes: Use own_window_type desktop as another way to implement many of these hints implicitly.
331 If you use own_window_type override, window manager hints have no meaning and are ignored.
332
333 .TP 
334 \fB\*(T<\fBown_window_title\fR\*(T>\fR
335 Manually set the window name. Defaults to "<hostname> - conky".
336
337 .TP 
338 \fB\*(T<\fBown_window_transparent\fR\*(T>\fR
339 Boolean, set pseudo-transparency?
340
341 .TP 
342 \fB\*(T<\fBown_window_type\fR\*(T>\fR
343 if own_window is yes, you may specify type normal, desktop, dock or override (default: normal).
344 Desktop windows are special windows that have no window decorations; are always visible
345 on your desktop; do not appear in your pager or taskbar; and are sticky across all workspaces.
346 Override windows are not under the control of the window manager. Hints are ignored. This type
347 of window can be useful for certain situations.
348
349 .TP 
350 \fB\*(T<\fBout_to_console\fR\*(T>\fR 
351 Print text to stdout.
352
353 .TP 
354 \fB\*(T<\fBpad_percents\fR\*(T>\fR
355 Pad percentages to this many decimals (0 = no padding)
356
357 .TP 
358 \fB\*(T<\fBpop3\fR\*(T>\fR
359 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.
360
361 .TP 
362 \fB\*(T<\fBshort_units\fR\*(T>\fR
363 Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off.
364
365 .TP 
366 \fB\*(T<\fBshow_graph_scale\fR\*(T>\fR
367 Shows the maximum value in scaled graphs.
368
369 .TP 
370 \fB\*(T<\fBstippled_borders\fR\*(T>\fR
371 Border stippling (dashing) in pixels
372
373 .TP 
374 \fB\*(T<\fBtotal_run_times\fR\*(T>\fR
375 Total number of times for Conky to update before quitting. Zero makes Conky run forever
376
377 .TP 
378 \fB\*(T<\fBupdate_interval\fR\*(T>\fR
379 Update interval in seconds
380
381 .TP 
382 \fB\*(T<\fBuppercase\fR\*(T>\fR
383 Boolean value, if true, text is rendered in upper case
384
385 .TP 
386 \fB\*(T<\fBuse_spacer\fR\*(T>\fR
387 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.
388
389 .TP 
390 \fB\*(T<\fBuse_xft\fR\*(T>\fR
391 Use Xft (anti-aliased font and stuff)
392
393 .TP 
394 \fB\*(T<\fBxftalpha\fR\*(T>\fR
395 Alpha of Xft font. Must be a value at or between 1 and 0.
396
397 .TP 
398 \fB\*(T<\fBxftfont\fR\*(T>\fR
399 Xft font to use.
400
401 .TP 
402 \fB\*(T<\fBTEXT\fR\*(T>\fR
403 After this begins text to be formatted on screen
404
405 .SH VARIABLES
406 Colors are parsed using XParsecolor(), there might be a list of them:
407 /usr/share/X11/rgb.txt. Also, \(lahttp://sedition.com/perl/rgb.html\(ra.
408 Color can be also in #rrggbb format (hex).
409 .TP 
410 \fB\*(T<\fBaddr\fR\*(T>\fR \*(T<\fBinterface\fR\*(T> 
411 IP address for an interface
412
413 .TP 
414 \fB\*(T<\fBaddrs\fR\*(T>\fR \*(T<\fBinterface\fR\*(T> 
415 IP addresses for an interface (if one - works like addr). Linux only.
416
417 .TP 
418 \fB\*(T<\fBacpiacadapter\fR\*(T>\fR 
419 ACPI ac adapter state.
420
421 .TP 
422 \fB\*(T<\fBacpifan\fR\*(T>\fR 
423 ACPI fan state
424
425 .TP 
426 \fB\*(T<\fBacpitemp\fR\*(T>\fR 
427 ACPI temperature in C.
428
429 .TP 
430 \fB\*(T<\fBacpitempf\fR\*(T>\fR 
431 ACPI temperature in F.
432
433 .TP 
434 \fB\*(T<\fBadt746xcpu\fR\*(T>\fR 
435 CPU temperature from therm_adt746x
436
437 .TP 
438 \fB\*(T<\fBadt746xfan\fR\*(T>\fR 
439 Fan speed from therm_adt746x
440
441 .TP 
442 \fB\*(T<\fBalignr\fR\*(T>\fR \*(T<\fB(num)\fR\*(T> 
443 Right-justify text, with space of N
444
445 .TP 
446 \fB\*(T<\fBalignc\fR\*(T>\fR \*(T<\fB(num)\fR\*(T> 
447 Align text to centre
448
449 .TP 
450 \fB\*(T<\fBapm_adapter\fR\*(T>\fR 
451 Display APM AC adapter status (FreeBSD only)
452
453 .TP 
454 \fB\*(T<\fBapm_battery_life\fR\*(T>\fR 
455 Display APM battery life in percent (FreeBSD only)
456
457 .TP 
458 \fB\*(T<\fBapm_battery_time\fR\*(T>\fR 
459 Display remaining APM battery life in hh:mm:ss or "unknown" if
460 AC adapterstatus is on-line or charging (FreeBSD only)
461
462 .TP 
463 \fB\*(T<\fBaudacious_bar\fR\*(T>\fR \*(T<\fB(height),(width)\fR\*(T> 
464 Progress bar
465
466 .TP 
467 \fB\*(T<\fBaudacious_bitrate\fR\*(T>\fR 
468 Bitrate of current tune
469
470 .TP 
471 \fB\*(T<\fBaudacious_channels\fR\*(T>\fR 
472 Number of audio channels of current tune
473
474 .TP 
475 \fB\*(T<\fBaudacious_filename\fR\*(T>\fR 
476 Full path and filename of current tune
477
478 .TP 
479 \fB\*(T<\fBaudacious_frequency\fR\*(T>\fR 
480 Sampling frequency of current tune
481
482 .TP 
483 \fB\*(T<\fBaudacious_length\fR\*(T>\fR 
484 Total length of current tune as MM:SS
485
486 .TP 
487 \fB\*(T<\fBaudacious_length_seconds\fR\*(T>\fR 
488 Total length of current tune in seconds
489
490 .TP 
491 \fB\*(T<\fBaudacious_playlist_position\fR\*(T>\fR 
492 Playlist position of current tune
493
494 .TP 
495 \fB\*(T<\fBaudacious_playlist_length\fR\*(T>\fR 
496 Number of tunes in playlist
497
498 .TP 
499 \fB\*(T<\fBaudacious_position\fR\*(T>\fR 
500 Position of current tune (MM:SS)
501
502 .TP 
503 \fB\*(T<\fBaudacious_position_seconds\fR\*(T>\fR 
504 Position of current tune in seconds
505
506 .TP 
507 \fB\*(T<\fBaudacious_status\fR\*(T>\fR 
508 Player status (Playing/Paused/Stopped/Not running)
509
510 .TP 
511 \fB\*(T<\fBaudacious_title\fR\*(T>\fR \*(T<\fB(max length)\fR\*(T> 
512 Title of current tune with optional maximum length specifier
513
514 .TP 
515 \fB\*(T<\fBbattery\fR\*(T>\fR \*(T<\fB(num)\fR\*(T> 
516 Battery status and remaining percentage capacity of ACPI or APM battery. ACPI battery number can be given as argument (default is BAT0).
517
518 .TP 
519 \fB\*(T<\fBbattery_bar\fR\*(T>\fR \*(T<\fB(height),(width) (num)\fR\*(T> 
520 Battery percentage remaining of ACPI battery in a bar. ACPI battery number can be given as argument (default is BAT0).
521
522 .TP 
523 \fB\*(T<\fBbattery_percent\fR\*(T>\fR \*(T<\fB(num)\fR\*(T> 
524 Battery percentage remaining for ACPI battery. ACPI battery number can be given as argument (default is BAT0).
525
526 .TP 
527 \fB\*(T<\fBbattery_time\fR\*(T>\fR \*(T<\fB(num)\fR\*(T> 
528 Battery charge/discharge time remaining of ACPI battery. ACPI battery number can be given as argument (default is BAT0).
529
530 .TP 
531 \fB\*(T<\fBbmpx_artist\fR\*(T>\fR 
532 Artist in current BMPx track
533
534 .TP 
535 \fB\*(T<\fBbmpx_album\fR\*(T>\fR 
536 Album in current BMPx track
537
538 .TP 
539 \fB\*(T<\fBbmpx_title\fR\*(T>\fR 
540 Title of the current BMPx track
541
542 .TP 
543 \fB\*(T<\fBbmpx_track\fR\*(T>\fR 
544 Track number of the current BMPx track
545
546 .TP 
547 \fB\*(T<\fBbmpx_bitrate\fR\*(T>\fR 
548 Bitrate of the current BMPx track
549
550 .TP 
551 \fB\*(T<\fBbmpx_uri\fR\*(T>\fR 
552 URI of the current BMPx track
553
554 .TP 
555 \fB\*(T<\fBbuffers\fR\*(T>\fR 
556 Amount of memory buffered
557
558 .TP 
559 \fB\*(T<\fBcached\fR\*(T>\fR 
560 Amount of memory cached
561
562 .TP 
563 \fB\*(T<\fBcolor\fR\*(T>\fR \*(T<\fB(color)\fR\*(T> 
564 Change drawing color to color
565
566 .TP 
567 \fB\*(T<\fBcolor0\fR\*(T>\fR 
568 Change drawing color to color0 configuration option
569
570 .TP 
571 \fB\*(T<\fBcolor1\fR\*(T>\fR 
572 Change drawing color to color1 configuration option
573
574 .TP 
575 \fB\*(T<\fBcolor2\fR\*(T>\fR 
576 Change drawing color to color2 configuration option
577
578 .TP 
579 \fB\*(T<\fBcolor3\fR\*(T>\fR 
580 Change drawing color to color3 configuration option
581
582 .TP 
583 \fB\*(T<\fBcolor4\fR\*(T>\fR 
584 Change drawing color to color4 configuration option
585
586 .TP 
587 \fB\*(T<\fBcolor5\fR\*(T>\fR 
588 Change drawing color to color5 configuration option
589
590 .TP 
591 \fB\*(T<\fBcolor6\fR\*(T>\fR 
592 Change drawing color to color6 configuration option
593
594 .TP 
595 \fB\*(T<\fBcolor7\fR\*(T>\fR 
596 Change drawing color to color7 configuration option
597
598 .TP 
599 \fB\*(T<\fBcolor8\fR\*(T>\fR 
600 Change drawing color to color8 configuration option
601
602 .TP 
603 \fB\*(T<\fBcolor9\fR\*(T>\fR 
604 Change drawing color to color9 configuration option
605
606 .TP 
607 \fB\*(T<\fBconky_version\fR\*(T>\fR 
608 Conky version
609
610 .TP 
611 \fB\*(T<\fBconky_build_date\fR\*(T>\fR 
612 Date Conky was built
613
614 .TP 
615 \fB\*(T<\fBconky_bulid_arch\fR\*(T>\fR 
616 CPU architecture Conky was built for
617
618 .TP 
619 \fB\*(T<\fBcpu\fR\*(T>\fR \*(T<\fB(cpuN)\fR\*(T> 
620 CPU usage in percents. For SMP machines, the CPU number can be provided as an argument. ${cpu cpu0} is the total usage, and ${cpu cpuX} (X >= 1) are individual CPUs.
621
622 .TP 
623 \fB\*(T<\fBcpubar\fR\*(T>\fR \*(T<\fB(cpu number) (height),(width)\fR\*(T> 
624 Bar that shows CPU usage, height is bar's height in pixels. See $cpu for more info on SMP.
625
626 .TP 
627 \fB\*(T<\fBcpugraph\fR\*(T>\fR \*(T<\fB(cpu number) (height),(width) (gradient colour 1) (gradient colour 2)\fR\*(T> 
628 CPU usage graph, with optional colours in hex, minus the #. See $cpu for more info on SMP.
629
630 .TP 
631 \fB\*(T<\fBdiskio\fR\*(T>\fR \*(T<\fB(device)\fR\*(T> 
632 Displays current disk IO. Device is optional, and takes the form of sda for /dev/sda. Individual partitions are allowed.
633
634 .TP 
635 \fB\*(T<\fBdiskiograph\fR\*(T>\fR \*(T<\fB(device) (height),(width) (gradient colour 1) (gradient colour 2) (scale)\fR\*(T> 
636 Disk IO graph, colours defined in hex, minus the #. If scale is non-zero, it becomes the scale for the graph.
637
638 .TP 
639 \fB\*(T<\fBdiskio_read\fR\*(T>\fR \*(T<\fB(device)\fR\*(T> 
640 Displays current disk IO for reads. Device as in diskio.
641
642 .TP 
643 \fB\*(T<\fBdiskiograph_read\fR\*(T>\fR \*(T<\fB(device) (height),(width) (gradient colour 1) (gradient colour 2) (scale)\fR\*(T> 
644 Disk IO graph for reads, colours defined in hex, minus the #. If scale is non-zero, it becomes the scale for the graph. Device as in diskio.
645
646 .TP 
647 \fB\*(T<\fBdiskio_write\fR\*(T>\fR \*(T<\fB(device)\fR\*(T> 
648 Displays current disk IO for writes. Device as in diskio.
649
650 .TP 
651 \fB\*(T<\fBdiskiograph_write\fR\*(T>\fR \*(T<\fB(device) (height),(width) (gradient colour 1) (gradient colour 2) (scale)\fR\*(T> 
652 Disk IO graph for writes, colours defined in hex, minus the #. If scale is non-zero, it becomes the scale for the graph. Device as in diskio.
653
654 .TP 
655 \fB\*(T<\fBdisk_protect\fR\*(T>\fR \*(T<\fBdevice\fR\*(T> 
656 Disk protection status, if supported (needs kernel-patch). Prints either "frozen" or "free " (note the padding).
657
658 .TP 
659 \fB\*(T<\fBdownspeed\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
660 Download speed in KiB
661
662 .TP 
663 \fB\*(T<\fBdownspeedf\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
664 Download speed in KiB with one decimal
665
666 .TP 
667 \fB\*(T<\fBdownspeedgraph\fR\*(T>\fR \*(T<\fBnet (height),(width) (gradient colour 1) (gradient colour 2) (scale)\fR\*(T> 
668 Download speed graph, colours defined in hex, minus the #. If scale is non-zero, it becomes the scale for the graph.
669
670 .TP 
671 \fB\*(T<\fBelse\fR\*(T>\fR 
672 Text to show if any of the above are not true
673
674 .TP 
675 \fB\*(T<\fBentropy_avail\fR\*(T>\fR 
676 Current entropy available for crypto freaks
677
678 .TP 
679 \fB\*(T<\fBentropy_bar\fR\*(T>\fR \*(T<\fB(height),(width)\fR\*(T> 
680 Normalized bar of available entropy for crypto freaks
681
682 .TP 
683 \fB\*(T<\fBentropy_poolsize\fR\*(T>\fR 
684 Total size of system entropy pool for crypto freaks
685
686 .TP 
687 \fB\*(T<\fBexec\fR\*(T>\fR \*(T<\fBcommand\fR\*(T> 
688 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.
689
690 .TP 
691 \fB\*(T<\fBexecbar\fR\*(T>\fR \*(T<\fBcommand\fR\*(T> 
692 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.
693
694 .TP 
695 \fB\*(T<\fBexecgraph\fR\*(T>\fR \*(T<\fBcommand\fR\*(T> 
696 Same as execbar, but graphs values.
697
698 .TP 
699 \fB\*(T<\fBexeci\fR\*(T>\fR \*(T<\fBinterval command\fR\*(T> 
700 Same as exec but with specific interval. Interval can't be less than update_interval in configuration. See also $texeci
701
702 .TP 
703 \fB\*(T<\fBexecibar\fR\*(T>\fR \*(T<\fBinterval command\fR\*(T> 
704 Same as execbar, except with an interval
705
706 .TP 
707 \fB\*(T<\fBexecigraph\fR\*(T>\fR \*(T<\fBinterval command\fR\*(T> 
708 Same as execgraph, but takes an interval arg graphs values
709
710 .TP 
711 \fB\*(T<\fBexecp\fR\*(T>\fR \*(T<\fBcommand\fR\*(T> 
712 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. This differs from $exec in that it parses the output of the command, so you can insert things like ${color red}hi!${color} in your script and have it correctly parsed by Conky.
713 Caveats: Conky parses and evaluates the output of $execp every time Conky loops, and then destroys all the objects. If you try to use anything like $execi within an $execp statement, it will functionally run at the same interval that the $execp statement runs, as it is created and destroyed at every interval.
714
715 .TP 
716 \fB\*(T<\fBexecpi\fR\*(T>\fR \*(T<\fBinterval command\fR\*(T> 
717 Same as execp but with specific interval. Interval can't be less than update_interval in configuration. Note that the output from the $execpi command is still parsed and evaluated at every interval.
718
719 .TP 
720 \fB\*(T<\fBfont\fR\*(T>\fR \*(T<\fB(font)\fR\*(T> 
721 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)
722
723 .TP 
724 \fB\*(T<\fBfreq\fR\*(T>\fR \*(T<\fB(n)\fR\*(T> 
725 Returns CPU #n's frequency in MHz. CPUs are
726 counted from 1. If omitted, the parameter
727 defaults to 1.
728
729 .TP 
730 \fB\*(T<\fBfreq_g\fR\*(T>\fR \*(T<\fB(n)\fR\*(T> 
731 Returns CPU #n's frequency in GHz. CPUs are
732 counted from 1. If omitted, the parameter
733 defaults to 1.
734
735 .TP 
736 \fB\*(T<\fBfreq_dyn\fR\*(T>\fR 
737 Returns CPU frequency in MHz, but is calculated by counting to clock cycles to complete an instruction. Only available for x86/amd64.
738
739 .TP 
740 \fB\*(T<\fBfreq_dyn_g\fR\*(T>\fR 
741 Returns CPU frequency in GHz, but is calculated by counting to clock cycles to complete an instruction. Only available for x86/amd64.
742
743 .TP 
744 \fB\*(T<\fBfs_bar\fR\*(T>\fR \*(T<\fB(height),(width) fs\fR\*(T> 
745 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.
746
747 .TP 
748 \fB\*(T<\fBfs_free\fR\*(T>\fR \*(T<\fB(fs)\fR\*(T> 
749 Free space on a file system available for users.
750
751 .TP 
752 \fB\*(T<\fBfs_free_perc\fR\*(T>\fR \*(T<\fB(fs)\fR\*(T> 
753 Free percentage of space on a file system available for users.
754
755 .TP 
756 \fB\*(T<\fBfs_size\fR\*(T>\fR \*(T<\fB(fs)\fR\*(T> 
757 File system size
758
759 .TP 
760 \fB\*(T<\fBfs_type\fR\*(T>\fR \*(T<\fB(fs)\fR\*(T> 
761 File system type
762
763 .TP 
764 \fB\*(T<\fBfs_used\fR\*(T>\fR \*(T<\fB(fs)\fR\*(T> 
765 File system used space
766
767 .TP 
768 \fB\*(T<\fBgoto\fR\*(T>\fR \*(T<\fBx\fR\*(T> 
769 The next element will be printed at position 'x'.
770
771 .TP 
772 \fB\*(T<\fBgw_iface\fR\*(T>\fR 
773 Displays the default route's interface or "multiple"/"none" accordingly.
774
775 .TP 
776 \fB\*(T<\fBgw_ip\fR\*(T>\fR 
777 Displays the default gateway's IP or "multiple"/"none" accordingly.
778
779 .TP 
780 \fB\*(T<\fBhddtemp\fR\*(T>\fR \*(T<\fBdev, (host,(port))\fR\*(T> 
781 Displays temperature of a selected hard disk drive as reported by the hddtemp daemon running on host:port.
782 Default host is 127.0.0.1, default port is 7634.
783
784 .TP 
785 \fB\*(T<\fBhead\fR\*(T>\fR \*(T<\fBlogfile lines (interval)\fR\*(T> 
786 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.
787
788 .TP 
789 \fB\*(T<\fBhr\fR\*(T>\fR \*(T<\fB(height)\fR\*(T> 
790 Horizontal line, height is the height in pixels
791
792 .TP 
793 \fB\*(T<\fBhwmon\fR\*(T>\fR \*(T<\fB(dev) type n\fR\*(T> 
794 Hwmon sensor from sysfs (Linux 2.6). Parameter dev may be omitted if you have only one hwmon device. Parameter type is either 'in' or 'vol' meaning voltage; 'fan' meaning fan; 'temp' (Celsius) or 'tempf' (Fahrenheit) meaning temperature. Parameter n is number of the sensor. See /sys/class/hwmon/ on your local computer.
795
796 .TP 
797 \fB\*(T<\fBiconv_start\fR\*(T>\fR \*(T<\fBcodeset_from codeset_to\fR\*(T> 
798 Convert text from one codeset to another using GNU iconv. Needs to be stopped with iconv_stop.
799
800 .TP 
801 \fB\*(T<\fBiconv_stop\fR\*(T>\fR 
802 Stop iconv codeset conversion.
803
804 .TP 
805 \fB\*(T<\fBi2c\fR\*(T>\fR \*(T<\fB(dev) type n\fR\*(T> 
806 I2C sensor from sysfs (Linux 2.6). Parameter dev may be omitted if you have only one I2C device. Parameter type is either 'in' or 'vol' meaning voltage; 'fan' meaning fan; 'temp' (Celsius) or 'tempf' (Fahrenheit) meaning temperature. Parameter n is number of the sensor. See /sys/bus/i2c/devices/ on your local computer.
807
808 .TP 
809 \fB\*(T<\fBi8k_ac_status\fR\*(T>\fR 
810 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.
811
812 .TP 
813 \fB\*(T<\fBi8k_bios\fR\*(T>\fR 
814 If running the i8k kernel driver for Inspiron laptops, displays the bios version as listed in /proc/i8k.
815
816 .TP 
817 \fB\*(T<\fBi8k_buttons_status\fR\*(T>\fR 
818 If running the i8k kernel driver for Inspiron laptops, displays the volume buttons status as listed in /proc/i8k.
819
820 .TP 
821 \fB\*(T<\fBi8k_cpu_temp\fR\*(T>\fR 
822 If running the i8k kernel driver for Inspiron laptops, displays the cpu temperature in Celsius, as reported by /proc/i8k.
823
824 .TP 
825 \fB\*(T<\fBi8k_cpu_tempf\fR\*(T>\fR 
826 If running the i8k kernel driver for Inspiron laptops, displays the cpu temperature in Fahrenheit, as reported by /proc/i8k.
827
828 .TP 
829 \fB\*(T<\fBi8k_left_fan_rpm\fR\*(T>\fR 
830 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.
831
832 .TP 
833 \fB\*(T<\fBi8k_left_fan_status\fR\*(T>\fR 
834 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.
835
836 .TP 
837 \fB\*(T<\fBi8k_right_fan_rpm\fR\*(T>\fR 
838 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.
839
840 .TP 
841 \fB\*(T<\fBi8k_right_fan_status\fR\*(T>\fR 
842 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.
843
844 .TP 
845 \fB\*(T<\fBi8k_serial\fR\*(T>\fR 
846 If running the i8k kernel driver for Inspiron laptops, displays your laptop serial number as listed in /proc/i8k.
847
848 .TP 
849 \fB\*(T<\fBi8k_version\fR\*(T>\fR 
850 If running the i8k kernel driver for Inspiron laptops, displays the version formatting of /proc/i8k.
851
852 .TP 
853 \fB\*(T<\fBibm_fan\fR\*(T>\fR 
854 If running the IBM ACPI, displays the fan speed.
855
856 .TP 
857 \fB\*(T<\fBibm_temps\fR\*(T>\fR \*(T<\fBN\fR\*(T> 
858 If running the IBM ACPI, displays the temperatures
859 from the IBM temperature sensors (N=0..7) Sensor 0 is
860 on the CPU, 3 is on the GPU.
861
862 .TP 
863 \fB\*(T<\fBibm_volume\fR\*(T>\fR 
864 If running the IBM ACPI, displays the "master" volume,
865 controlled by the volume keys (0-14).
866
867 .TP 
868 \fB\*(T<\fBibm_brightness\fR\*(T>\fR 
869 If running the IBM ACPI, displays the brigtness of the
870 laptops's LCD (0-7).
871
872 .TP 
873 \fB\*(T<\fBif_empty\fR\*(T>\fR \*(T<\fB(var)\fR\*(T> 
874 if conky variable VAR is empty, display everything between $if_empty and the matching $endif
875
876 .TP 
877 \fB\*(T<\fBif_gw\fR\*(T>\fR 
878 if there is at least one default gateway, display everything between $if_gw and the matching $endif
879
880 .TP 
881 \fB\*(T<\fBif_running\fR\*(T>\fR \*(T<\fB(process)\fR\*(T> 
882 if PROCESS is running, display everything $if_running and the matching $endif
883
884 .TP 
885 \fB\*(T<\fBif_existing\fR\*(T>\fR \*(T<\fBfile (string)\fR\*(T> 
886 if FILE exists, display everything between if_existing and the matching $endif. The optional second paramater checks for FILE containing the specified string and prints everything between $if_existing and the matching $endif.
887
888 .TP 
889 \fB\*(T<\fBif_mounted\fR\*(T>\fR \*(T<\fB(mountpoint)\fR\*(T> 
890 if MOUNTPOINT is mounted, display everything between $if_mounted and the matching $endif
891
892 .TP 
893 \fB\*(T<\fBif_smapi_bat_installed\fR\*(T>\fR \*(T<\fB(INDEX)\fR\*(T> 
894 when using smapi, if the battery with index INDEX is installed, display everything between $if_smapi_bat_installed and the matching $endif
895
896 .TP 
897 \fB\*(T<\fBif_up\fR\*(T>\fR \*(T<\fB(interface)\fR\*(T> 
898 if INTERFACE exists and is up, display everything between $if_up and the matching $endif
899
900 .TP 
901 \fB\*(T<\fBimap_messages\fR\*(T>\fR \*(T<\fB(args)\fR\*(T> 
902 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.
903
904 .TP 
905 \fB\*(T<\fBimap_unseen\fR\*(T>\fR \*(T<\fB(args)\fR\*(T> 
906 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.
907
908 .TP 
909 \fB\*(T<\fBioscheduler\fR\*(T>\fR \*(T<\fBdisk\fR\*(T> 
910 Prints the current ioscheduler used for the given disk name (i.e. e.g. "hda" or "sdb")
911
912 .TP 
913 \fB\*(T<\fBkernel\fR\*(T>\fR 
914 Kernel version
915
916 .TP 
917 \fB\*(T<\fBlaptop_mode\fR\*(T>\fR 
918 The value of /proc/sys/vm/laptop_mode
919
920 .TP 
921 \fB\*(T<\fBloadavg\fR\*(T>\fR 
922 (1,2,3)> System load average, 1 is for past 1 minute, 2 for past 5 minutes and 3 for past 15 minutes.
923
924 .TP 
925 \fB\*(T<\fBloadgraph\fR\*(T>\fR \*(T<\fB(height),(width) (gradient colour 1) (gradient colour 2)\fR\*(T> 
926 Load1 average graph, similar to xload, with optional colours in hex, minus the #.
927
928 .TP 
929 \fB\*(T<\fBmachine\fR\*(T>\fR 
930 Machine, i686 for example
931
932 .TP 
933 \fB\*(T<\fBmails\fR\*(T>\fR \*(T<\fB(mailbox)\fR\*(T> \*(T<\fB(interval)\fR\*(T> 
934 Mail count in the specified mailbox or your mail spool if not.
935 Both mbox and maildir type mailboxes are supported. You can
936 use a program like fetchmail to get mails from some server
937 using your favourite protocol. See also new_mails.
938
939 .TP 
940 \fB\*(T<\fBmboxscan\fR\*(T>\fR \*(T<\fB(\-n number of messages to print) (\-fw from width) (\-sw subject width) mbox\fR\*(T> 
941 Print a summary of recent messages in an mbox format mailbox. mbox parameter is the filename of the mailbox (can be encapsulated using '"', ie. ${mboxscan -n 10 "/home/brenden/some box"}
942
943 .TP 
944 \fB\*(T<\fBmem\fR\*(T>\fR 
945 Amount of memory in use
946
947 .TP 
948 \fB\*(T<\fBmembar\fR\*(T>\fR \*(T<\fB(height),(width)\fR\*(T> 
949 Bar that shows amount of memory in use
950
951 .TP 
952 \fB\*(T<\fBmemmax\fR\*(T>\fR 
953 Total amount of memory
954
955 .TP 
956 \fB\*(T<\fBmemperc\fR\*(T>\fR 
957 Percentage of memory in use
958
959 .TP 
960 \fB\*(T<\fBmpd_artist\fR\*(T>\fR 
961 Artist in current MPD song must be enabled at compile
962
963 .TP 
964 \fB\*(T<\fBmpd_album\fR\*(T>\fR 
965 Album in current MPD song
966
967 .TP 
968 \fB\*(T<\fBmpd_bar\fR\*(T>\fR \*(T<\fB(height),(width)\fR\*(T> 
969 Bar of mpd's progress
970
971 .TP 
972 \fB\*(T<\fBmpd_bitrate\fR\*(T>\fR 
973 Bitrate of current song
974
975 .TP 
976 \fB\*(T<\fBmpd_status\fR\*(T>\fR 
977 Playing, stopped, et cetera.
978
979 .TP 
980 \fB\*(T<\fBmpd_title\fR\*(T>\fR \*(T<\fB(max length)\fR\*(T> 
981 Title of current MPD song
982
983 .TP 
984 \fB\*(T<\fBmpd_vol\fR\*(T>\fR 
985 MPD's volume
986
987 .TP 
988 \fB\*(T<\fBmpd_elapsed\fR\*(T>\fR 
989 Song's elapsed time
990
991 .TP 
992 \fB\*(T<\fBmpd_length\fR\*(T>\fR 
993 Song's length
994
995 .TP 
996 \fB\*(T<\fBmpd_percent\fR\*(T>\fR 
997 Percent of song's progress
998
999 .TP 
1000 \fB\*(T<\fBmpd_random\fR\*(T>\fR 
1001 Random status (On/Off)
1002
1003 .TP 
1004 \fB\*(T<\fBmpd_repeat\fR\*(T>\fR 
1005 Repeat status (On/Off)
1006
1007 .TP 
1008 \fB\*(T<\fBmpd_track\fR\*(T>\fR 
1009 Prints the MPD track field
1010
1011 .TP 
1012 \fB\*(T<\fBmpd_name\fR\*(T>\fR 
1013 Prints the MPD name field
1014
1015 .TP 
1016 \fB\*(T<\fBmpd_file\fR\*(T>\fR 
1017 Prints the file name of the current MPD song
1018
1019 .TP 
1020 \fB\*(T<\fBmpd_smart\fR\*(T>\fR 
1021 Prints the song name in either the form "artist - title" or file name, depending on whats available
1022
1023 .TP 
1024 \fB\*(T<\fBnameserver\fR\*(T>\fR \*(T<\fB(index)\fR\*(T> 
1025 Print a nameserver from /etc/resolv.conf. Index starts at and defaults to 0.
1026
1027 .TP 
1028 \fB\*(T<\fBnew_mails\fR\*(T>\fR \*(T<\fB(mailbox)\fR\*(T> \*(T<\fB(interval)\fR\*(T> 
1029 Unread mail count in the specified mailbox or mail spool if
1030 not. Both mbox and maildir type mailboxes are supported.
1031
1032 .TP 
1033 \fB\*(T<\fBnodename\fR\*(T>\fR 
1034 Hostname
1035
1036 .TP 
1037 \fB\*(T<\fBoutlinecolor\fR\*(T>\fR \*(T<\fB(color)\fR\*(T> 
1038 Change outline color
1039
1040 .TP 
1041 \fB\*(T<\fBpb_battery\fR\*(T>\fR \*(T<\fBitem\fR\*(T> 
1042 If running on Apple powerbook/ibook, display
1043 information on battery status. The item parameter
1044 specifies, what information to display. Exactly one item
1045 must be specified. Valid items are:
1046
1047 \fBstatus\fR:
1048 Display if battery is fully charged, charging,
1049 discharging or absent (running on AC)
1050 .br
1051 \fBpercent\fR:
1052 Display charge of battery in percent, if
1053 charging or discharging. Nothing will be
1054 displayed, if battery is fully charged
1055 or absent.
1056 .br
1057 \fBtime\fR:
1058 Display the time remaining until the battery
1059 will be fully charged or discharged at current
1060 rate. Nothing is displayed, if battery is
1061 absent or if it's present but fully charged
1062 and not discharging.
1063
1064 .TP 
1065 \fB\*(T<\fBplatform\fR\*(T>\fR \*(T<\fB(dev) type n\fR\*(T> 
1066 Platform sensor from sysfs (Linux 2.6). Parameter dev may be omitted if you have only one platform device. Platform type is either 'in' or 'vol' meaning voltage; 'fan' meaning fan; 'temp' (Celsius) or 'tempf' (Fahrenheit) meaning temperature. Parameter n is number of the sensor. See /sys/bus/platform/devices/ on your local computer.
1067
1068 .TP 
1069 \fB\*(T<\fBpop3_unseen\fR\*(T>\fR \*(T<\fB(args)\fR\*(T> 
1070 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.
1071
1072 .TP 
1073 \fB\*(T<\fBpop3_used\fR\*(T>\fR \*(T<\fB(args)\fR\*(T> 
1074 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.
1075
1076 .TP 
1077 \fB\*(T<\fBpre_exec\fR\*(T>\fR \*(T<\fBshell command\fR\*(T> 
1078 Executes a shell command one time before conky displays anything and puts output as text.
1079
1080 .TP 
1081 \fB\*(T<\fBprocesses\fR\*(T>\fR 
1082 Total processes (sleeping and running)
1083
1084 .TP 
1085 \fB\*(T<\fBrunning_processes\fR\*(T>\fR 
1086 Running processes (not sleeping), requires Linux 2.6
1087
1088 .TP 
1089 \fB\*(T<\fBshadecolor\fR\*(T>\fR \*(T<\fB(color)\fR\*(T> 
1090 Change shading color
1091
1092 .TP 
1093 \fB\*(T<\fBsmapi\fR\*(T>\fR \*(T<\fB(ARGS)\fR\*(T> 
1094 when using smapi, display contents of the /sys/devices/platform/smapi directory. ARGS are either '(FILENAME)' or 'bat (INDEX) (FILENAME)' to display the corresponding files' content. This is a very raw method of accessing the smapi values. When available, better use one of the smapi_* variables instead.
1095
1096 .TP 
1097 \fB\*(T<\fBsmapi_bat_perc\fR\*(T>\fR \*(T<\fB(INDEX)\fR\*(T> 
1098 when using smapi, display the remaining capacity in percent of the battery with index INDEX. This is a separate variable because it supports the 'use_spacer' configuration option.
1099
1100 .TP 
1101 \fB\*(T<\fBsmapi_bat_bar\fR\*(T>\fR \*(T<\fB(INDEX),(height),(width)\fR\*(T> 
1102 when using smapi, display the remaining capacity of the battery with index INDEX as a bar.
1103
1104 .TP 
1105 \fB\*(T<\fBstippled_hr\fR\*(T>\fR \*(T<\fB(space)\fR\*(T> 
1106 Stippled (dashed) horizontal line
1107
1108 .TP 
1109 \fB\*(T<\fBswapbar\fR\*(T>\fR \*(T<\fB(height),(width)\fR\*(T> 
1110 Bar that shows amount of swap in use
1111
1112 .TP 
1113 \fB\*(T<\fBswap\fR\*(T>\fR 
1114 Amount of swap in use
1115
1116 .TP 
1117 \fB\*(T<\fBswapmax\fR\*(T>\fR 
1118 Total amount of swap
1119
1120 .TP 
1121 \fB\*(T<\fBswapperc\fR\*(T>\fR 
1122 Percentage of swap in use
1123
1124 .TP 
1125 \fB\*(T<\fBsysname\fR\*(T>\fR 
1126 System name, Linux for example
1127
1128 .TP 
1129 \fB\*(T<\fBtcp_portmon\fR\*(T>\fR \*(T<\fBport_begin port_end item (index)\fR\*(T> \fI(ip4 only at present)\fR 
1130 TCP port monitor for specified local ports. Port numbers must be in the range 1 to 65535. Valid items are:
1131
1132 \fBcount\fR - total number of connections in the range
1133 .br
1134 \fBrip\fR - remote ip address
1135 .br
1136 \fBrhost\fR - remote host name
1137 .br
1138 \fBrport\fR - remote port number
1139 .br
1140 \fBrservice\fR - remote service name from /etc/services
1141 .br
1142 \fBlip\fR - local ip address
1143 .br
1144 \fBlhost\fR - local host name
1145 .br
1146 \fBlport\fR - local port number
1147 .br
1148 \fBlservice\fR - local service name from /etc/services
1149
1150 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.
1151
1152 Examples:
1153 .br
1154 \fB${tcp_portmon 6881 6999 count}\fR -
1155 displays the number of connections in the bittorrent port range
1156 .br
1157 \fB${tcp_portmon 22 22 rip 0}\fR -
1158 displays the remote host ip of the first sshd connection
1159 .br
1160 \fB${tcp_portmon 22 22 rip 9}\fR -
1161 displays the remote host ip of the tenth sshd connection
1162 .br
1163 \fB${tcp_portmon 1 1024 rhost 0}\fR -
1164 displays the remote host name of the first connection on a privileged port
1165 .br
1166 \fB${tcp_portmon 1 1024 rport 4}\fR -
1167 displays the remote host port of the fifth connection on a privileged port
1168 .br
1169 \fB${tcp_portmon 1 65535 lservice 14}\fR -
1170 displays the local service name of the fifteenth connection in the range of all ports
1171
1172 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.
1173 .TP 
1174 \fB\*(T<\fBtexeci\fR\*(T>\fR \*(T<\fBinterval command\fR\*(T> 
1175 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.
1176
1177 .TP 
1178 \fB\*(T<\fBoffset\fR\*(T>\fR \*(T<\fB(pixels)\fR\*(T> 
1179 Move text over by N pixels. See also $voffset.
1180
1181 .TP 
1182 \fB\*(T<\fBrss\fR\*(T>\fR \*(T<\fBurl delay_in_minutes action item_num\fR\*(T> 
1183 Download and parse RSS feeds. Action may be one of the following: feed_title, item_title (with num par), item_desc (with num par) and item_titles.
1184
1185 .TP 
1186 \fB\*(T<\fBtab\fR\*(T>\fR \*(T<\fB(width, (start))\fR\*(T> 
1187 Puts a tab of the specified width, starting from column 'start'.
1188
1189 .TP 
1190 \fB\*(T<\fBtail\fR\*(T>\fR \*(T<\fBlogfile lines (interval)\fR\*(T> 
1191 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.
1192
1193 .TP 
1194 \fB\*(T<\fBtime\fR\*(T>\fR \*(T<\fB(format)\fR\*(T> 
1195 Local time, see man strftime to get more information about format
1196
1197 .TP 
1198 \fB\*(T<\fButime\fR\*(T>\fR \*(T<\fB(format)\fR\*(T> 
1199 Display time in UTC (universal coordinate time).
1200
1201 .TP 
1202 \fB\*(T<\fBtztime\fR\*(T>\fR \*(T<\fB(timezone) (format)\fR\*(T> 
1203 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.
1204
1205 .TP 
1206 \fB\*(T<\fBtotaldown\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
1207 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.
1208
1209 .TP 
1210 \fB\*(T<\fBtop\fR\*(T>\fR \*(T<\fBtype, num\fR\*(T> 
1211 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", "mem", "mem_res", "mem_vsize", and "time". There can be a max of 10 processes listed.
1212
1213 .TP 
1214 \fB\*(T<\fBtop_mem\fR\*(T>\fR \*(T<\fBtype, num\fR\*(T> 
1215 Same as top, except sorted by mem usage instead of cpu
1216
1217 .TP 
1218 \fB\*(T<\fBtotalup\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
1219 Total upload, this one too, may overflow
1220
1221 .TP 
1222 \fB\*(T<\fBupdates\fR\*(T>\fR \*(T<\fBNumber of updates\fR\*(T> 
1223 for debugging
1224
1225 .TP 
1226 \fB\*(T<\fBupspeed\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
1227 Upload speed in KiB
1228
1229 .TP 
1230 \fB\*(T<\fBupspeedf\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
1231 Upload speed in KiB with one decimal
1232
1233 .TP 
1234 \fB\*(T<\fBupspeedgraph\fR\*(T>\fR \*(T<\fBnet (height),(width) (gradient colour 1) (gradient colour 2) (scale)\fR\*(T> 
1235 Upload speed graph, colours defined in hex, minus the #. If scale is non-zero, it becomes the scale for the graph.
1236
1237 .TP 
1238 \fB\*(T<\fBuptime\fR\*(T>\fR 
1239 Uptime
1240
1241 .TP 
1242 \fB\*(T<\fBuptime_short\fR\*(T>\fR 
1243 Uptime in a shorter format
1244
1245 .TP 
1246 \fB\*(T<\fBuser_number\fR\*(T>\fR 
1247 Number of users logged in
1248
1249 .TP 
1250 \fB\*(T<\fBuser_names\fR\*(T>\fR 
1251 Lists the names of the users logged in
1252
1253 .TP 
1254 \fB\*(T<\fBuser_terms\fR\*(T>\fR 
1255 Lists the consoles in use
1256
1257 .TP 
1258 \fB\*(T<\fBuser_times\fR\*(T>\fR 
1259 Lists how long users have been logged in for
1260
1261 .TP 
1262 \fB\*(T<\fBvoffset\fR\*(T>\fR \*(T<\fB(pixels)\fR\*(T> 
1263 Change vertical offset by N pixels. Negative values will cause text to overlap. See also $offset.
1264
1265 .TP 
1266 \fB\*(T<\fBvoltage_mv\fR\*(T>\fR \*(T<\fB(n)\fR\*(T> 
1267 Returns CPU #n's voltage in mV. CPUs are
1268 counted from 1. If omitted, the parameter
1269 defaults to 1.
1270
1271 .TP 
1272 \fB\*(T<\fBvoltage_v\fR\*(T>\fR \*(T<\fB(n)\fR\*(T> 
1273 Returns CPU #n's voltage in V. CPUs are
1274 counted from 1. If omitted, the parameter
1275 defaults to 1.
1276
1277 .TP 
1278 \fB\*(T<\fBwireless_essid\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
1279 Wireless access point ESSID (Linux only)
1280
1281 .TP 
1282 \fB\*(T<\fBwireless_mode\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
1283 Wireless mode (Managed/Ad-Hoc/Master) (Linux only)
1284
1285 .TP 
1286 \fB\*(T<\fBwireless_bitrate\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
1287 Wireless bitrate (ie 11 Mb/s) (Linux only)
1288
1289 .TP 
1290 \fB\*(T<\fBwireless_ap\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
1291 Wireless access point MAC address (Linux only)
1292
1293 .TP 
1294 \fB\*(T<\fBwireless_link_qual\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
1295 Wireless link quality (Linux only)
1296
1297 .TP 
1298 \fB\*(T<\fBwireless_link_qual_max\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
1299 Wireless link quality maximum value (Linux only)
1300
1301 .TP 
1302 \fB\*(T<\fBwireless_link_qual_perc\fR\*(T>\fR \*(T<\fBnet\fR\*(T> 
1303 Wireless link quality in percents (Linux only)
1304
1305 .TP 
1306 \fB\*(T<\fBwireless_link_bar\fR\*(T>\fR \*(T<\fB(height), (width) net\fR\*(T> 
1307 Wireless link quality bar (Linux only)
1308
1309 .TP 
1310 \fB\*(T<\fBxmms2_artist\fR\*(T>\fR 
1311 Artist in current XMMS2 song
1312
1313 .TP 
1314 \fB\*(T<\fBxmms2_album\fR\*(T>\fR 
1315 Album in current XMMS2 song
1316
1317 .TP 
1318 \fB\*(T<\fBxmms2_title\fR\*(T>\fR 
1319 Title in current XMMS2 song
1320
1321 .TP 
1322 \fB\*(T<\fBxmms2_genre\fR\*(T>\fR 
1323 Genre in current XMMS2 song
1324
1325 .TP 
1326 \fB\*(T<\fBxmms2_comment\fR\*(T>\fR 
1327 Comment in current XMMS2 song
1328
1329 .TP 
1330 \fB\*(T<\fBxmms2_decoder\fR\*(T>\fR 
1331 Decoder plugin used
1332
1333 .TP 
1334 \fB\*(T<\fBxmms2_transport\fR\*(T>\fR 
1335 Transport plugin used
1336
1337 .TP 
1338 \fB\*(T<\fBxmms2_url\fR\*(T>\fR 
1339 Full path to current song
1340
1341 .TP 
1342 \fB\*(T<\fBxmms2_tracknr\fR\*(T>\fR 
1343 Track number in current XMMS2 song
1344
1345 .TP 
1346 \fB\*(T<\fBxmms2_bitrate\fR\*(T>\fR 
1347 Bitrate of current song
1348
1349 .TP 
1350 \fB\*(T<\fBxmms2_id\fR\*(T>\fR 
1351 XMMS2 id of current song
1352
1353 .TP 
1354 \fB\*(T<\fBxmms2_duration\fR\*(T>\fR 
1355 Duration of current song
1356
1357 .TP 
1358 \fB\*(T<\fBxmms2_elapsed\fR\*(T>\fR 
1359 Song's elapsed time
1360
1361 .TP 
1362 \fB\*(T<\fBxmms2_size\fR\*(T>\fR 
1363 Size of current song
1364
1365 .TP 
1366 \fB\*(T<\fBxmms2_percent\fR\*(T>\fR 
1367 Percent of song's progress
1368
1369 .TP 
1370 \fB\*(T<\fBxmms2_status\fR\*(T>\fR 
1371 XMMS2 status (Playing, Paused, Stopped, or Disconnected)
1372
1373 .TP 
1374 \fB\*(T<\fBxmms2_bar\fR\*(T>\fR \*(T<\fB(height),(width)\fR\*(T> 
1375 Bar of XMMS2's progress
1376
1377 .TP 
1378 \fB\*(T<\fBxmms2_smart\fR\*(T>\fR 
1379 Prints the song name in either the form "artist - title" or file name, depending on whats available
1380
1381 .SH EXAMPLES
1382 .TP 
1383 \*(T<conky \*(T>\*(T<\fB\-t '${time %D %H:%M}' \-o \-u 30\fR\*(T>
1384 Start Conky in its own window with date and clock as text and 30 sec update interval.
1385 .TP 
1386 \*(T<conky \*(T>\*(T<\fB\-a top_left \-x 5 \-y 500 \-d\fR\*(T>
1387 Start Conky to background at coordinates (5, 500).
1388 .SH FILES
1389 \*(T<\fI~/.conkyrc\fR\*(T> default configuration file
1390 .SH BUGS
1391 Drawing to root or some other desktop window directly doesn't work with
1392 all window managers. Especially doesn't work well with Gnome and it has
1393 been reported that it doesn't work with KDE either. Nautilus can be
1394 disabled from drawing to desktop with program gconf-editor. Uncheck
1395 show_desktop in /apps/nautilus/preferences/. There is -w switch in Conky
1396 to set some specific window id. You might find xwininfo -tree useful to
1397 find the window to draw to. You can also use -o argument which makes
1398 Conky to create its own window. If you do try running Conky in its own
1399 window, be sure to read up on the own_window_type settings and experiment.
1400 .SH "SEE ALSO"
1401 \(lahttp://conky.sourceforge.net/\(ra
1402 .PP
1403 \(lahttp://www.sourceforge.net/projects/conky\(ra
1404 .PP
1405 #conky on irc.freenode.net
1406 .SH COPYING
1407 Copyright (c) 2005-2008 Brenden Matthews, Philip Kovacs, et. al.
1408 Any original torsmo code is licensed under the BSD license (see LICENSE.BSD for a copy).
1409 All code written since the fork of torsmo is licensed under the GPL (see LICENSE.GPL for a copy), except where noted differently (such as in portmon code, timed thread code, and audacious code which are LGPL, and prss which is an MIT-style license).
1410 .SH AUTHORS
1411 The Conky dev team (see AUTHORS for a full list of contributors).