* Added CRLF characters to POP3 and IMAP stuff (should play nicer with
[monky] / README
1 conky(1)                                                              conky(1)
2
3
4
5 NAME
6        conky - A system monitor for X originally based on the torsmo code, but
7        more kickass. It just keeps on given'er. Yeah.
8
9 SYNOPSIS
10        conky [options]
11
12 DESCRIPTION
13        Conky is a system monitor for X originally based on  the  torsmo  code.
14        Since  it's original conception, Conky has changed a fair bit from it's
15        predecessor.  Conky can display just about  anything,  either  on  your
16        root  desktop  or in it's own window.  Conky has many built-in objects,
17        as well as the ability to execute programs and  scripts,  then  display
18        the output from stdout.
19
20        We are always looking for help, and anyone interested in becoming a de-
21        veloper is welcome.  Please use the facilities at SourceForge  to  make
22        bug reports, feature requests, and submit patches.
23
24        Thanks for your interest in Conky.
25
26 COMPILING
27        For  users  compiling from source, make sure you have the X development
28        libraries installed.  This should be  a  package  along  the  lines  of
29        "libx11-dev or xorg-x11-dev".
30
31        Gentoo users -- Conky is in Gentoo's Portage... simply use "emerge app-
32        admin/conky" for installation.  There is  also  usually  an  up-to-date
33        ebuild within Conky's package or in Svn.
34
35        Debian,etc.  users  --  Conky will be in Debian's repositories soon (by
36        mid-September, hopefully), and then Ubuntu  shortly  thereafter.  Until
37        then, "dpkg -i" the .deb package to install.
38
39        Example  to  compile  and  run Conky with all optional components (note
40        that some configure options may differ for your system):
41
42        sh autogen.sh # Only required if building from SVN
43
44        ./configure      --prefix=/usr      --mandir=/usr/share/man       --in-
45        fodir=/usr/share/info  --datadir=/usr/share  --sysconfdir=/etc --local-
46        statedir=/var/lib --disable-own-window --enable-audacious[=yes|no|lega-
47        cy] --enable-bmpx --disable-hddtemp --disable-mpd --enable-xmms2 --dis-
48        able-portmon  --disable-network  --enable-debug  --disable-x11   --dis-
49        able-double-buffer --disable-xdamage --disable-xft
50
51        make
52
53        make install # Optional
54
55        src/conky
56
57        Conky probably doesn't compile with compilers other than gcc  and  icc.
58        It  doesn't  compile  with C89 compiler and not even with pure C99.  It
59        uses a few things that might not exist: strdup(),  strcasecmp(),  strn-
60        casecmp(),  optarg  variable  with getopt() and long long (not in C89).
61        Crashes in file system statistics stuff when compiled with icc, I don't
62        know exactly why.
63
64        You  can disable 'drawing to own window' feature in case you don't need
65        it by passing --disable-own-window to configure -script.
66
67
68 YOU SHOULD KNOW
69        Conky is generally very good on resources. However, certain objects  in
70        Conky  are  harder  on resources then others. In particular, the $tail,
71        $top, $font, and $graph objects are quite costly in comparison  to  the
72        rest of Conky.
73
74        If  you  do use them, please do not complain about memory or CPU usage,
75        unless you think something's seriously wrong (mem leak, etc.).
76
77        An easy way to force Conky to reload your ~/.conkyrc: "killall -SIGUSR1
78        conky".   Saves you the trouble of having to kill and then restart. You
79        can now also do the same with SIGHUP.
80
81        IMPORTANT: For previous Conky users, Conky 1.3 no longer  supports  the
82        metar  stuff.   mdsplib  was  causing  way too many problems. Hopefully
83        there'll be a better solution in Conky 2.x...
84
85 OPTIONS
86        Command line options override configurations defined  in  configuration
87        file.
88
89        -v | -V | --verbose
90               Prints version and exits
91
92
93        -a | --alignment=ALIGNMENT
94               Text alignment on screen, {top,bottom}_{left,right} or none
95
96
97        -b | --double-buffer
98               Use double buffering (eliminates "flicker")
99
100
101        -c | --config=FILE
102               Config file to load instead of $HOME/.conkyrc
103
104
105        -d | --daemonize
106               Daemonize Conky, aka fork to background
107
108
109        -f | --font=FONT
110               Font to use
111
112
113        -h | --help
114               Prints command line help and exits
115
116
117        -o | --own-window
118               Create own window to draw
119
120
121        -t | --text=TEXT
122               Text to render, remember single quotes, like -t ' $uptime '
123
124
125        -u | --interval=SECONDS
126               Update interval
127
128
129        -w | --window-id=WIN_ID
130               Window id to draw
131
132
133        -x X_COORDINATE
134               X position
135
136
137        -y Y_COORDINATE
138               Y position
139
140
141 CONFIGURATION SETTINGS
142        Default  configuration  file  is  $HOME/.conkyrc  (can  be changed from
143        conky.c among other things). See conkyrc.sample. If installing from De-
144        bian  package, this should be in /usr/share/doc/conky/examples ("gunzip
145        conkyrc.sample.gz" to get conkyrc.sample).
146
147        You might want to copy it to $HOME/.conkyrc and  then  start  modifying
148        it.  Other configs can be found at http://conky.sf.net
149
150        alignment
151               Aligned position on screen, may be top_left, top_right, top_mid-
152               dle, bottom_left, bottom_right, bottom_middle, middle_left, mid-
153               dle_right,  or  none  (also can be abreviated as tl, tr, tm, bl,
154               br, bm, ml, mr)
155
156
157        background
158               Boolean value, if true, Conky will be forked to background  when
159               started
160
161
162        border_margin
163               Border margin in pixels
164
165
166        border_width
167               Border width in pixels
168
169
170        color0 A color variable for use inside TEXT segments
171
172
173        color1 A color variable for use inside TEXT segments
174
175
176        color2 A color variable for use inside TEXT segments
177
178
179        color3 A color variable for use inside TEXT segments
180
181
182        color4 A color variable for use inside TEXT segments
183
184
185        color5 A color variable for use inside TEXT segments
186
187
188        color6 A color variable for use inside TEXT segments
189
190
191        color7 A color variable for use inside TEXT segments
192
193
194        color8 A color variable for use inside TEXT segments
195
196
197        color9 A color variable for use inside TEXT segments
198
199
200        cpu_avg_samples
201               The number of samples to average for CPU monitoring
202
203
204        top_cpu_separate
205               If true, cpu in top will show usage of one processor's power. If
206               false, cpu in top will show the usage of all  processors'  power
207               combined.
208
209
210        default_color
211               Default color and border color
212
213
214        default_outline_color
215               Default outline color
216
217
218        default_shade_color
219               Default shading color and border's shading color
220
221
222        double_buffer
223               Use the Xdbe extension? (eliminates flicker) It is highly recom-
224               mended to use own window with this one so double buffer won't be
225               so big.
226
227
228        draw_borders
229               Draw borders around text?
230
231
232        draw_graph_borders
233               Draw borders around graphs?
234
235
236        draw_outline
237               Draw outlines?
238
239
240        draw_shades
241               Draw shades?
242
243
244        font   Font name in X, xfontsel can be used to get a nice font
245
246
247        gap_x  Gap,  in pixels, between right or left border of screen, same as
248               passing -x at command line, e.g. gap_x 10
249
250
251        gap_y  Gap, in pixels, between top or bottom border of screen, same  as
252               passing -y at command line, e.g. gap_y 10.
253
254
255        imap   Default  global  IMAP server. Arguments are: "host user pass [-i
256               interval] [-f folder] [-p port] [-e command]". Default  port  is
257               143,  default  folder is 'INBOX', default interval is 5 minutes.
258               If the password is supplied as '*', you will be prompted to  en-
259               ter the password when Conky starts.
260
261
262        mail_spool
263               Mail spool for mail checking
264
265
266        max_port_monitor_connections
267               Allow  each  port monitor to track at most this many connections
268               (if 0 or not set, default is 256)
269
270
271        max_specials
272               Maximum number of special things, e.g. fonts,  offsets,  aligns,
273               etc. (default is 512)
274
275
276        max_user_text bytes
277               Maximum size of user text buffer, i.e. layout below TEXT line in
278               config file (default is 16384 bytes)
279
280
281        large_text_buffer_size bytes
282               Size of the standard large text buffer (default is 1024  bytes).
283               This buffer is used for the entirety of Conky's text. Increasing
284               the buffer's size will decrease  performance  and  increase  the
285               memory footprint of Conky, but it will allow for more text to be
286               displayed in Conky.
287
288
289        small_text_buffer_size bytes
290               Size of the standard small text buffer (default is  128  bytes).
291               This  buffer  is  used for intermediary text, such as individual
292               lines, output from $exec vars, and various other variables.  In-
293               creasing  the size of this buffer can drastically reduce Conky's
294               performance, but will allow for more text display per  variable.
295               The size of this buffer cannot be smaller than the default value
296               of 128 bytes.
297
298
299        maximum_width pixels
300               Maximum width of window
301
302
303        minimum_size width (height)
304               Minimum size of window
305
306
307        mpd_host
308               Host of MPD server
309
310
311        mpd_port
312               Port of MPD server
313
314
315        mpd_password
316               MPD server password
317
318
319        music_player_interval
320               Music player thread update interval (defaults to Conky's  update
321               interval)
322
323
324        net_avg_samples
325               The number of samples to average for net data
326
327
328        no_buffers
329               Substract (file system) buffers from used memory?
330
331
332        override_utf8_locale
333               Force UTF8? requires XFT
334
335
336        own_window
337               Boolean, create own window to draw?
338
339
340        own_window_class
341               Manually set the WM_CLASS name. Defaults to "Conky".
342
343
344        own_window_colour colour
345               If  own_window_transparent no, set a specified background colour
346               (defaults to black). Takes either a hex  value  (#ffffff)  or  a
347               valid RGB name (see /usr/lib/X11/rgb.txt)
348
349
350        own_window_hints undecorated,below,above,sticky,skip_taskbar,skip_pager
351               If  own_window is yes, you may use these window manager hints to
352               affect the way Conky displays.  Notes: Use own_window_type desk-
353               top  as another way to implement many of these hints implicitly.
354               If you use own_window_type override, window manager  hints  have
355               no meaning and are ignored.
356
357
358        own_window_title
359               Manually  set the window name. Defaults to "<hostname> - conky".
360
361
362        own_window_transparent
363               Boolean, set pseudo-transparency?
364
365
366        own_window_type
367               if own_window is yes, you may specify type  normal,  desktop  or
368               override (default: normal).  Desktop windows are special windows
369               that have no window decorations;  are  always  visible  on  your
370               desktop;  do not appear in your pager or taskbar; and are sticky
371               across all workspaces.  Override windows are not under the  con-
372               trol of the window manager. Hints are ignored. This type of win-
373               dow can be useful for certain situations.
374
375
376        out_to_console
377               Print text to stdout.
378
379
380        pad_percents
381               Pad percentages to this many decimals (0 = no padding)
382
383
384        pop3   Default global POP3 server. Arguments are: "host user  pass  [-i
385               interval]  [-p port] [-e command]". Default port is 110, default
386               interval is 5 minutes. If the password is supplied as  '*',  you
387               will be prompted to enter the password when Conky starts.
388
389
390        short_units
391               Shortens units to a single character (kiB->k, GiB->G, etc.). De-
392               fault is off.
393
394
395        stippled_borders
396               Border stippling (dashing) in pixels
397
398
399        total_run_times
400               Total number of times for Conky to update before quitting.  Zero
401               makes Conky run forever
402
403
404        update_interval
405               Update interval in seconds
406
407
408        uppercase
409               Boolean value, if true, text is rendered in upper case
410
411
412        use_spacer
413               Adds spaces around certain objects to stop them from moving oth-
414               er things around. Arguments are left, right, and none (default).
415               The   old  true/false  values  are  deprecated  and  default  to
416               right/none respectively. Note that this only helps  if  you  are
417               using a mono font, such as Bitstream Vera Sans Mono.
418
419
420        use_xft
421               Use Xft (anti-aliased font and stuff)
422
423
424        xftalpha
425               Alpha of Xft font. Must be a value at or between 1 and 0.
426
427
428        xftfont
429               Xft font to use.
430
431
432        TEXT   After this begins text to be formatted on screen
433
434
435 VARIABLES
436        Colors  are  parsed using XParsecolor(), there might be a list of them:
437        /usr/X11R6/lib/X11/rgb.txt. Also,  <http://sedition.com/perl/rgb.html>.
438        Color  can  be also in #rrggbb format (hex).  Note that when displaying
439        bytes, power is 1024 and not 1000 so 1M really  means  1024*1024  bytes
440        and not 1000*1000.
441
442        addr interface
443               IP address for an interface
444
445
446        addrs interface
447               IP  addresses for an interface (if one - works like addr). Linux
448               only.
449
450
451        acpiacadapter
452               ACPI ac adapter state.
453
454
455        acpifan
456               ACPI fan state
457
458
459        acpitemp
460               ACPI temperature in C.
461
462
463        acpitempf
464               ACPI temperature in F.
465
466
467        adt746xcpu
468               CPU temperature from therm_adt746x
469
470
471        adt746xfan
472               Fan speed from therm_adt746x
473
474
475        alignr (num)
476               Right-justify text, with space of N
477
478
479        alignc (num)
480               Align text to centre
481
482
483        apm_adapter
484               Display APM AC adapter status (FreeBSD only)
485
486
487        apm_battery_life
488               Display APM battery life in percent (FreeBSD only)
489
490
491        apm_battery_time
492               Display remaining APM battery life in hh:mm:ss or  "unknown"  if
493               AC adapterstatus is on-line or charging (FreeBSD only)
494
495
496        audacious_bar (height),(width)
497               Progress bar
498
499
500        audacious_bitrate
501               Bitrate of current tune
502
503
504        audacious_channels
505               Number of audio channels of current tune
506
507
508        audacious_filename
509               Full path and filename of current tune
510
511
512        audacious_frequency
513               Sampling frequency of current tune
514
515
516        audacious_length
517               Total length of current tune as MM:SS
518
519
520        audacious_length_seconds
521               Total length of current tune in seconds
522
523
524        audacious_playlist_position
525               Playlist position of current tune
526
527
528        audacious_playlist_length
529               Number of tunes in playlist
530
531
532        audacious_position
533               Position of current tune (MM:SS)
534
535
536        audacious_position_seconds
537               Position of current tune in seconds
538
539
540        audacious_status
541               Player status (Playing/Paused/Stopped/Not running)
542
543
544        audacious_title (max length)
545               Title of current tune with optional maximum length specifier
546
547
548        battery (num)
549               Battery  status and remaining percentage capacity of ACPI or APM
550               battery. ACPI battery number can be given as  argument  (default
551               is BAT0).
552
553
554        battery_bar (height),(width) (num)
555               Battery percentage remaining of ACPI battery in a bar. ACPI bat-
556               tery number can be given as argument (default is BAT0).
557
558
559        battery_percent (num)
560               Battery percentage remaining for ACPI battery. ACPI battery num-
561               ber can be given as argument (default is BAT0).
562
563
564        battery_time (num)
565               Battery  charge/discharge  time  remaining of ACPI battery. ACPI
566               battery number can be given as argument (default is BAT0).
567
568
569        bmpx_artist
570               Artist in current BMPx track
571
572
573        bmpx_album
574               Album in current BMPx track
575
576
577        bmpx_title
578               Title of the current BMPx track
579
580
581        bmpx_track
582               Track number of the current BMPx track
583
584
585        bmpx_bitrate
586               Bitrate of the current BMPx track
587
588
589        bmpx_uri
590               URI of the current BMPx track
591
592
593        buffers
594               Amount of memory buffered
595
596
597        cached Amount of memory cached
598
599
600        color (color)
601               Change drawing color to color
602
603
604        color0 Change drawing color to color0 configuration option
605
606
607        color1 Change drawing color to color1 configuration option
608
609
610        color2 Change drawing color to color2 configuration option
611
612
613        color3 Change drawing color to color3 configuration option
614
615
616        color4 Change drawing color to color4 configuration option
617
618
619        color5 Change drawing color to color5 configuration option
620
621
622        color6 Change drawing color to color6 configuration option
623
624
625        color7 Change drawing color to color7 configuration option
626
627
628        color8 Change drawing color to color8 configuration option
629
630
631        color9 Change drawing color to color9 configuration option
632
633
634        conky_version
635               Conky version
636
637
638        conky_build_date
639               Date Conky was built
640
641
642        conky_bulid_arch
643               CPU architecture Conky was built for
644
645
646        cpu (cpuN)
647               CPU usage in percents. For SMP machines, the CPU number  can  be
648               provided  as  an  argument.  ${cpu cpu0} is the total usage, and
649               ${cpu cpuX} (X >= 1) are individual CPUs.
650
651
652        cpubar (cpu number) (height),(width)
653               Bar that shows CPU usage, height is bar's height in pixels.  See
654               $cpu for more info on SMP.
655
656
657        cpugraph  (cpu  number)  (height),(width) (gradient colour 1) (gradient
658        colour 2)
659               CPU  usage graph, with optional colours in hex, minus the #. See
660               $cpu for more info on SMP.
661
662
663        diskio (device)
664               Displays current disk IO. Device is optional, and takes the form
665               of sda for /dev/sda. Individual partitions are allowed.
666
667
668        diskiograph  (device)  (height),(width)  (gradient  colour 1) (gradient
669        colour 2) (scale)
670               Disk  IO graph, colours defined in hex, minus the #. If scale is
671               non-zero, it becomes the scale for the graph.
672
673
674        diskio_read (device)
675               Displays current disk IO for reads. Device as in diskio.
676
677
678        diskiograph_read (device) (height),(width) (gradient colour 1)  (gradi-
679        ent colour 2) (scale)
680               Disk IO graph for reads, colours defined in hex, minus the #. If
681               scale is non-zero, it becomes the scale for the graph. Device as
682               in diskio.
683
684
685        diskio_write (device)
686               Displays current disk IO for writes. Device as in diskio.
687
688
689        diskiograph_write (device) (height),(width) (gradient colour 1) (gradi-
690        ent colour 2) (scale)
691               Disk IO graph for writes, colours defined in hex, minus  the  #.
692               If scale is non-zero, it becomes the scale for the graph. Device
693               as in diskio.
694
695
696        downspeed net
697               Download speed in kilobytes
698
699
700        downspeedf net
701               Download speed in kilobytes with one decimal
702
703
704        downspeedgraph  net  (height),(width)  (gradient  colour  1)  (gradient
705        colour 2) (scale)
706               Download speed graph, colours defined in hex, minus  the  #.  If
707               scale is non-zero, it becomes the scale for the graph.
708
709
710        else   Text to show if any of the above are not true
711
712
713        entropy_avail
714               Current entropy available for crypto freaks
715
716
717        entropy_bar (height),(width)
718               Normalized bar of available entropy for crypto freaks
719
720
721        entropy_poolsize
722               Total size of system entropy pool for crypto freaks
723
724
725        exec command
726               Executes a shell command and displays the output in conky. warn-
727               ing: this takes a lot more resources than other  variables.  I'd
728               recommend coding wanted behaviour in C and posting a patch.
729
730
731        execp command
732               Executes a shell command and displays the output in conky. warn-
733               ing: this takes a lot more resources than other  variables.  I'd
734               recommend coding wanted behaviour in C and posting a patch. This
735               differs from $exec in that it parses the output of the  command,
736               so  you  can  insert things like ${color red}hi!${color} in your
737               script and have it correctly parsed by Conky.
738
739
740        execbar command
741               Same as exec, except if the first value return is  a  value  be-
742               tween 0-100, it will use that number for a bar. The size for the
743               bar is currently fixed, but that may change in the future.
744
745
746        execgraph command
747               Same as execbar, but graphs values.
748
749
750        execi interval command
751               Same as exec but with specific interval. Interval can't be  less
752               than update_interval in configuration. See also $texeci
753
754
755        execibar interval command
756               Same as execbar, except with an interval
757
758
759        execigraph interval command
760               Same as execigraph, but takes an interval arg graphs values
761
762
763        font (font)
764               Specify  a  different font. This new font will apply to the cur-
765               rent line and everything following. You can use a $font with  no
766               arguments  to  change  back  to the default font (much like with
767               $color)
768
769
770        freq (n)
771               Returns CPU #n's frequency in MHz. CPUs are counted from  1.  If
772               omitted, the parameter defaults to 1.
773
774
775        freq_g (n)
776               Returns  CPU  #n's frequency in GHz. CPUs are counted from 1. If
777               omitted, the parameter defaults to 1.
778
779
780        freq_dyn
781               Returns CPU frequency in MHz, but is calculated by  counting  to
782               clock  cycles  to  complete  an  instruction. Only available for
783               x86/amd64.
784
785
786        freq_dyn_g
787               Returns CPU frequency in GHz, but is calculated by  counting  to
788               clock  cycles  to  complete  an  instruction. Only available for
789               x86/amd64.
790
791
792        fs_bar (height),(width) fs
793               Bar that shows how much space is used on a file  system.  height
794               is the height in pixels. fs is any file on that file system.
795
796
797        fs_free (fs)
798               Free space on a file system available for users.
799
800
801        fs_free_perc (fs)
802               Free percentage of space on a file system available for users.
803
804
805        fs_size (fs)
806               File system size
807
808
809        fs_type (fs)
810               File system type
811
812
813        fs_used (fs)
814               File system used space
815
816
817        goto x The next element will be printed at position 'x'.
818
819
820        hddtemp dev, (host,(port))
821               Displays  temperature  of a selected hard disk drive as reported
822               by the hddtemp daemon running on  host:port.   Default  host  is
823               127.0.0.1, default port is 7634.
824
825
826        head logfile lines (interval)
827               Displays  first  N lines of supplied text text file. If interval
828               is not supplied, Conky assumes 2x Conky's interval.  Max  of  30
829               lines can be displayed, or until the text buffer is filled.
830
831
832        hr (height)
833               Horizontal line, height is the height in pixels
834
835
836        hwmon (dev) type n
837               Hwmon  sensor from sysfs (Linux 2.6). Parameter dev may be omit-
838               ted if you have only one hwmon device. Parameter type is  either
839               'in'  or  'vol' meaning voltage; 'fan' meaning fan; 'temp' (Cel-
840               sius) or 'tempf' (Fahrenheit) meaning temperature.  Parameter  n
841               is  number  of  the  sensor. See /sys/class/hwmon/ on your local
842               computer.
843
844
845        iconv_start codeset_from codeset_to
846               Convert text from one codeset to another using GNU iconv.  Needs
847               to be stopped with iconv_stop.
848
849
850        iconv_stop
851               Stop iconv codeset conversion.
852
853
854        i2c (dev) type n
855               I2C  sensor from sysfs (Linux 2.6). Parameter dev may be omitted
856               if you have only one I2C device. Parameter type is  either  'in'
857               or 'vol' meaning voltage; 'fan' meaning fan; 'temp' (Celsius) or
858               'tempf' (Fahrenheit) meaning temperature. Parameter n is  number
859               of the sensor. See /sys/bus/i2c/devices/ on your local computer.
860
861
862        i8k_ac_status
863               If running the i8k kernel driver for Inspiron laptops,  displays
864               whether  ac  power  is on, as listed in /proc/i8k (translated to
865               human-readable). Beware that this is by default not  enabled  by
866               i8k itself.
867
868
869        i8k_bios
870               If  running the i8k kernel driver for Inspiron laptops, displays
871               the bios version as listed in /proc/i8k.
872
873
874        i8k_buttons_status
875               If running the i8k kernel driver for Inspiron laptops,  displays
876               the volume buttons status as listed in /proc/i8k.
877
878
879        i8k_cpu_temp
880               If  running the i8k kernel driver for Inspiron laptops, displays
881               the cpu temperature in Celsius, as reported by /proc/i8k.
882
883
884        i8k_cpu_tempf
885               If running the i8k kernel driver for Inspiron laptops,  displays
886               the cpu temperature in Fahrenheit, as reported by /proc/i8k.
887
888
889        i8k_left_fan_rpm
890               If  running the i8k kernel driver for Inspiron laptops, displays
891               the left fan's rate of rotation, in revolutions  per  minute  as
892               listed in /proc/i8k. Beware, some laptops i8k reports these fans
893               in reverse order.
894
895
896        i8k_left_fan_status
897               If running the i8k kernel driver for Inspiron laptops,  displays
898               the left fan status as listed in /proc/i8k (translated to human-
899               readable). Beware, some laptops i8k reports these  fans  in  re-
900               verse order.
901
902
903        i8k_right_fan_rpm
904               If  running the i8k kernel driver for Inspiron laptops, displays
905               the right fan's rate of rotation, in revolutions per  minute  as
906               listed in /proc/i8k. Beware, some laptops i8k reports these fans
907               in reverse order.
908
909
910        i8k_right_fan_status
911               If running the i8k kernel driver for Inspiron laptops,  displays
912               the  right  fan status as listed in /proc/i8k (translated to hu-
913               man-readable). Beware, some laptops i8k reports  these  fans  in
914               reverse order.
915
916
917        i8k_serial
918               If  running the i8k kernel driver for Inspiron laptops, displays
919               your laptop serial number as listed in /proc/i8k.
920
921
922        i8k_version
923               If running the i8k kernel driver for Inspiron laptops,  displays
924               the version formatting of /proc/i8k.
925
926
927        ibm_fan
928               If running the IBM ACPI, displays the fan speed.
929
930
931        ibm_temps N
932               If  running the IBM ACPI, displays the temperatures from the IBM
933               temperature sensors (N=0..7) Sensor 0 is on the CPU, 3 is on the
934               GPU.
935
936
937        ibm_volume
938               If  running  the  IBM  ACPI,  displays the "master" volume, con-
939               trolled by the volume keys (0-14).
940
941
942        ibm_brightness
943               If running the IBM ACPI, displays the brigtness of the laptops's
944               LCD (0-7).
945
946
947        if_empty (var)
948               if  conky  variable  VAR  is  empty,  display everything between
949               $if_empty and the matching $endif
950
951
952        if_running (process)
953               if PROCESS is running, display everything  $if_running  and  the
954               matching $endif
955
956
957        if_existing file (string)
958               if  FILE  exists, display everything between if_existing and the
959               matching $endif. The optional second paramater checks  for  FILE
960               containing  the  specified  string and prints everything between
961               $if_existing and the matching $endif.
962
963
964        if_mounted (mountpoint)
965               if MOUNTPOINT is mounted, display everything between $if_mounted
966               and the matching $endif
967
968
969        if_smapi_bat_installed (INDEX)
970               when  using smapi, if the battery with index INDEX is installed,
971               display  everything  between  $if_smapi_bat_installed  and   the
972               matching $endif
973
974
975        if_up (interface)
976               if INTERFACE exists and is up, display everything between $if_up
977               and the matching $endif
978
979
980        imap_messages (args)
981               Displays the number of messages in your global IMAP inbox by de-
982               fault.  You  can  define  individual  IMAP inboxes seperately by
983               passing arguments to this object. Arguments are: "host user pass
984               [-i  interval] [-p port] [-e command]". Default port is 143, de-
985               fault interval is 5 minutes. If the password is supplied as '*',
986               you will be prompted to enter the password when Conky starts.
987
988
989        imap_unseen (args)
990               Displays the number of unseen messages in your global IMAP inbox
991               by default. You can define individual IMAP inboxes seperately by
992               passing arguments to this object. Arguments are: "host user pass
993               [-i interval] [-p port] [-e command]". Default port is 143,  de-
994               fault interval is 5 minutes. If the password is supplied as '*',
995               you will be prompted to enter the password when Conky starts.
996
997
998        kernel Kernel version
999
1000
1001        loadavg
1002               (1,2,3)> System load average, 1 is for past 1 minute, 2 for past
1003               5 minutes and 3 for past 15 minutes.
1004
1005
1006        machine
1007               Machine, i686 for example
1008
1009
1010        mails (mailbox) (interval)
1011               Mail  count  in the specified mailbox or your mail spool if not.
1012               Both mbox and maildir type mailboxes are supported. You can  use
1013               a  program  like  fetchmail  to get mails from some server using
1014               your favourite protocol. See also new_mails.
1015
1016
1017        mboxscan (-n number of messages to print) (-fw from width) (-sw subject
1018        width) mbox
1019               Print a summary of recent messages in an  mbox  format  mailbox.
1020               mbox  parameter  is the filename of the mailbox (can be encapsu-
1021               lated using '"', ie. ${mboxscan -n 10 "/home/brenden/some box"}
1022
1023
1024        mem    Amount of memory in use
1025
1026
1027        membar (height),(width)
1028               Bar that shows amount of memory in use
1029
1030
1031        memmax Total amount of memory
1032
1033
1034        memperc
1035               Percentage of memory in use
1036
1037
1038        mpd_artist
1039               Artist in current MPD song must be enabled at compile
1040
1041
1042        mpd_album
1043               Album in current MPD song
1044
1045
1046        mpd_bar (height),(width)
1047               Bar of mpd's progress
1048
1049
1050        mpd_bitrate
1051               Bitrate of current song
1052
1053
1054        mpd_status
1055               Playing, stopped, et cetera.
1056
1057
1058        mpd_title (max length)
1059               Title of current MPD song
1060
1061
1062        mpd_vol
1063               MPD's volume
1064
1065
1066        mpd_elapsed
1067               Song's elapsed time
1068
1069
1070        mpd_length
1071               Song's length
1072
1073
1074        mpd_percent
1075               Percent of song's progress
1076
1077
1078        mpd_random
1079               Random status (On/Off)
1080
1081
1082        mpd_repeat
1083               Repeat status (On/Off)
1084
1085
1086        mpd_track
1087               Prints the MPD track field
1088
1089
1090        mpd_name
1091               Prints the MPD name field
1092
1093
1094        mpd_file
1095               Prints the file name of the current MPD song
1096
1097
1098        mpd_smart
1099               Prints the song name in either the form "artist - title" or file
1100               name, depending on whats available
1101
1102
1103        new_mails (mailbox) (interval)
1104               Unread mail count in the specified mailbox or mail spool if not.
1105               Both mbox and maildir type mailboxes are supported.
1106
1107
1108        nodename
1109               Hostname
1110
1111
1112        outlinecolor (color)
1113               Change outline color
1114
1115
1116        pb_battery item
1117               If running on Apple powerbook/ibook, display information on bat-
1118               tery  status.  The item parameter specifies, what information to
1119               display. Exactly one item must be specified. Valid items are:
1120
1121               status: Display if battery is fully charged, charging, discharg-
1122               ing or absent (running on AC)
1123               percent:  Display  charge  of battery in percent, if charging or
1124               discharging. Nothing will be  displayed,  if  battery  is  fully
1125               charged or absent.
1126               time: Display the time remaining until the battery will be fully
1127               charged or discharged at current rate. Nothing is displayed,  if
1128               battery  is  absent or if it's present but fully charged and not
1129               discharging.
1130
1131
1132        platform (dev) type n
1133               Platform sensor from sysfs (Linux 2.6).  Parameter  dev  may  be
1134               omitted  if  you have only one platform device. Platform type is
1135               either 'in' or 'vol' meaning voltage; 'fan' meaning fan;  'temp'
1136               (Celsius) or 'tempf' (Fahrenheit) meaning temperature. Parameter
1137               n is number of the  sensor.  See  /sys/bus/platform/devices/  on
1138               your local computer.
1139
1140
1141        pop3_unseen (args)
1142               Displays the number of unseen messages in your global POP3 inbox
1143               by default. You can define individual POP3 inboxes seperately by
1144               passing arguments to this object. Arguments are: "host user pass
1145               [-i interval] [-p port] [-e command]". Default port is 110,  de-
1146               fault interval is 5 minutes. If the password is supplied as '*',
1147               you will be prompted to enter the password when Conky starts.
1148
1149
1150        pop3_used (args)
1151               Displays the amount of space (in MiB, 2^20) used in your  global
1152               POP3  inbox  by  default. You can define individual POP3 inboxes
1153               seperately by passing arguments to this object.  Arguments  are:
1154               "host  user  pass [-i interval] [-p port] [-e command]". Default
1155               port is 110, default interval is 5 minutes. If the  password  is
1156               supplied as '*', you will be prompted to enter the password when
1157               Conky starts.
1158
1159
1160        pre_exec shell command
1161               Executes a shell command one time before conky displays anything
1162               and puts output as text.
1163
1164
1165        processes
1166               Total processes (sleeping and running)
1167
1168
1169        running_processes
1170               Running processes (not sleeping), requires Linux 2.6
1171
1172
1173        shadecolor (color)
1174               Change shading color
1175
1176
1177        smapi (ARGS)
1178               when  using  smapi,  display  contents of the /sys/devices/plat-
1179               form/smapi directory. ARGS are either '(FILENAME)' or 'bat  (IN-
1180               DEX)  (FILENAME)'  to  display the corresponding files' content.
1181               This is a very raw method of accessing the  smapi  values.  When
1182               available, better use one of the smapi_* variables instead.
1183
1184
1185        smapi_bat_perc (INDEX)
1186               when  using  smapi, display the remaining capacity in percent of
1187               the battery with index INDEX. This is a  separate  variable  be-
1188               cause it supports the 'use_spacer' configuration option.
1189
1190
1191        smapi_bat_bar (INDEX),(height),(width)
1192               when  using smapi, display the remaining capacity of the battery
1193               with index INDEX as a bar.
1194
1195
1196        stippled_hr (space)
1197               Stippled (dashed) horizontal line
1198
1199
1200        swapbar (height),(width)
1201               Bar that shows amount of swap in use
1202
1203
1204        swap   Amount of swap in use
1205
1206
1207        swapmax
1208               Total amount of swap
1209
1210
1211        swapperc
1212               Percentage of swap in use
1213
1214
1215        sysname
1216               System name, Linux for example
1217
1218
1219        tcp_portmon port_begin port_end item (index) (ip4 only at present)
1220               TCP port monitor for specified local ports. Port numbers must be
1221               in the range 1 to 65535. Valid items are:
1222
1223               count - total number of connections in the range
1224               rip - remote ip address
1225               rhost - remote host name
1226               rport - remote port number
1227               rservice - remote service name from /etc/services
1228               lip - local ip address
1229               lhost - local host name
1230               lport - local port number
1231               lservice - local service name from /etc/services
1232
1233               The connection index provides you with access to each connection
1234               in the port monitor. The monitor will return information for in-
1235               dex values from 0 to n-1 connections. Values higher than n-1 are
1236               simply ignored. For the "count" item, the connection index  must
1237               be omitted. It is required for all other items.
1238
1239               Examples:
1240               ${tcp_portmon  6881 6999 count} - displays the number of connec-
1241               tions in the bittorrent port range
1242               ${tcp_portmon 22 22 rip 0} - displays the remote host ip of  the
1243               first sshd connection
1244               ${tcp_portmon  22 22 rip 9} - displays the remote host ip of the
1245               tenth sshd connection
1246               ${tcp_portmon 1 1024 rhost 0} - displays the remote host name of
1247               the first connection on a privileged port
1248               ${tcp_portmon 1 1024 rport 4} - displays the remote host port of
1249               the fifth connection on a privileged port
1250               ${tcp_portmon 1 65535 lservice 14} - displays the local  service
1251               name of the fifteenth connection in the range of all ports
1252
1253               Note that port monitor variables which share the same port range
1254               actually refer to the same monitor, so many references to a sin-
1255               gle port range for different items and different indexes all use
1256               the same monitor internally. In other words, the program  avoids
1257               creating redundant monitors.
1258
1259        texeci interval command
1260               Runs  a  command at an interval inside a thread and displays the
1261               output. Same as $execi, except  the  command  is  run  inside  a
1262               thread.  Use this if you have a slow script to keep Conky updat-
1263               ing. You should make the interval slightly longer then the  time
1264               it  takes  your  script  to  execute. For example, if you have a
1265               script that take 5 seconds to execute, you should make  the  in-
1266               terval at least 6 seconds. See also $execi.
1267
1268
1269        offset (pixels)
1270               Move text over by N pixels. See also $voffset.
1271
1272
1273        rss url delay_in_minutes action item_num
1274               Download  and  parse RSS feeds. Action may be one of the follow-
1275               ing: feed_title, item_title (with num par), item_desc (with  num
1276               par) and item_titles.
1277
1278
1279        tab (width, (start))
1280               Puts a tab of the specified width, starting from column 'start'.
1281
1282
1283        tail logfile lines (interval)
1284               Displays last N lines of supplied text text file. If interval is
1285               not supplied, Conky assumes 2x Conky's interval. Max of 30 lines
1286               can be displayed, or until the text buffer is filled.
1287
1288
1289        time (format)
1290               Local time, see man strftime to get more information about  for-
1291               mat
1292
1293
1294        utime (format)
1295               Display time in UTC (universal coordinate time).
1296
1297
1298        tztime (timezone) (format)
1299               Local  time for specified timezone, see man strftime to get more
1300               information about format. The timezone argument is specified  in
1301               similar  fashion  as TZ environment variable. For hints, look in
1302               /usr/share/zoneinfo. e.g. US/Pacific, Europe/Zurich, etc.
1303
1304
1305        totaldown net
1306               Total download, overflows at 4 GB on Linux with 32-bit arch  and
1307               there doesn't seem to be a way to know how many times it has al-
1308               ready done that before conky has started.
1309
1310
1311        top type, num
1312               This takes arguments in the form:top (name) (number)  Basically,
1313               processes  are ranked from highest to lowest in terms of cpu us-
1314               age, which is what (num)  represents.  The  types  are:  "name",
1315               "pid",  "cpu",  "mem", and "time". There can be a max of 10 pro-
1316               cesses listed.
1317
1318
1319        top_mem type, num
1320               Same as top, except sorted by mem usage instead of cpu
1321
1322
1323        totalup net
1324               Total upload, this one too, may overflow
1325
1326
1327        updates Number of updates
1328               for debugging
1329
1330
1331        upspeed net
1332               Upload speed in kilobytes
1333
1334
1335        upspeedf net
1336               Upload speed in kilobytes with one decimal
1337
1338
1339        upspeedgraph net (height),(width) (gradient colour 1) (gradient  colour
1340        2) (scale)
1341               Upload speed graph, colours defined in  hex,  minus  the  #.  If
1342               scale is non-zero, it becomes the scale for the graph.
1343
1344
1345        uptime Uptime
1346
1347
1348        uptime_short
1349               Uptime in a shorter format
1350
1351
1352        user_number
1353               Number of users logged in
1354
1355
1356        user_names
1357               Lists the names of the users logged in
1358
1359
1360        user_terms
1361               Lists the consoles in use
1362
1363
1364        user_times
1365               Lists how long users have been logged in for
1366
1367
1368        voffset (pixels)
1369               Change  vertical  offset by N pixels. Negative values will cause
1370               text to overlap. See also $offset.
1371
1372
1373        voltage_mv (n)
1374               Returns CPU #n's voltage in mV. CPUs  are  counted  from  1.  If
1375               omitted, the parameter defaults to 1.
1376
1377
1378        voltage_v (n)
1379               Returns CPU #n's voltage in V. CPUs are counted from 1. If omit-
1380               ted, the parameter defaults to 1.
1381
1382
1383        wireless_essid net
1384               Wireless access point ESSID (Linux only)
1385
1386
1387        wireless_mode net
1388               Wireless mode (Managed/Ad-Hoc/Master) (Linux only)
1389
1390
1391        wireless_bitrate net
1392               Wireless bitrate (ie 11 Mb/s) (Linux only)
1393
1394
1395        wireless_ap net
1396               Wireless access point MAC address (Linux only)
1397
1398
1399        wireless_link_qual net
1400               Wireless link quality (Linux only)
1401
1402
1403        wireless_link_qual_max net
1404               Wireless link quality maximum value (Linux only)
1405
1406
1407        wireless_link_qual_perc net
1408               Wireless link quality in percents (Linux only)
1409
1410
1411        wireless_link_bar (height), (width) net
1412               Wireless link quality bar (Linux only)
1413
1414
1415        xmms2_artist
1416               Artist in current XMMS2 song
1417
1418
1419        xmms2_album
1420               Album in current XMMS2 song
1421
1422
1423        xmms2_title
1424               Title in current XMMS2 song
1425
1426
1427        xmms2_genre
1428               Genre in current XMMS2 song
1429
1430
1431        xmms2_comment
1432               Comment in current XMMS2 song
1433
1434
1435        xmms2_decoder
1436               Decoder plugin used
1437
1438
1439        xmms2_transport
1440               Transport plugin used
1441
1442
1443        xmms2_url
1444               Full path to current song
1445
1446
1447        xmms2_tracknr
1448               Track number in current XMMS2 song
1449
1450
1451        xmms2_bitrate
1452               Bitrate of current song
1453
1454
1455        xmms2_id
1456               XMMS2 id of current song
1457
1458
1459        xmms2_duration
1460               Duration of current song
1461
1462
1463        xmms2_elapsed
1464               Song's elapsed time
1465
1466
1467        xmms2_size
1468               Size of current song
1469
1470
1471        xmms2_percent
1472               Percent of song's progress
1473
1474
1475        xmms2_status
1476               XMMS2 status (Playing, Paused, Stopped, or Disconnected)
1477
1478
1479        xmms2_bar (height),(width)
1480               Bar of XMMS2's progress
1481
1482
1483        xmms2_smart
1484               Prints the song name in either the form "artist - title" or file
1485               name, depending on whats available
1486
1487
1488 EXAMPLES
1489        conky -t '${time %D %H:%M}' -o -u 30
1490               Start Conky in its own window with date and clock as text and 30
1491               sec update interval.
1492
1493        conky -a top_left -x 5 -y 500 -d
1494               Start Conky to background at coordinates (5, 500).
1495
1496 FILES
1497        ~/.conkyrc default configuration file
1498
1499 BUGS
1500        Drawing to root or some other desktop window directly doesn't work with
1501        all window managers. Especially doesn't work well with Gnome and it has
1502        been reported that it doesn't work with KDE  either.  Nautilus  can  be
1503        disabled  from  drawing  to  desktop with program gconf-editor. Uncheck
1504        show_desktop in /apps/nautilus/preferences/.  There  is  -w  switch  in
1505        Conky  to  set  some  specific window id. You might find xwininfo -tree
1506        useful to find the window to draw to. You  can  also  use  -o  argument
1507        which makes Conky to create its own window.
1508
1509 SEE ALSO
1510        <http://conky.sourceforge.net>
1511
1512        <http://www.sourceforge.net/projects/conky>
1513
1514        #conky on irc.freenode.net
1515
1516 AUTHORS
1517        The Conky dev team. What's up now!
1518
1519
1520
1521                                   2007-08-08                          conky(1)