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