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