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