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