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, BMPx, 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 provide configure with "--disable-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 configure options). You should be able to see which extra packages you need to install by reading errors that you get from './configure'. You can enable/disable stuff by giving options to configure, but be careful with disabling. For example: with --disable-math 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 all optional components (note that some configure options may differ for your system):
sh autogen.sh
# Only required if building from the
git repo
./configure
--prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib
--disable-own-window
--enable-audacious[=yes|no|legacy]
--enable-bmpx --disable-hddtemp --disable-mpd
--enable-xmms2 --disable-portmon
--disable-network --enable-debug --disable-x11
--disable-double-buffer --disable-xdamage
--disable-xft
make
make install
# Optional
src/conky
Conky has been tested to be compatible with C99 C, however it has not been tested with anything other than gcc, and is not guaranteed to work with other compilers.
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 ~/.conkyrc: "killall -SIGUSR1 conky". Saves you the trouble of having to kill and then restart. You can now also do the same with SIGHUP.
Command line options override configurations defined in configuration file.
-v | -V | --version
-q | --quiet
-D | --debug
-a | --alignment=
ALIGNMENT
-b | --double-buffer
-c | --config=
FILE
-C | --print-config
-d | --daemonize
-f | --font=
FONT
-h | --help
-o | --own-window
-t | --text=
TEXT
-p | --pause=
SECONDS
-u | --interval=
SECONDS
-w | --window-id=
WIN_ID
-X | --display=
DISPLAY
-x
X_COORDINATE
-y
Y_COORDINATE
-i
COUNT
Default configuration file location is $HOME/.conkyrc or ${sysconfdir}/conky/conky.conf. On most systems, sysconfdir is /etc, and you can find the sample config file there (/etc/conky/conky.conf).
You might want to copy it to $HOME/.conkyrc and then start modifying it. Other configs can be found at http://conky.sf.net/
TEXT
alignment
append_file
background
border_inner_margin
border_outer_margin
border_width
colorN
cpu_avg_samples
default_bar_size
default_color
default_gauge_size
default_graph_size
default_outline_color
default_shade_color
disable_auto_reload
diskio_avg_samples
display
double_buffer
draw_borders
draw_graph_borders
draw_outline
draw_shades
extra_newline
font
format_human_readable
gap_x
gap_y
hddtemp_host
hddtemp_port
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_specials
max_text_width
width
max_user_text
bytes
maximum_width
pixels
minimum_size
width (height)
mpd_host
mpd_password
mpd_port
music_player_interval
net_avg_samples
no_buffers
nvidia_display
out_to_console
out_to_ncurses
out_to_stderr
out_to_x
override_utf8_locale
overwrite_file
own_window
own_window_class
own_window_colour
colour
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 |
text_buffer_size
bytes
times_in_seconds
top_cpu_separate
top_name_width
total_run_times
update_interval
seconds
update_interval_on_battery
seconds
uppercase
use_spacer
use_xft
xftalpha
xftfont
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)
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_time
(num)
blink
text_and_other_conky_vars
bmpx_album
bmpx_artist
bmpx_bitrate
bmpx_title
bmpx_track
bmpx_uri
buffers
cached
cmdline_to_pid
string
color
(color)
colorN
combine
var1 var2
conky_build_arch
conky_build_date
conky_version
cpu
(cpuN)
cpubar
(cpuN) (height),(width)
cpugauge
(cpuN) (height),(width)
cpugraph
(cpuN) (height),(width) (gradient colour 1)
(gradient colour 2) (scale) (-t) (-l)
curl
url (interval_in_minutes)
Download data from URI using Curl at the specified interval. The interval may be a floating point value greater than 0, otherwise defaults to 15 minutes. Most useful when used in conjunction with Lua and the Lua API. This object is threaded, and once a thread is created it can't be explicitly destroyed. One thread will run for each URI specified. You can use any protocol that Curl supports.
desktop
desktop_name
desktop_number
disk_protect
device
diskio
(device)
diskio_read
(device)
diskio_write
(device)
diskiograph
(device) (height),(width) (gradient colour 1)
(gradient colour 2) (scale) (-t) (-l)
diskiograph_read
(device) (height),(width) (gradient colour 1)
(gradient colour 2) (scale) (-t) (-l)
diskiograph_write
(device) (height),(width) (gradient colour 1)
(gradient colour 2) (scale) (-t) (-l)
downspeed
(net)
downspeedf
(net)
downspeedgraph
(netdev) (height),(width) (gradient colour 1)
(gradient colour 2) (scale) (-t) (-l)
draft_mails
(maildir)
(interval)
else
endif
entropy_avail
entropy_bar
(height),(width)
entropy_perc
entropy_poolsize
eval
string
eve
api_userid api_key character_id
exec
command
execbar
command
execgauge
command
execgraph
(-t) (-l) command
execi
interval command
execibar
interval command
execigauge
interval command
execigraph
interval (-t) (-l) command
execp
command
execpi
interval command
flagged_mails
(maildir)
(interval)
font
(font)
format_time
seconds format
forwarded_mails
(maildir)
(interval)
freq
(n)
freq_g
(n)
fs_bar
(height),(width) fs
fs_bar_free
(height),(width) fs
fs_free
(fs)
fs_free_perc
(fs)
fs_size
(fs)
fs_type
(fs)
fs_used
(fs)
fs_used_perc
(fs)
goto
x
gw_iface
gw_ip
hddtemp
(dev)
head
logfile lines (next_check)
hr
(height)
hwmon
(dev) type n (factor offset)
i2c
(dev) type n (factor offset)
i8k_ac_status
i8k_bios
i8k_buttons_status
i8k_cpu_temp
i8k_left_fan_rpm
i8k_left_fan_status
i8k_right_fan_rpm
i8k_right_fan_status
i8k_serial
i8k_version
ibm_brightness
ibm_fan
ibm_temps
N
ibm_volume
iconv_start
codeset_from codeset_to
iconv_stop
if_empty
(var)
if_existing
file (string)
if_gw
if_match
expression
doubleArgument consists of only digits and a single dot. |
longArgument consists of only digits. |
stringArgument is enclosed in quotation marks (") |
if_mixer_mute
(mixer)
if_mounted
(mountpoint)
if_mpd_playing
if_running
(process)
if_smapi_bat_installed
(INDEX)
if_up
(interface)
if_updatenr
(updatenr)
if_xmms2_connected
image
<path to image> (-p x,y) (-s WxH) (-n)
(-f interval)
imap_messages
(args)
imap_unseen
(args)
include
path
Loads the configfile at path, places the configsettings behind the configsettings in the orginal config and places the vars where the includevar stood.
ioscheduler
disk
kernel
laptop_mode
lines
textfile
loadavg
(1|2|3)
loadgraph
(height),(width) (gradient colour 1)
(gradient colour 2) (scale) (-t) (-l)
lua
function_name (function parameters)
lua_bar
(height, width) function_name (function
parameters)
lua_gauge
(height, width) function_name (function
parameters)
lua_graph
function_name (height),(width) (gradient colour
1) (gradient colour 2) (scale) (-t) (-l)
lua_parse
function_name (function parameters)
machine
mails
(mailbox)
(interval)
mboxscan
(-n number of messages to print) (-fw from
width) (-sw subject width) mbox
mem
membar
(height),(width)
memeasyfree
memfree
memgauge
(height),(width)
memgraph
(height),(width) (gradient colour 1) (gradient
colour 2) (scale) (-t) (-l)
memmax
memperc
mixer
(device)
mixerbar
(device)
mixerl
(device)
mixerlbar
(device)
mixerr
(device)
mixerrbar
(device)
moc_album
moc_artist
moc_bitrate
moc_curtime
moc_file
moc_rate
moc_song
moc_state
moc_timeleft
moc_title
moc_totaltime
monitor
monitor_number
mpd_album
mpd_artist
mpd_bar
(height),(width)
mpd_bitrate
mpd_date
mpd_elapsed
mpd_file
mpd_length
mpd_name
mpd_percent
mpd_random
mpd_repeat
mpd_smart
(max length)
mpd_status
mpd_title
(max length)
mpd_track
mpd_vol
nameserver
(index)
new_mails
(mailbox)
(interval)
nodename
nodename_short
nvidia
threshold
temp
ambient
gpufreq
memfreq
imagequality
threshold
The thresholdtemperature at
which the gpu slows down
|
temp
Gives the gpu current
temperature
|
ambient
Gives current air temperature near GPU
case
|
gpufreq
Gives the current gpu frequency
|
memfreq
Gives the current mem frequency
|
imagequality
Which imagequality should be chosen by
OpenGL applications
|
offset
(pixels)
outlinecolor
(color)
pb_battery
item
status
Display if battery is fully charged,
charging, discharging or absent (running on
AC)
|
percent
Display charge of battery in percent, if
charging or discharging. Nothing will be displayed,
if battery is fully charged or absent.
|
time
Display the time remaining until the
battery will be fully charged or discharged at
current rate. Nothing is displayed, if battery is
absent or if it's present but fully charged and not
discharging.
|
pid_chroot
pid
pid_cmdline
pid
pid_cwd
pid
pid_environ
pid varname
pid_environ_list
pid
pid_exe
pid
pid_nice
pid
pid_openfiles
pid
pid_parent
pid
pid_priority
pid
pid_read
pid
pid_state
pid
pid_state_short
pid
pid_stderr
pid
pid_stdin
pid
pid_stdout
pid
pid_threads
pid
pid_thread_list
pid
pid_time_kernelmode
pid
pid_time_usermode
pid
pid_time
pid
pid_uid
pid
pid_euid
pid
pid_suid
pid
pid_fsuid
pid
pid_gid
pid
pid_egid
pid
pid_sgid
pid
pid_fsgid
pid
pid_vmpeak
pid
pid_vmsize
pid
pid_vmlck
pid
pid_vmhwm
pid
pid_vmrss
pid
pid_vmdata
pid
pid_vmstk
pid
pid_vmexe
pid
pid_vmlib
pid
pid_vmpte
pid
pid_write
pid
platform
(dev) type n (factor offset)
pop3_unseen
(args)
pop3_used
(args)
pre_exec
shell command
processes
read_tcp
(host) port
replied_mails
(maildir)
(interval)
rss
uri interval_in_minutes action (num_par
(spaces_in_front))
Download and parse RSS feeds. The interval may be a floating point value greater than 0, otherwise defaults to 15 minutes. Action may be one of the following: feed_title, item_title (with num par), item_desc (with num par) and item_titles (when using this action and spaces_in_front is given conky places that many spaces in front of each item). This object is threaded, and once a thread is created it can't be explicitly destroyed. One thread will run for each URI specified. You can use any protocol that Curl supports.
running_processes
running_threads
scroll
length (step) text
seen_mails
(maildir)
(interval)
shadecolor
(color)
smapi
(ARGS)
smapi_bat_bar
(INDEX),(height),(width)
smapi_bat_perc
(INDEX)
smapi_bat_power
INDEX
smapi_bat_temp
INDEX
sony_fanspeed
stippled_hr
(space)
swap
swapbar
(height),(width)
swapfree
swapmax
swapperc
sysname
tab
(width, (start))
tail
logfile lines (next_check)
tcp_portmon
port_begin port_end item (index)
TCP port (both IPv6 and IPv4) monitor for specified local ports. Port numbers must be in the range 1 to 65535. Valid items are:
count
Total number of connections in the
range
|
rip
Remote ip address
|
rhost
Remote host name
|
rport
Remote port number
|
rservice
Remote service name from
/etc/services
|
lip
Local ip address
|
lhost
Local host name
|
lport
Local port number
|
lservice
Local service name from
/etc/services
|
The connection index provides you with access to each connection in the port monitor. The monitor will return information for index values from 0 to n-1 connections. Values higher than n-1 are simply ignored. For the "count" item, the connection index must be omitted. It is required for all other items.
Examples:
${tcp_portmon 6881 6999
count}
Displays the number of connections in
the bittorrent port range
|
${tcp_portmon 22 22 rip 0}
Displays the remote host ip of the
first sshd connection
|
${tcp_portmon 22 22 rip 9}
Displays the remote host ip of the
tenth sshd connection
|
${tcp_portmon 1 1024 rhost
0}
Displays the remote host name of the
first connection on a privileged port
|
${tcp_portmon 1 1024 rport
4}
Displays the remote host port of the
fifth connection on a privileged port
|
${tcp_portmon 1 65535 lservice
14}
Displays the local service name of the
fifteenth connection in the range of all
ports
|
Note that port monitor variables which share the same port range actually refer to the same monitor, so many references to a single port range for different items and different indexes all use the same monitor internally. In other words, the program avoids creating redundant monitors.
templateN
(arg1)
(arg2)
(arg3 ...)
Evaluate the content of the templateN configuration variable (where N is a value between 0 and 9, inclusively), applying substitutions as described in the documentation of the corresponding configuration variable. The number of arguments is optional, but must match the highest referred index in the template. You can use the same special sequences in each argument as the ones valid for a template definition, e.g. to allow an argument to contain a whitespace. Also simple nesting of templates is possible this way.
Here are some examples of template definitions:
template0 $\1\2 |
template1 \1: ${fs_used \2} / ${fs_size \2} |
template2 \1 \2 |
The following list shows sample usage of the templates defined above, with the equivalent syntax when not using any template at all:
Table 1.
using template | same without template |
---|---|
${template0 node name} | $nodename |
${template1 root /} | root: ${fs_free /} / ${fs_size /} |
${template1 ${template2\ disk\ root} /} | disk root: ${fs_free /} / ${fs_size /} |
texeci
interval command
threads
time
(format)
to_bytes
size
top
type num
top_io
type num
top_mem
type num
top_time
type num
totaldown
(net)
totalup
(net)
trashed_mails
(maildir)
(interval)
tztime
(timezone (format))
gid_name
gid
uid_name
uid
unflagged_mails
(maildir)
(interval)
unforwarded_mails
(maildir)
(interval)
unreplied_mails
(maildir)
(interval)
unseen_mails
(maildir)
(interval)
updates
Number of updates
upspeed
(net)
upspeedf
(net)
upspeedgraph
(netdev) (height),(width) (gradient colour 1)
(gradient colour 2) (scale) (-t) (-l)
uptime
uptime_short
user_names
user_number
user_terms
user_times
user_time
console
utime
(format)
voffset
(pixels)
voltage_mv
(n)
voltage_v
(n)
weather
URI locID data_type
(interval_in_minutes)
Download, parse and display METAR data.
For the 'URI', there are two possibilities:
http://weather.noaa.gov/pub/data/observations/metar/stations/ |
http://xoap.weather.com/weather/local/ |
The first one is free to use but the second requires you to register and obtain your partner ID and license key. These two must be written, separated by a space, into a file called .xoaprc which needs to be placed into your home directory.
'locID' must be a valid location identifier for the required uri. For the NOAA site this must be a valid ICAO (see for instance https://pilotweb.nas.faa.gov/qryhtml/icao/). For the weather.com site this must be a valid location ID (see for instance http://aspnetresources.com/tools/locid.aspx).
'data_type' must be one of the following:
last_update
The date and time stamp of the data. The result depends on the URI used. For the NOAA site it is date (yyyy/mm/dd) and UTC time. For the weather.com one it is date ([m]m/[d]d/yy) and Local Time of the station. |
temperature
Air temperature (you can use the 'temperature_unit' config setting to change units) |
cloud_cover
The highest cloud cover status |
pressure
Air pressure in millibar |
wind_speed
Wind speed in km/h |
wind_dir
Wind direction |
wind_dir_DEG
Compass wind direction |
humidity
Relative humidity in % |
weather
Any relevant weather event (rain, snow, etc.). This is not used if you are querying the weather.com site since this data is aggregated into the cloud_cover one |
icon
Weather icon (only for www.weather.com). Can be used together with the icon kit provided upon registering to their service. |
'delay_in_minutes' (optional, default 30) cannot be less than 30 minutes.
This object is threaded, and once a thread is created it can't be explicitly destroyed. One thread will run for each URI specified.
Note that these variables are still EXPERIMENTAL and can be subject to many future changes.
weather_forecast
URI locID day data_type
(interval_in_minutes)
Download, parse and display weather forecast data for a given day (daytime only).
For the 'URI', for the time being only http://xoap.weather.com/weather/local/ is supported. See 'weather' above for details of usage
'locID', see 'weather' above.
'day' is a number from 0 (today) to 4 (3 days after tomorrow).
'data_type' must be one of the following:
day
Day of the week
|
date
Date, in the form MMM DD (ie. Jul 14)
|
low
Minimun temperature (you can use the
'temperature_unit' config setting to change
units)
|
hi
Maximum temperature (you can use the
'temperature_unit' config setting to change
units)
|
icon
Weather icon. Can be used together with the
icon kit provided upon registering to the weather.com
service
|
forecast
Weather forecast (sunny, rainy, etc.)
|
wind_speed
Wind speed in km/h
|
wind_dir
Wind direction
|
wind_dir_DEG
Compass wind direction
|
humidity
Relative humidity in %
|
precipitation
Probability of having a
precipitation (in %)
|
'delay_in_minutes' (optional, default 210) cannot be lower than 210 min.
This object is threaded, and once a thread is created it can't be explicitly destroyed. One thread will run for each URI specified. You can use any protocol that Curl supports.
Note that these variables are still EXPERIMENTAL and can be subject to many future changes.
wireless_ap
(net)
wireless_bitrate
(net)
wireless_essid
(net)
wireless_link_bar
(height),(width) (net)
wireless_link_qual
(net)
wireless_link_qual_max
(net)
wireless_link_qual_perc
(net)
wireless_mode
(net)
words
textfile
xmms2_album
xmms2_artist
xmms2_bar
(height),(width)
xmms2_bitrate
xmms2_comment
xmms2_date
xmms2_duration
xmms2_elapsed
xmms2_genre
xmms2_id
xmms2_percent
xmms2_playlist
xmms2_size
xmms2_smart
xmms2_status
xmms2_timesplayed
xmms2_title
xmms2_tracknr
xmms2_url
Conky features a Lua Programming API, and also ships with Lua bindings for some useful libraries. Conky defines certain global functions and variables which can be accessed from Lua code running in Conky.
To use Lua Conky, you first need to make sure you have a version of Conky with Lua support enabled (``conky -v'' will report this). Scripts must first be loaded using the lua_load configuration option. You then call functions in Lua via Conky's $lua, $lua_read, and Lua hooks.
Be careful when creating threaded objects through the Lua API. You could wind up with a whole bunch of threads running if a thread is created with each iteration.
At this time, the Lua API should not be considered stable and may change drastically from one release to another as it matures.
NOTE: In order to accommodate certain features in the cairo library's API, Conky will export a few additional functions for the creation of certain structures. These are documented below.
conky_parse(string)
function
This function takes a string that is evaluated as per Conky's TEXT section, and then returns a string with the result.
conky_set_update_interval(number)
function
Sets Conky's update interval (in seconds) to 'number'.
conky_window
table
This table contains some information about Conky's window. The following table describes the values contained:
drawable
Window's drawable (Xlib Drawable),
requires Lua extras enabled at compile
time.
|
visual
Window's visual (Xlib Visual), requires
Lua extras enabled at compile time.
|
display
Window's display (Xlib Display),
requires Lua extras enabled at compile
time.
|
width
Window width (in pixels).
|
height
Window height (in pixels).
|
border_inner_margin
Window's inner border margin (in
pixels).
|
border_outer_margin
Window's outer border margin (in
pixels).
|
border_width
Window's border width (in
pixels).
|
text_start_x
The x component of the starting
coordinate of text drawing.
|
text_start_y
The y component of the starting
coordinate of text drawing.
|
text_width
The width of the text drawing
region.
|
text_height
The height of the text drawing
region.
|
NOTE: This table is only defined when X support is enabled.
conky_info
table
This table contains some information about Conky's internal data. The following table describes the values contained:
update_interval
Conky's update interval (in
seconds).
|
uptime
System uptime, in seconds.
|
conky_build_info
string
A string containing the build info for this particular instance of Conky, including the version, build date, and architecture.
conky_build_date
string
A string containing the build date for this particular instance of Conky.
conky_build_arch
string
A string containing the build architecture for this particular instance of Conky.
conky_version
string
A string containing the version of the current instance of Conky.
conky_config
string
A string containing the path of the current Conky configuration file.
cairo_text_extents_t:create()
function
Call this function to return a new cairo_text_extents_t structure. A creation function for this structure is not provided by the cairo API. After calling this, you should use tolua.takeownership() on the return value to ensure ownership is passed properly.
cairo_font_extents_t:create()
function
Call this function to return a new cairo_font_extents_t structure. A creation function for this structure is not provided by the cairo API. After calling this, you should use tolua.takeownership() on the return value to ensure ownership is passed properly.
cairo_matrix_t:create()
function
Call this function to return a new cairo_matrix_t structure. A creation function for this structure is not provided by the cairo API. After calling this, you should use tolua.takeownership() on the return value to ensure ownership is passed properly.
conky
-t '${time %D %H:%M}' -o -u 30
conky
-a top_left -x 5 -y 500 -d
conky
-C > ~/.conkyrc
${sysconfdir}/conky/conky.conf
~/.conkyrc
Drawing to root or some other desktop window directly doesn't work with all window managers. Especially doesn't work well with Gnome and it has been reported that it doesn't work with KDE either. Nautilus can be disabled from drawing to desktop with program gconf-editor. Uncheck show_desktop in /apps/nautilus/preferences/. There is -w switch in Conky to set some specific window id. You might find xwininfo -tree useful to find the window to draw to. You can also use -o argument which makes Conky to create its own window. If you do try running Conky in its own window, be sure to read up on the own_window_type settings and experiment.
Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. Any original torsmo code is licensed under the BSD license (see LICENSE.BSD for a copy). All code written since the fork of torsmo is licensed under the GPL (see LICENSE.GPL for a copy), except where noted differently (such as in portmon code, timed thread code, and audacious code which are LGPL, and prss which is an MIT-style license).