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