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