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