conky — A system monitor for X originally based on the torsmo code, but more kickass. It just keeps on given'er. Yeah.
conky [
options
]
Conky is a system monitor for X originally based on torsmo. Since its inception, Conky has changed significantly from its predecessor, while maintaining simplicity and configurability. Conky can display just about anything, either on your root desktop or in its own window. Not only does Conky have many built-in objects, it can also display just about any piece of information by using scripts and other external programs.
Conky has more than 250 built in objects, including support for a plethora of OS stats (uname, uptime, CPU usage, mem usage, disk usage, "top" like process stats, and network monitoring, just to name a few), built in IMAP and POP3 support, built in support for many popular music players (MPD, XMMS2, Audacious), and much much more. Conky can display this info either as text, or using simple progress bars and graph widgets, with different fonts and colours.
We are always looking for help, whether its reporting bugs, writing patches, or writing docs. Please use the facilities at SourceForge to make bug reports, feature requests, and submit patches, or stop by #conky on irc.freenode.net if you have questions or want to contribute.
Thanks for your interest in Conky.
For users compiling from source on a binary distro, make sure you have the X development libraries installed (Unless you configure your build without X11). This should be a package along the lines of "libx11-dev" or "xorg-x11-dev" for X11 libs, and similar "-dev" format for the other libs required (depending on your build options). You should be able to see which extra packages you need to install by reading errors that you get from running `cmake'. The easiest way to view the available build options is to run `ccmake' or `cmake-gui' from the source tree, but be careful when disabling certain features as you may lose desired functionality. E.g., with BUILD_MATH disabled you won't get errors but logarithmic graphs will be normal graphs and gauges will miss their line.
Conky has (for some time) been available in the repositories of most popular distributions. Here are some installation instructions for a few:
Gentoo users -- Conky is in Gentoo's Portage... simply use "emerge app-admin/conky" for installation.
Debian, etc. users -- Conky should be in your repositories, and can be installed by doing "aptitude install conky".
Example to compile and run Conky with default components (note that some build options may differ for your system):
cmake
-D CMAKE_INSTALL_PREFIX:string=/usr .
make
make install
# Optional
src/conky
Conky has been tested to be compatible with C99 C and C++0x C++, however it has not been tested with anything other than gcc, and is not guaranteed to work with other compilers.
TIP: Try configuring Conky with `ccmake' or `cmake-gui' instead of just `cmake'.
Conky is generally very good on resources. That said, the more you try to make Conky do, the more resources it is going to consume.
An easy way to force Conky to reload your
~/.config/conky/conky.conf: "killall -SIGUSR1
conky". Saves you the trouble of having to kill and then
restart.
Command line options override configurations defined in configuration file.
-a | --alignment=
ALIGNMENT
-b | --double-buffer
-c | --config=
FILE
~/.config/conky/conky.conf.
-C | --print-config
-d | --daemonize
-D | --debug
-f | --font=
FONT
-h | --help
-i
COUNT
-o | --own-window
-p | --pause=
SECONDS
-q | --quiet
-t | --text=
TEXT
-u | --interval=
SECONDS
-v | -V | --version
-w | --window-id=
WIN_ID
-x
X_COORDINATE
-X | --display=
DISPLAY
-y
Y_COORDINATE
Default configuration file location is
~/.config/conky/conky.conf or
${sysconfdir}/conky/conky.conf. On most systems,
sysconfdir is /etc, and you can find the sample config file there in
/etc/conky/conky.conf.
You might want to copy it to
~/.config/conky/conky.conf and then start modifying
it. Other configs can be found at
https://github.com/brndnmtthws/conky.
alignment
append_file
background
forced_redraw
border_inner_margin
border_outer_margin
border_width
colorN
console_bar_fill
console_bar_unfill
console_graph_ticks
cpu_avg_samples
default_bar_height
default_bar_width
default_color
default_gauge_height
default_gauge_width
default_graph_height
default_graph_width
default_outline_color
default_shade_color
disable_auto_reload
diskio_avg_samples
display
xinerama_head
double_buffer
draw_blended
draw_borders
draw_graph_borders
draw_outline
draw_shades
extra_newline
font
fontN
format_human_readable
gap_x
gap_y
github_token
| https://github.com/settings/tokens/new?scopes=notifications&description=conky |
hddtemp_host
hddtemp_port
http_refresh
if_up_strictness
imap
imlib_cache_flush_interval
imlib_cache_size
lua_draw_hook_post
function_name [function arguments]
lua_draw_hook_pre
function_name [function arguments]
lua_load
lua_shutdown_hook
function_name [function arguments]
lua_startup_hook
function_name [function arguments]
mail_spool
max_port_monitor_connections
max_text_width
width
max_user_text
bytes
maximum_width
pixels
minimum_height
height
minimum_width
width
mpd_host
mpd_password
mpd_port
mysql_host
mysql_port
mysql_user
mysql_password
mysql_db
music_player_interval
net_avg_samples
no_buffers
nvidia_display
out_to_console
out_to_http
out_to_ncurses
out_to_stderr
out_to_x
override_utf8_locale
overwrite_file
own_window
own_window_class
own_window_colour
colour
/usr/lib/X11/rgb.txt).
own_window_hints
undecorated,below,above,sticky,skip_taskbar,skip_pager
own_window_title
own_window_argb_visual
own_window_argb_value
own_window_transparent
own_window_type
pad_percents
pop3
short_units
show_graph_range
show_graph_scale
stippled_borders
temperature_unit
templateN
| '\n' -> newline |
| '\\' -> backslash |
| '\ ' -> space |
| '\N' -> template argument N (starting from 1) |
text_buffer_size
bytes
times_in_seconds
top_cpu_separate
top_name_verbose
top_name_width
total_run_times
update_interval
seconds
update_interval_on_battery
seconds
detect_battery
uppercase
lowercase
use_spacer
use_xft
xftalpha
Colours are parsed using XParsecolor(), there might be a list of
them:
/usr/share/X11/rgb.txt. Colour can be also in #rrggbb
format (hex).
Some objects may create threads, and sometimes these threads will not be destroyed until Conky terminates. There is no way to destroy or clean up threads while Conky is running. For example, if you use an MPD variable, the MPD thread will keep running until Conky dies. Some threaded objects will use one of the parameters as a 'key', so that you only have 1 relevant thread running (for example, the $curl, $rss and $weather objects launch one thread per URI).
acpiacadapter
(adapter)
/sys/class/power_supply containing the state
information (tries "AC" and "ADP1" if there is no argument given).
Non-linux systems ignore it.
acpifan
acpitemp
addr
(interface)
addrs
(interface)
adt746xcpu
adt746xfan
alignc
(num)
alignr
(num)
apcupsd
host
port
apcupsd_cable
apcupsd_charge
apcupsd_lastxfer
apcupsd_linev
apcupsd_load
apcupsd_loadbar
apcupsd_loadgauge
(height),(width)
apcupsd_loadgraph
(height),(width) (gradient colour 1) (gradient colour 2)
(scale) (-t) (-l)
apcupsd_model
apcupsd_name
apcupsd_status
apcupsd_temp
apcupsd_timeleft
apcupsd_upsmode
apm_adapter
apm_battery_life
apm_battery_time
audacious_bar
(height),(width)
audacious_bitrate
audacious_channels
audacious_filename
audacious_frequency
audacious_length
audacious_length_seconds
audacious_main_volume
audacious_playlist_length
audacious_playlist_position
audacious_position
audacious_position_seconds
audacious_status
audacious_title
(max length)
battery
(num)
battery_bar
(height),(width) (num)
battery_percent
(num)
battery_short
(num)
battery_status
(num)
battery_time
(num)
blink
text_and_other_conky_vars
buffers