mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 10:35:10 +00:00
doc updates, mostly
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@42 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
40064a978f
commit
17ef518559
623
README
623
README
@ -2,329 +2,330 @@
|
|||||||
|
|
||||||
WHAT IS CONKY?
|
WHAT IS CONKY?
|
||||||
|
|
||||||
Conky is a system monitor for Linux that sits in the corner of your
|
Conky is a system monitor for X originally based on the torsmo code.
|
||||||
desktop. Conky renders itself on the root window (on the desktop) or to
|
Since it's original conception, Conky has changed a fair bit from
|
||||||
its own transparent window any special eyecandy.
|
it's predecessor. Conky can display just about anything, either on
|
||||||
Conky can show lots of info about your system, including:
|
your root desktop or in it's own window. Conky has many built-in
|
||||||
|
objects, as well as the ability to execute programs and scripts,
|
||||||
* kernel version
|
then display the output from stdout.
|
||||||
* uptime
|
|
||||||
* network interface information
|
We are always looking for help, and anyone interested in becoming
|
||||||
* memory and swap usage
|
a developer is welcome. Please use the facilities at SourceForge
|
||||||
* hostname
|
to make bug reports, feature requests, and submit patches.
|
||||||
* machine, i686 for example
|
|
||||||
* system name, Linux for example
|
Thanks for your interest in Conky.
|
||||||
* temperatures from i2c-sensors
|
|
||||||
|
|
||||||
THINGS YOU SHOULD KNOW
|
THINGS YOU SHOULD KNOW
|
||||||
|
|
||||||
Conky is generally very good on resources. However, certain objects in
|
Conky is generally very good on resources. However, certain objects in
|
||||||
Conky are harder on resources then others. In particular, the $tail and
|
Conky are harder on resources then others. In particular, the $tail,
|
||||||
$top objects are quite costly in comparison to the rest of Conky.
|
$top, and $graph objects are quite costly in comparison to the rest of Conky.
|
||||||
If you do use them, please do not complain about memory or CPU usage,
|
If you do use them, please do not complain about memory or CPU usage,
|
||||||
because you will simply be ignored.
|
unless you think something is going seriously wrong (mem leak, et cetera).
|
||||||
|
|
||||||
With that out of the way, if you have a better way of doing something,
|
|
||||||
please submit a patch for Conky. I know I am certainly not the world's
|
|
||||||
best programmer, and I still have a lot to learn.
|
|
||||||
|
|
||||||
COMPILING
|
COMPILING
|
||||||
|
|
||||||
To compile and run Conky with all optional components (If you run Gentoo, see the "Ebuild" Section below):
|
To compile and run Conky with all optional components (If you run Gentoo, see the "Ebuild" Section below):
|
||||||
|
|
||||||
./configure --prefix=/usr --enable-xft --enable-mpd --enable-seti --enable-double-buffer --enable-own-window --enable-proc-uptime
|
./configure --prefix=/usr --enable-xft --enable-mpd --enable-seti --enable-double-buffer --enable-own-window --enable-proc-uptime --enable-metar --enable-mldonkey
|
||||||
make
|
make
|
||||||
./conky
|
./conky
|
||||||
|
|
||||||
Conky doesn't probably compile with other compilers than gcc and icc. It
|
Conky doesn't probably compile with other compilers than gcc and icc. It
|
||||||
doesn't compile with C89 compiler and not even with pure C99. It uses few
|
doesn't compile with C89 compiler and not even with pure C99. It uses few
|
||||||
things that might not exist: strdup(), strcasecmp(), strncasecmp(), optarg
|
things that might not exist: strdup(), strcasecmp(), strncasecmp(), optarg
|
||||||
variable with getopt() and long long (not in C89). Crashes in file system
|
variable with getopt() and long long (not in C89). Crashes in file system
|
||||||
statistics stuff when compiled with icc, I don't know exactly why.
|
statistics stuff when compiled with icc, I don't know exactly why.
|
||||||
|
|
||||||
You can disable 'drawing to own window' feature in case you don't need it
|
You can disable 'drawing to own window' feature in case you don't need it
|
||||||
by passing --disable-own-window to configure -script.
|
by passing --disable-own-window to configure -script.
|
||||||
|
|
||||||
EBUILD
|
EBUILD
|
||||||
|
|
||||||
Conky is in Gentoo's Portage. Simply use "emerge conky" to install conky.
|
Conky is in Gentoo's Portage. Simply use "emerge conky" to install conky.
|
||||||
|
There is also usually an up-to-date ebuild within Conky's package or in
|
||||||
|
CVS.
|
||||||
|
|
||||||
CONFIGURING
|
CONFIGURING
|
||||||
|
|
||||||
Default configuration file is $HOME/.conkyrc (can be changed from
|
Default configuration file is $HOME/.conkyrc (can be changed from
|
||||||
conky.c among other things). See conkyrc.sample. You might want to copy
|
conky.c among other things). See conkyrc.sample. You might want to copy
|
||||||
it to $HOME/.conkyrc and then start modifying it.
|
it to $HOME/.conkyrc and then start modifying it.
|
||||||
|
|
||||||
Configuration file confs
|
Configuration file confs
|
||||||
|
|
||||||
Conf Meaning
|
Conf Meaning
|
||||||
alignment Aligned position on screen, may be top_left,
|
alignment Aligned position on screen, may be top_left,
|
||||||
top_right, bottom_left, bottom_right
|
top_right, bottom_left, bottom_right
|
||||||
background Boolean value, if true, Conky will be forked to
|
background Boolean value, if true, Conky will be forked to
|
||||||
background when started
|
background when started
|
||||||
border_margin Border margin in pixels
|
border_margin Border margin in pixels
|
||||||
border_width Border width in pixels
|
border_width Border width in pixels
|
||||||
cpu_avg_samples The number of samples to average for CPU monitoring
|
cpu_avg_samples The number of samples to average for CPU monitoring
|
||||||
default_color Default color and border color
|
default_color Default color and border color
|
||||||
default_shade_color Default shading color and border's shading color
|
default_shade_color Default shading color and border's shading color
|
||||||
default_outline_color Default outline color
|
default_outline_color Default outline color
|
||||||
Use the Xdbe extension? (eliminates flicker) It is
|
Use the Xdbe extension? (eliminates flicker) It is
|
||||||
double_buffer highly recommended to use own window with this one
|
double_buffer highly recommended to use own window with this one
|
||||||
so double buffer won't be so big.
|
so double buffer won't be so big.
|
||||||
draw_borders Draw borders around text?
|
draw_borders Draw borders around text?
|
||||||
draw_shades Draw shades?
|
draw_shades Draw shades?
|
||||||
draw_outline Draw outlines?
|
draw_outline Draw outlines?
|
||||||
font Font name in X, xfontsel can be used to get a nice
|
font Font name in X, xfontsel can be used to get a nice
|
||||||
font
|
font
|
||||||
gap_x Gap between right or left border of screen, same as
|
gap_x Gap between right or left border of screen, same as
|
||||||
passing -x at command line
|
passing -x at command line
|
||||||
gap_y Gap between top or bottom border of screen, same as
|
gap_y Gap between top or bottom border of screen, same as
|
||||||
passing -y at command line
|
passing -y at command line
|
||||||
no_buffers Substract (file system) buffers from used memory?
|
no_buffers Substract (file system) buffers from used memory?
|
||||||
mail_spool Mail spool for mail checking
|
mail_spool Mail spool for mail checking
|
||||||
metar_station METAR station code for weather, see
|
metar_station METAR station code for weather, see
|
||||||
http://www.wrh.noaa.gov/ if you need to find
|
http://www.wrh.noaa.gov/ if you need to find
|
||||||
your code.
|
your code.
|
||||||
metar_server Define a custom METAR ftp server
|
metar_server Define a custom METAR ftp server
|
||||||
metar_path Path on server to use
|
metar_path Path on server to use
|
||||||
minimum_size Minimum size of window
|
minimum_size Minimum size of window
|
||||||
mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
|
mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
|
||||||
mldonkey_port Mldonkey port, 4001 default
|
mldonkey_port Mldonkey port, 4001 default
|
||||||
mldonkey_login Mldonkey login, default none
|
mldonkey_login Mldonkey login, default none
|
||||||
mldonkey_password Mldonkey password, default none
|
mldonkey_password Mldonkey password, default none
|
||||||
net_avg_samples The number of samples to average for net data
|
net_avg_samples The number of samples to average for net data
|
||||||
override_utf8_locale Force UTF8? requires XFT
|
override_utf8_locale Force UTF8? requires XFT
|
||||||
own_window Boolean, create own window to draw?
|
own_window Boolean, create own window to draw?
|
||||||
pad_percents Pad percentages to this many decimals (0 = no
|
pad_percents Pad percentages to this many decimals (0 = no
|
||||||
padding)
|
padding)
|
||||||
stippled_borders Border stippling (dashing) in pixels
|
stippled_borders Border stippling (dashing) in pixels
|
||||||
total_run_times Total number of times for Conky to update before
|
total_run_times Total number of times for Conky to update before
|
||||||
quitting. Zero makes Conky run forever
|
quitting. Zero makes Conky run forever
|
||||||
update_interval Update interval in seconds
|
update_interval Update interval in seconds
|
||||||
uppercase Boolean value, if true, text is rendered in upper
|
uppercase Boolean value, if true, text is rendered in upper
|
||||||
case
|
case
|
||||||
use_spacer Adds spaces after certain objects to stop them
|
use_spacer Adds spaces after certain objects to stop them
|
||||||
from moving other things around. Note that
|
from moving other things around. Note that
|
||||||
this only helps if you are using a mono font,
|
this only helps if you are using a mono font,
|
||||||
such as Bitstream Vera Sans Mono.
|
such as Bitstream Vera Sans Mono.
|
||||||
use_xft Use Xft (anti-aliased font and stuff)
|
use_xft Use Xft (anti-aliased font and stuff)
|
||||||
text After this begins text to be formatted on screen
|
text After this begins text to be formatted on screen
|
||||||
|
|
||||||
Boolean variable without value in text means yes. Value may be also yes,
|
Boolean variable without value in text means yes. Value may be also yes,
|
||||||
true or any negative or positive integer meaning yes. No, false or zero
|
true or any negative or positive integer meaning yes. No, false or zero
|
||||||
meaning no.
|
meaning no.
|
||||||
There may be some variables in text. Variable is given either in format
|
There may be some variables in text. Variable is given either in format
|
||||||
$variable or in ${variable}. Latter allows characters right after the
|
$variable or in ${variable}. Latter allows characters right after the
|
||||||
variable and must be used in some stuff because of arguments.
|
variable and must be used in some stuff because of arguments.
|
||||||
|
|
||||||
Command line options
|
Command line options
|
||||||
|
|
||||||
Argument Description
|
Argument Description
|
||||||
-V Prints version and exits
|
-V Prints version and exits
|
||||||
-a ALIGNMENT Text alignment on screen, {top,bottom}_{left,right}
|
-a ALIGNMENT Text alignment on screen, {top,bottom}_{left,right}
|
||||||
-b Use double buffering (eliminates flicker)
|
-b Use double buffering (eliminates flicker)
|
||||||
-c FILE Config file to load instead of $HOME/.conkyrc
|
-c FILE Config file to load instead of $HOME/.conkyrc
|
||||||
-d Daemonize, fork to background
|
-d Daemonize, fork to background
|
||||||
-f FONT Font to use
|
-f FONT Font to use
|
||||||
-h Prints command line help and exits
|
-h Prints command line help and exits
|
||||||
-o Create own window to draw
|
-o Create own window to draw
|
||||||
-t TEXT Text to render, remember single quotes, like -t '$uptime'
|
-t TEXT Text to render, remember single quotes, like -t '$uptime'
|
||||||
-u SECS Update interval
|
-u SECS Update interval
|
||||||
-w WIN_ID Window id to draw
|
-w WIN_ID Window id to draw
|
||||||
-x X X position
|
-x X X position
|
||||||
-y Y Y position
|
-y Y Y position
|
||||||
|
|
||||||
Command line options override configurations defined in configuration
|
Command line options override configurations defined in configuration
|
||||||
file.
|
file.
|
||||||
|
|
||||||
Variables in text
|
Variables in text
|
||||||
|
|
||||||
Variable Arguments Description
|
Variable Arguments Description
|
||||||
|
|
||||||
addr (interface) IP address for an interface
|
addr (interface) IP address for an interface
|
||||||
acpiacadapter ACPI ac adapter state.
|
acpiacadapter ACPI ac adapter state.
|
||||||
acpifan ACPI fan state
|
acpifan ACPI fan state
|
||||||
acpitemp ACPI temperature.
|
acpitemp ACPI temperature.
|
||||||
adt746xcpu CPU temperature from therm_adt746x
|
adt746xcpu CPU temperature from therm_adt746x
|
||||||
adt746xfan Fan speed from therm_adt746x
|
adt746xfan Fan speed from therm_adt746x
|
||||||
alignr (num) Right-justify text, with space of N
|
alignr (num) Right-justify text, with space of N
|
||||||
alignc Align text to centre
|
alignc Align text to centre
|
||||||
battery (num) Remaining capasity in ACPI or APM
|
battery (num) Remaining capasity in ACPI or APM
|
||||||
battery. ACPI battery number can be
|
battery. ACPI battery number can be
|
||||||
given as argument (default is BAT0).
|
given as argument (default is BAT0).
|
||||||
buffers Amount of memory buffered
|
buffers Amount of memory buffered
|
||||||
cached Amount of memory cached
|
cached Amount of memory cached
|
||||||
color (color) Change drawing color to color
|
color (color) Change drawing color to color
|
||||||
cpu CPU usage in percents
|
cpu CPU usage in percents
|
||||||
cpubar (height) Bar that shows CPU usage, height is
|
cpubar (height) Bar that shows CPU usage, height is
|
||||||
bar's height in pixels
|
bar's height in pixels
|
||||||
cpugraph (height),(width) (gradient colour 1) (gradient colour 2)
|
cpugraph (height),(width) (gradient colour 1) (gradient colour 2)
|
||||||
CPU usage graph
|
CPU usage graph, with optional colours in hex,
|
||||||
downspeed net Download speed in kilobytes
|
minus the #.
|
||||||
downspeedf net Download speed in kilobytes with one
|
downspeed net Download speed in kilobytes
|
||||||
decimal
|
downspeedf net Download speed in kilobytes with one
|
||||||
downspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
|
decimal
|
||||||
Download speed graph
|
downspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
|
||||||
exec shell command Executes a shell command and displays
|
Download speed graph, colours defined in
|
||||||
the output in conky. warning: this
|
hex, minus the #.
|
||||||
takes a lot more resources than other
|
exec shell command Executes a shell command and displays
|
||||||
variables. I'd recommend coding wanted
|
the output in conky. warning: this
|
||||||
behaviour in C and posting a patch :-).
|
takes a lot more resources than other
|
||||||
execbar shell command Same as exec, except if the first value
|
variables. I'd recommend coding wanted
|
||||||
return is a value between 0-100, it
|
behaviour in C and posting a patch :-).
|
||||||
will use that number for a bar.
|
execbar shell command Same as exec, except if the first value
|
||||||
The size for the bar is currently fixed,
|
return is a value between 0-100, it
|
||||||
but that may change in the future.
|
will use that number for a bar.
|
||||||
execgraph shell command Same as execbar, but graphs values
|
The size for the bar is currently fixed,
|
||||||
execi interval, shell Same as exec but with specific interval.
|
but that may change in the future.
|
||||||
command Interval can't be less than
|
execgraph shell command Same as execbar, but graphs values
|
||||||
update_interval in configuration.
|
execi interval, shell command
|
||||||
fs_bar (height), (fs) Bar that shows how much space is used on
|
Same as exec but with specific interval.
|
||||||
a file system. height is the height in
|
Interval can't be less than
|
||||||
pixels. fs is any file on that file
|
update_interval in configuration.
|
||||||
system.
|
fs_bar (height), (fs)Bar that shows how much space is used on
|
||||||
fs_free (fs) Free space on a file system available
|
a file system. height is the height in
|
||||||
for users.
|
pixels. fs is any file on that file
|
||||||
fs_free_perc (fs) Free percentage of space on a file
|
system.
|
||||||
system available for users.
|
fs_free (fs) Free space on a file system available
|
||||||
fs_size (fs) File system size
|
for users.
|
||||||
fs_used (fs) File system used space
|
fs_free_perc (fs) Free percentage of space on a file
|
||||||
hr (height) Horizontal line, height is the height in
|
system available for users.
|
||||||
pixels
|
fs_size (fs) File system size
|
||||||
i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
|
fs_used (fs) File system used space
|
||||||
may be omitted if you have only one I2C
|
hr (height) Horizontal line, height is the height in
|
||||||
device. type is either in (or vol)
|
pixels
|
||||||
meaning voltage, fan meaning fan or
|
i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
|
||||||
temp/tempf (first in C, second in F)
|
may be omitted if you have only one I2C
|
||||||
meaning temperature. n is number of the
|
device. type is either in (or vol)
|
||||||
sensor. See /sys/bus/i2c/devices/ on
|
meaning voltage, fan meaning fan or
|
||||||
your local computer.
|
temp/tempf (first in C, second in F)
|
||||||
if_running (process) if PROCESS is running, display
|
meaning temperature. n is number of the
|
||||||
everything if_running and the matching $endif
|
sensor. See /sys/bus/i2c/devices/ on
|
||||||
if_existing (file) if FILE exists, display everything between
|
your local computer.
|
||||||
if_existing and the matching $endif
|
if_running (process) if PROCESS is running, display
|
||||||
if_mounted (mountpoint) if MOUNTPOINT is mounted, display everything between
|
everything if_running and the matching $endif
|
||||||
if_mounted and the matching $endif
|
if_existing (file) if FILE exists, display everything between
|
||||||
else Text to show if any of the above are not true
|
if_existing and the matching $endif
|
||||||
kernel Kernel version
|
if_mounted (mountpoint) if MOUNTPOINT is mounted, display everything between
|
||||||
linkstatus (interface) Get the link status for wireless connections
|
if_mounted and the matching $endif
|
||||||
loadavg (1), (2), (3) System load average, 1 is for past 1
|
else Text to show if any of the above are not true
|
||||||
minute, 2 for past 5 minutes and 3 for
|
kernel Kernel version
|
||||||
past 15 minutes.
|
linkstatus (interface) Get the link status for wireless connections
|
||||||
machine Machine, i686 for example
|
loadavg (1), (2), (3) System load average, 1 is for past 1
|
||||||
mails Mail count in mail spool. You can use
|
minute, 2 for past 5 minutes and 3 for
|
||||||
program like fetchmail to get mails from
|
past 15 minutes.
|
||||||
some server using your favourite
|
machine Machine, i686 for example
|
||||||
protocol. See also new_mails.
|
mails Mail count in mail spool. You can use
|
||||||
mem Amount of memory in use
|
program like fetchmail to get mails from
|
||||||
membar (height) Bar that shows amount of memory in use
|
some server using your favourite
|
||||||
memmax Total amount of memory
|
protocol. See also new_mails.
|
||||||
memperc Percentage of memory in use
|
mem Amount of memory in use
|
||||||
|
membar (height) Bar that shows amount of memory in use
|
||||||
metar_ob_time
|
memmax Total amount of memory
|
||||||
metar_temp
|
memperc Percentage of memory in use
|
||||||
metar_tempf Temp in F
|
|
||||||
metar_windchill
|
metar_ob_time
|
||||||
metar_dew_point There are a bunch of these
|
metar_temp
|
||||||
metar_rh and they are self-explanatory
|
metar_tempf Temp in F
|
||||||
metar_windspeed
|
metar_windchill
|
||||||
metar_winddir
|
metar_dew_point There are a bunch of these
|
||||||
metar_swinddir
|
metar_rh and they are self-explanatory
|
||||||
metar_cloud
|
metar_windspeed
|
||||||
metar_u2d_time
|
metar_winddir
|
||||||
|
metar_swinddir
|
||||||
ml_upload_counter total session upload in mb
|
metar_cloud
|
||||||
ml_download_counter total session download in mb
|
metar_u2d_time
|
||||||
ml_nshared_files number of shared files
|
|
||||||
ml_shared_counter total session shared in mb, buggy
|
ml_upload_counter total session upload in mb
|
||||||
in some mldonkey versions
|
ml_download_counter total session download in mb
|
||||||
ml_tcp_upload_rate tcp upload rate in kb/s
|
ml_nshared_files number of shared files
|
||||||
ml_tcp_download_rate tcp download rate in kb/s
|
ml_shared_counter total session shared in mb, buggy
|
||||||
ml_udp_upload_rate udp upload rate in kb/s
|
in some mldonkey versions
|
||||||
ml_udp_download_rate udp download rate in kb/s
|
ml_tcp_upload_rate tcp upload rate in kb/s
|
||||||
ml_ndownloaded_files number of completed files
|
ml_tcp_download_rate tcp download rate in kb/s
|
||||||
ml_ndownloading_files number of downloading files
|
ml_udp_upload_rate udp upload rate in kb/s
|
||||||
|
ml_udp_download_rate udp download rate in kb/s
|
||||||
mpd_artist Artist in current MPD song
|
ml_ndownloaded_files number of completed files
|
||||||
(must be enabled at compile)
|
ml_ndownloading_files number of downloading files
|
||||||
mpd_album Album in current MPD song
|
|
||||||
mpd_bar (height) Bar of mpd's progress
|
mpd_artist Artist in current MPD song
|
||||||
mpd_bitrate Bitrate of current song
|
(must be enabled at compile)
|
||||||
mpd_status Playing, stopped, et cetera.
|
mpd_album Album in current MPD song
|
||||||
mpd_title Title of current MPD song
|
mpd_bar (height) Bar of mpd's progress
|
||||||
mpd_vol MPD's volume
|
mpd_bitrate Bitrate of current song
|
||||||
mpd_elapsed Song's elapsed time
|
mpd_status Playing, stopped, et cetera.
|
||||||
mpd_length Song's length
|
mpd_title Title of current MPD song
|
||||||
mpd_percent Percent of song's progress
|
mpd_vol MPD's volume
|
||||||
new_mails Unread mail count in mail spool.
|
mpd_elapsed Song's elapsed time
|
||||||
nodename Hostname
|
mpd_length Song's length
|
||||||
outlinecolor (color) Change outline color
|
mpd_percent Percent of song's progress
|
||||||
pre_exec shell command Executes a shell command one time before
|
new_mails Unread mail count in mail spool.
|
||||||
conky displays anything and puts output
|
nodename Hostname
|
||||||
as text.
|
outlinecolor (color) Change outline color
|
||||||
processes Total processes (sleeping and running)
|
pre_exec shell command Executes a shell command one time before
|
||||||
running_processes Running processes (not sleeping),
|
conky displays anything and puts output
|
||||||
requires Linux 2.6
|
as text.
|
||||||
shadecolor (color) Change shading color
|
processes Total processes (sleeping and running)
|
||||||
stippled_hr (space), Stippled (dashed) horizontal line
|
running_processes Running processes (not sleeping),
|
||||||
(height)
|
requires Linux 2.6
|
||||||
swapbar (height) Bar that shows amount of swap in use
|
shadecolor (color) Change shading color
|
||||||
swap Amount of swap in use
|
stippled_hr (space), Stippled (dashed) horizontal line
|
||||||
swapmax Total amount of swap
|
(height)
|
||||||
swapperc Percentage of swap in use
|
swapbar (height) Bar that shows amount of swap in use
|
||||||
sysname System name, Linux for example
|
swap Amount of swap in use
|
||||||
offset pixels Move text over by N pixels
|
swapmax Total amount of swap
|
||||||
tail logfile, lines (interval)
|
swapperc Percentage of swap in use
|
||||||
Displays last N lines of supplied text
|
sysname System name, Linux for example
|
||||||
text file. If interval is not supplied,
|
offset pixels Move text over by N pixels
|
||||||
Conky assumes 2x Conky's interval.
|
tail logfile, lines (interval)
|
||||||
Max of 30 lines.
|
Displays last N lines of supplied text
|
||||||
Max of 30 lines can be displayed.
|
text file. If interval is not supplied,
|
||||||
time (format) Local time, see man strftime to get more
|
Conky assumes 2x Conky's interval.
|
||||||
information about format
|
Max of 30 lines.
|
||||||
totaldown net Total download, overflows at 4 GB on
|
Max of 30 lines can be displayed.
|
||||||
Linux with 32-bit arch and there doesn't
|
time (format) Local time, see man strftime to get more
|
||||||
seem to be a way to know how many times
|
information about format
|
||||||
it has already done that before conky
|
totaldown net Total download, overflows at 4 GB on
|
||||||
has started.
|
Linux with 32-bit arch and there doesn't
|
||||||
top type, num This takes arguments in the form:
|
seem to be a way to know how many times
|
||||||
top <name> <number>
|
it has already done that before conky
|
||||||
Basically, processes are ranked from
|
has started.
|
||||||
highest to lowest in terms of cpu
|
top type, num This takes arguments in the form:
|
||||||
usage, which is what <num> represents.
|
top <name> <number>
|
||||||
The types are: "name", "pid", "cpu", and
|
Basically, processes are ranked from
|
||||||
"mem".
|
highest to lowest in terms of cpu
|
||||||
There can be a max of 10 processes listed.
|
usage, which is what <num> represents.
|
||||||
top_mem type, num Same as top, except sorted by mem usage
|
The types are: "name", "pid", "cpu", and
|
||||||
instead of cpu
|
"mem".
|
||||||
totalup net Total upload, this one too, may overflow
|
There can be a max of 10 processes listed.
|
||||||
updates Number of updates (for debugging)
|
top_mem type, num Same as top, except sorted by mem usage
|
||||||
upspeed net Upload speed in kilobytes
|
instead of cpu
|
||||||
upspeedf net Upload speed in kilobytes with one
|
totalup net Total upload, this one too, may overflow
|
||||||
decimal
|
updates Number of updates (for debugging)
|
||||||
upspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
|
upspeed net Upload speed in kilobytes
|
||||||
Upload speed graph
|
upspeedf net Upload speed in kilobytes with one
|
||||||
uptime Uptime
|
decimal
|
||||||
uptime_short Uptime in a shorter format
|
upspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
|
||||||
|
Upload speed graph, colours defined in
|
||||||
seti_prog Seti@home current progress
|
hex, minus the #.
|
||||||
seti_progbar (height) Seti@home current progress bar
|
uptime Uptime
|
||||||
seti_credit Seti@hoome total user credit
|
uptime_short Uptime in a shorter format
|
||||||
|
|
||||||
|
seti_prog Seti@home current progress
|
||||||
colors are parsed using XParsecolor(), there might be a list of them:
|
seti_progbar (height) Seti@home current progress bar
|
||||||
/usr/X11R6/lib/X11/rgb.txt. color can be also in #rrggbb format (hex).
|
seti_credit Seti@hoome total user credit
|
||||||
|
|
||||||
Note that when displaying bytes, power is 1024 and not 1000 so 1M really
|
|
||||||
means 1024*1024 bytes and not 1000*1000.
|
colors are parsed using XParsecolor(), there might be a list of them:
|
||||||
|
/usr/X11R6/lib/X11/rgb.txt. color can be also in #rrggbb format (hex).
|
||||||
|
|
||||||
|
Note that when displaying bytes, power is 1024 and not 1000 so 1M really
|
||||||
|
means 1024*1024 bytes and not 1000*1000.
|
||||||
|
|
||||||
KNOWN PROBLEMS
|
KNOWN PROBLEMS
|
||||||
|
|
||||||
Drawing to root or some other desktop window directly doesn't work with
|
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
|
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
|
been reported that it doesn't work with KDE either. Nautilus can be
|
||||||
disabled from drawing to desktop with program gconf-editor. Uncheck
|
disabled from drawing to desktop with program gconf-editor. Uncheck
|
||||||
show_desktop in /apps/nautilus/preferences/. There is -w switch in Conky
|
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
|
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
|
find the window to draw to. You can also use -o argument which makes
|
||||||
Conky to create its own window.
|
Conky to create its own window.
|
||||||
|
10
conky.c
10
conky.c
@ -356,7 +356,15 @@ static const char *scan_graph(const char *args, int *w, int *h, unsigned int *fi
|
|||||||
if (args) {
|
if (args) {
|
||||||
if (sscanf(args, "%*s %d,%d %x %x", h, w, first_colour, last_colour) < 4) {
|
if (sscanf(args, "%*s %d,%d %x %x", h, w, first_colour, last_colour) < 4) {
|
||||||
if (sscanf(args, "%*s %x %x", first_colour, last_colour) < 2) {
|
if (sscanf(args, "%*s %x %x", first_colour, last_colour) < 2) {
|
||||||
sscanf(args, "%x %x", first_colour, last_colour);
|
if (sscanf(args, "%x %x", first_colour, last_colour) < 2) {
|
||||||
|
if (sscanf(args, "%d,%d", h, w) < 2) {
|
||||||
|
sscanf(args, "%*s %d,%d", h, w);
|
||||||
|
*first_colour = 0;
|
||||||
|
*last_colour = 0;
|
||||||
|
}
|
||||||
|
*first_colour = 0;
|
||||||
|
*last_colour = 0;
|
||||||
|
}
|
||||||
*w = 0;
|
*w = 0;
|
||||||
*h = 25;
|
*h = 25;
|
||||||
}
|
}
|
||||||
|
2
conky.h
2
conky.h
@ -381,7 +381,7 @@ int get_mldonkey_status(mldonkey_config * config, mldonkey_info * info);
|
|||||||
|
|
||||||
/* in linux.c */
|
/* in linux.c */
|
||||||
|
|
||||||
extern int show_nice_processes;
|
//static int show_nice_processes;
|
||||||
|
|
||||||
/* in cairo.c */
|
/* in cairo.c */
|
||||||
|
|
||||||
|
416
conkyrc.sample
416
conkyrc.sample
@ -1,6 +1,6 @@
|
|||||||
# conky configuration
|
# conky configuration
|
||||||
|
|
||||||
# set to yes if you want tormo to be forked in the background
|
# set to yes if you want Conky to be forked in the background
|
||||||
background no
|
background no
|
||||||
|
|
||||||
# X font when Xft is disabled, you can pick one with program xfontsel
|
# X font when Xft is disabled, you can pick one with program xfontsel
|
||||||
@ -8,12 +8,19 @@ background no
|
|||||||
#font 6x10
|
#font 6x10
|
||||||
#font 7x13
|
#font 7x13
|
||||||
#font 8x13
|
#font 8x13
|
||||||
font 9x15
|
#font 9x15
|
||||||
#font *mintsmild.se*
|
#font *mintsmild.se*
|
||||||
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
|
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
|
||||||
|
|
||||||
|
|
||||||
# Use Xft?
|
# Use Xft?
|
||||||
use_xft no
|
use_xft yes
|
||||||
|
|
||||||
|
# Xft font when Xft is enabled
|
||||||
|
xftfont Bitstream Vera Sans Mono:size=8
|
||||||
|
|
||||||
|
# Text alpha when using Xft
|
||||||
|
xftalpha 0.8
|
||||||
|
|
||||||
# Print everything to stdout?
|
# Print everything to stdout?
|
||||||
# out_to_console no
|
# out_to_console no
|
||||||
@ -25,12 +32,6 @@ use_xft no
|
|||||||
# Print everything to console?
|
# Print everything to console?
|
||||||
# out_to_console no
|
# out_to_console no
|
||||||
|
|
||||||
# Xft font when Xft is enabled
|
|
||||||
xftfont courier-12
|
|
||||||
|
|
||||||
# Text alpha when using Xft
|
|
||||||
xftalpha 0.8
|
|
||||||
|
|
||||||
# mail spool
|
# mail spool
|
||||||
mail_spool $MAIL
|
mail_spool $MAIL
|
||||||
|
|
||||||
@ -92,14 +93,14 @@ uppercase no
|
|||||||
|
|
||||||
# number of cpu samples to average
|
# number of cpu samples to average
|
||||||
# set to 1 to disable averaging
|
# set to 1 to disable averaging
|
||||||
cpu_avg_samples 4
|
cpu_avg_samples 2
|
||||||
|
|
||||||
# number of net samples to average
|
# number of net samples to average
|
||||||
# set to 1 to disable averaging
|
# set to 1 to disable averaging
|
||||||
net_avg_samples 4
|
net_avg_samples 2
|
||||||
|
|
||||||
# Force UTF8? note that UTF8 support required XFT
|
# Force UTF8? note that UTF8 support required XFT
|
||||||
override_utf8_locale no
|
override_utf8_locale no
|
||||||
|
|
||||||
|
|
||||||
# Add spaces to keep things from moving about? This only affects certain objects.
|
# Add spaces to keep things from moving about? This only affects certain objects.
|
||||||
@ -111,6 +112,7 @@ use_spacer no
|
|||||||
# mldonkey_password Mldonkey password, default none
|
# mldonkey_password Mldonkey password, default none
|
||||||
|
|
||||||
# METAR station code for weather, get codes from weather.noaa.gov or google
|
# METAR station code for weather, get codes from weather.noaa.gov or google
|
||||||
|
# or http://www.maltalinks.com/weather/ (thanks Hopeless @ f.g.o)
|
||||||
metar_station CYBW
|
metar_station CYBW
|
||||||
|
|
||||||
# METAR ftp server
|
# METAR ftp server
|
||||||
@ -126,175 +128,179 @@ metar_station CYBW
|
|||||||
#
|
#
|
||||||
# Variable Arguments Description
|
# Variable Arguments Description
|
||||||
|
|
||||||
# addr (interface) IP address for an interface
|
# addr (interface) IP address for an interface
|
||||||
# acpiacadapter ACPI ac adapter state.
|
# acpiacadapter ACPI ac adapter state.
|
||||||
# acpifan ACPI fan state
|
# acpifan ACPI fan state
|
||||||
# acpitemp ACPI temperature.
|
# acpitemp ACPI temperature.
|
||||||
# adt746xcpu CPU temperature from therm_adt746x
|
# adt746xcpu CPU temperature from therm_adt746x
|
||||||
# adt746xfan Fan speed from therm_adt746x
|
# adt746xfan Fan speed from therm_adt746x
|
||||||
# alignr (num) Right-justify text, with space of N
|
# alignr (num) Right-justify text, with space of N
|
||||||
# alignc Align text to centre
|
# alignc Align text to centre
|
||||||
# battery (num) Remaining capasity in ACPI or APM
|
# battery (num) Remaining capasity in ACPI or APM
|
||||||
# battery. ACPI battery number can be
|
# battery. ACPI battery number can be
|
||||||
# given as argument (default is BAT0).
|
# given as argument (default is BAT0).
|
||||||
# buffers Amount of memory buffered
|
# buffers Amount of memory buffered
|
||||||
# cached Amount of memory cached
|
# cached Amount of memory cached
|
||||||
# color (color) Change drawing color to color
|
# color (color) Change drawing color to color
|
||||||
# cpu CPU usage in percents
|
# cpu CPU usage in percents
|
||||||
# cpubar (height) Bar that shows CPU usage, height is
|
# cpubar (height) Bar that shows CPU usage, height is
|
||||||
# bar's height in pixels
|
# bar's height in pixels
|
||||||
# cpugraph (height),(width) (gradient colour 1) (gradient colour 2)
|
# cpugraph (height),(width) (gradient colour 1) (gradient colour 2)
|
||||||
# CPU usage graph
|
# CPU usage graph, with optional colours in hex,
|
||||||
# downspeed net Download speed in kilobytes
|
# minus the #.
|
||||||
# downspeedf net Download speed in kilobytes with one
|
# downspeed net Download speed in kilobytes
|
||||||
# decimal
|
# downspeedf net Download speed in kilobytes with one
|
||||||
# downspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
|
# decimal
|
||||||
# Download speed graph
|
# downspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
|
||||||
# exec shell command Executes a shell command and displays
|
# Download speed graph, colours defined in
|
||||||
# the output in conky. warning: this
|
# hex, minus the #.
|
||||||
# takes a lot more resources than other
|
# exec shell command Executes a shell command and displays
|
||||||
# variables. I'd recommend coding wanted
|
# the output in conky. warning: this
|
||||||
# behaviour in C and posting a patch :-).
|
# takes a lot more resources than other
|
||||||
# execbar shell command Same as exec, except if the first value
|
# variables. I'd recommend coding wanted
|
||||||
# return is a value between 0-100, it
|
# behaviour in C and posting a patch :-).
|
||||||
# will use that number for a bar.
|
# execbar shell command Same as exec, except if the first value
|
||||||
# The size for the bar is currently fixed,
|
# return is a value between 0-100, it
|
||||||
# but that may change in the future.
|
# will use that number for a bar.
|
||||||
# execgraph shell command Same as execbar, but graphs values
|
# The size for the bar is currently fixed,
|
||||||
# execi interval, shell Same as exec but with specific interval.
|
# but that may change in the future.
|
||||||
# command Interval can't be less than
|
# execgraph shell command Same as execbar, but graphs values
|
||||||
# update_interval in configuration.
|
# execi interval, shell command
|
||||||
# fs_bar (height), (fs) Bar that shows how much space is used on
|
# Same as exec but with specific interval.
|
||||||
# a file system. height is the height in
|
# Interval can't be less than
|
||||||
# pixels. fs is any file on that file
|
# update_interval in configuration.
|
||||||
# system.
|
# fs_bar (height), (fs)Bar that shows how much space is used on
|
||||||
# fs_free (fs) Free space on a file system available
|
# a file system. height is the height in
|
||||||
# for users.
|
# pixels. fs is any file on that file
|
||||||
# fs_free_perc (fs) Free percentage of space on a file
|
# system.
|
||||||
# system available for users.
|
# fs_free (fs) Free space on a file system available
|
||||||
# fs_size (fs) File system size
|
# for users.
|
||||||
# fs_used (fs) File system used space
|
# fs_free_perc (fs) Free percentage of space on a file
|
||||||
# hr (height) Horizontal line, height is the height in
|
# system available for users.
|
||||||
# pixels
|
# fs_size (fs) File system size
|
||||||
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
|
# fs_used (fs) File system used space
|
||||||
# may be omitted if you have only one I2C
|
# hr (height) Horizontal line, height is the height in
|
||||||
# device. type is either in (or vol)
|
# pixels
|
||||||
# meaning voltage, fan meaning fan or
|
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
|
||||||
# temp/tempf (first in C, second in F)
|
# may be omitted if you have only one I2C
|
||||||
# meaning temperature. n is number of the
|
# device. type is either in (or vol)
|
||||||
# sensor. See /sys/bus/i2c/devices/ on
|
# meaning voltage, fan meaning fan or
|
||||||
# your local computer.
|
# temp/tempf (first in C, second in F)
|
||||||
# if_running (process) if PROCESS is running, display
|
# meaning temperature. n is number of the
|
||||||
# everything if_running and the matching $endif
|
# sensor. See /sys/bus/i2c/devices/ on
|
||||||
# if_existing (file) if FILE exists, display everything between
|
# your local computer.
|
||||||
# if_existing and the matching $endif
|
# if_running (process) if PROCESS is running, display
|
||||||
# if_mounted (mountpoint) if MOUNTPOINT is mounted, display everything between
|
# everything if_running and the matching $endif
|
||||||
# if_mounted and the matching $endif
|
# if_existing (file) if FILE exists, display everything between
|
||||||
# else Text to show if any of the above are not true
|
# if_existing and the matching $endif
|
||||||
# kernel Kernel version
|
# if_mounted (mountpoint) if MOUNTPOINT is mounted, display everything between
|
||||||
# linkstatus (interface) Get the link status for wireless connections
|
# if_mounted and the matching $endif
|
||||||
# loadavg (1), (2), (3) System load average, 1 is for past 1
|
# else Text to show if any of the above are not true
|
||||||
# minute, 2 for past 5 minutes and 3 for
|
# kernel Kernel version
|
||||||
# past 15 minutes.
|
# linkstatus (interface) Get the link status for wireless connections
|
||||||
# machine Machine, i686 for example
|
# loadavg (1), (2), (3) System load average, 1 is for past 1
|
||||||
# mails Mail count in mail spool. You can use
|
# minute, 2 for past 5 minutes and 3 for
|
||||||
# program like fetchmail to get mails from
|
# past 15 minutes.
|
||||||
# some server using your favourite
|
# machine Machine, i686 for example
|
||||||
# protocol. See also new_mails.
|
# mails Mail count in mail spool. You can use
|
||||||
# mem Amount of memory in use
|
# program like fetchmail to get mails from
|
||||||
# membar (height) Bar that shows amount of memory in use
|
# some server using your favourite
|
||||||
# memmax Total amount of memory
|
# protocol. See also new_mails.
|
||||||
# memperc Percentage of memory in use
|
# mem Amount of memory in use
|
||||||
#
|
# membar (height) Bar that shows amount of memory in use
|
||||||
# metar_ob_time
|
# memmax Total amount of memory
|
||||||
# metar_temp
|
# memperc Percentage of memory in use
|
||||||
# metar_tempf Temp in F
|
#
|
||||||
# metar_windchill
|
# metar_ob_time
|
||||||
# metar_dew_point There are a bunch of these
|
# metar_temp
|
||||||
# metar_rh and they are self-explanatory
|
# metar_tempf Temp in F
|
||||||
# metar_windspeed
|
# metar_windchill
|
||||||
# metar_winddir
|
# metar_dew_point There are a bunch of these
|
||||||
# metar_swinddir
|
# metar_rh and they are self-explanatory
|
||||||
# metar_cloud
|
# metar_windspeed
|
||||||
# metar_u2d_time
|
# metar_winddir
|
||||||
|
# metar_swinddir
|
||||||
# ml_upload_counter total session upload in mb
|
# metar_cloud
|
||||||
# ml_download_counter total session download in mb
|
# metar_u2d_time
|
||||||
# ml_nshared_files number of shared files
|
#
|
||||||
# ml_shared_counter total session shared in mb, buggy
|
# ml_upload_counter total session upload in mb
|
||||||
# in some mldonkey versions
|
# ml_download_counter total session download in mb
|
||||||
# ml_tcp_upload_rate tcp upload rate in kb/s
|
# ml_nshared_files number of shared files
|
||||||
# ml_tcp_download_rate tcp download rate in kb/s
|
# ml_shared_counter total session shared in mb, buggy
|
||||||
# ml_udp_upload_rate udp upload rate in kb/s
|
# in some mldonkey versions
|
||||||
# ml_udp_download_rate udp download rate in kb/s
|
# ml_tcp_upload_rate tcp upload rate in kb/s
|
||||||
# ml_ndownloaded_files number of completed files
|
# ml_tcp_download_rate tcp download rate in kb/s
|
||||||
# ml_ndownloading_files number of downloading files
|
# ml_udp_upload_rate udp upload rate in kb/s
|
||||||
#
|
# ml_udp_download_rate udp download rate in kb/s
|
||||||
# mpd_artist Artist in current MPD song
|
# ml_ndownloaded_files number of completed files
|
||||||
# (must be enabled at compile)
|
# ml_ndownloading_files number of downloading files
|
||||||
# mpd_album Album in current MPD song
|
#
|
||||||
# mpd_bar (height) Bar of mpd's progress
|
# mpd_artist Artist in current MPD song
|
||||||
# mpd_bitrate Bitrate of current song
|
# (must be enabled at compile)
|
||||||
# mpd_status Playing, stopped, et cetera.
|
# mpd_album Album in current MPD song
|
||||||
# mpd_title Title of current MPD song
|
# mpd_bar (height) Bar of mpd's progress
|
||||||
# mpd_vol MPD's volume
|
# mpd_bitrate Bitrate of current song
|
||||||
# mpd_elapsed Song's elapsed time
|
# mpd_status Playing, stopped, et cetera.
|
||||||
# mpd_length Song's length
|
# mpd_title Title of current MPD song
|
||||||
# mpd_percent Percent of song's progress
|
# mpd_vol MPD's volume
|
||||||
# new_mails Unread mail count in mail spool.
|
# mpd_elapsed Song's elapsed time
|
||||||
# nodename Hostname
|
# mpd_length Song's length
|
||||||
# outlinecolor (color) Change outline color
|
# mpd_percent Percent of song's progress
|
||||||
# pre_exec shell command Executes a shell command one time before
|
# new_mails Unread mail count in mail spool.
|
||||||
# conky displays anything and puts output
|
# nodename Hostname
|
||||||
# as text.
|
# outlinecolor (color) Change outline color
|
||||||
# processes Total processes (sleeping and running)
|
# pre_exec shell command Executes a shell command one time before
|
||||||
# running_processes Running processes (not sleeping),
|
# conky displays anything and puts output
|
||||||
# requires Linux 2.6
|
# as text.
|
||||||
# shadecolor (color) Change shading color
|
# processes Total processes (sleeping and running)
|
||||||
# stippled_hr (space), Stippled (dashed) horizontal line
|
# running_processes Running processes (not sleeping),
|
||||||
# (height)
|
# requires Linux 2.6
|
||||||
# swapbar (height) Bar that shows amount of swap in use
|
# shadecolor (color) Change shading color
|
||||||
# swap Amount of swap in use
|
# stippled_hr (space), Stippled (dashed) horizontal line
|
||||||
# swapmax Total amount of swap
|
# (height)
|
||||||
# swapperc Percentage of swap in use
|
# swapbar (height) Bar that shows amount of swap in use
|
||||||
# sysname System name, Linux for example
|
# swap Amount of swap in use
|
||||||
# offset pixels Move text over by N pixels
|
# swapmax Total amount of swap
|
||||||
# tail logfile, lines (interval)
|
# swapperc Percentage of swap in use
|
||||||
# Displays last N lines of supplied text
|
# sysname System name, Linux for example
|
||||||
# text file. If interval is not supplied,
|
# offset pixels Move text over by N pixels
|
||||||
# Conky assumes 2x Conky's interval.
|
# tail logfile, lines (interval)
|
||||||
# Max of 30 lines.
|
# Displays last N lines of supplied text
|
||||||
# Max of 30 lines can be displayed.
|
# text file. If interval is not supplied,
|
||||||
# time (format) Local time, see man strftime to get more
|
# Conky assumes 2x Conky's interval.
|
||||||
# information about format
|
# Max of 30 lines.
|
||||||
# totaldown net Total download, overflows at 4 GB on
|
# Max of 30 lines can be displayed.
|
||||||
# Linux with 32-bit arch and there doesn't
|
# time (format) Local time, see man strftime to get more
|
||||||
# seem to be a way to know how many times
|
# information about format
|
||||||
# it has already done that before conky
|
# totaldown net Total download, overflows at 4 GB on
|
||||||
# has started.
|
# Linux with 32-bit arch and there doesn't
|
||||||
# top type, num This takes arguments in the form:
|
# seem to be a way to know how many times
|
||||||
# top <name> <number>
|
# it has already done that before conky
|
||||||
# Basically, processes are ranked from
|
# has started.
|
||||||
# highest to lowest in terms of cpu
|
# top type, num This takes arguments in the form:
|
||||||
# usage, which is what <num> represents.
|
# top <name> <number>
|
||||||
# The types are: "name", "pid", "cpu", and
|
# Basically, processes are ranked from
|
||||||
# "mem".
|
# highest to lowest in terms of cpu
|
||||||
# There can be a max of 10 processes listed.
|
# usage, which is what <num> represents.
|
||||||
# top_mem type, num Same as top, except sorted by mem usage
|
# The types are: "name", "pid", "cpu", and
|
||||||
# instead of cpu
|
# "mem".
|
||||||
# totalup net Total upload, this one too, may overflow
|
# There can be a max of 10 processes listed.
|
||||||
# updates Number of updates (for debugging)
|
# top_mem type, num Same as top, except sorted by mem usage
|
||||||
# upspeed net Upload speed in kilobytes
|
# instead of cpu
|
||||||
# upspeedf net Upload speed in kilobytes with one
|
# totalup net Total upload, this one too, may overflow
|
||||||
# decimal
|
# updates Number of updates (for debugging)
|
||||||
# upspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
|
# upspeed net Upload speed in kilobytes
|
||||||
# Upload speed graph
|
# upspeedf net Upload speed in kilobytes with one
|
||||||
# uptime Uptime
|
# decimal
|
||||||
# uptime_short Uptime in a shorter format
|
# upspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
|
||||||
#
|
# Upload speed graph, colours defined in
|
||||||
# seti_prog Seti@home current progress
|
# hex, minus the #.
|
||||||
# seti_progbar (height) Seti@home current progress bar
|
# uptime Uptime
|
||||||
# seti_credit Seti@hoome total user credit
|
# uptime_short Uptime in a shorter format
|
||||||
|
#
|
||||||
|
# seti_prog Seti@home current progress
|
||||||
|
# seti_progbar (height) Seti@home current progress bar
|
||||||
|
# seti_credit Seti@hoome total user credit
|
||||||
|
|
||||||
|
|
||||||
# variable is given either in format $variable or in ${variable}. Latter
|
# variable is given either in format $variable or in ${variable}. Latter
|
||||||
@ -306,25 +312,31 @@ metar_station CYBW
|
|||||||
TEXT
|
TEXT
|
||||||
$nodename - $sysname $kernel on $machine
|
$nodename - $sysname $kernel on $machine
|
||||||
$stippled_hr
|
$stippled_hr
|
||||||
${color grey}Uptime$color $uptime
|
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
|
||||||
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 6}
|
${color lightgrey}CPU Usage:${color #cc2222} $cpu% ${cpubar}
|
||||||
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 6}
|
${color red}${cpugraph 0000ff 00ff00}
|
||||||
${color grey}CPU Usage:$color $cpu% ${cpubar 6}
|
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
|
||||||
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
|
${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
|
||||||
${color grey}Mails: ${color}$mails${color grey} New: ${color}$new_mails${color grey}
|
${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes
|
||||||
$color$stippled_hr
|
$color$stippled_hr
|
||||||
${color grey}Networking:
|
${color lightgrey}Networking:
|
||||||
Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s
|
Down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed eth0} k/s
|
||||||
${color grey}File systems:
|
${color #0000ff}${downspeedgraph eth0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph eth0 32,150 0000ff ff0000}
|
||||||
/ $color${fs_free /}/${fs_size /} ${fs_bar 6 /}
|
${color lightgrey}File systems:
|
||||||
${color grey}Temperatures:
|
/ $color${fs_used /}/${fs_size /} ${fs_bar /}
|
||||||
CPU:$color ${i2c temp 1}°C${color grey} - MB:$color ${i2c temp 2}°C
|
${color lightgrey}Temperatures:
|
||||||
${color grey}MPD:
|
CPU:$color ${i2c temp 2}C${color grey} - MB:$color ${i2c temp 1}C
|
||||||
$mpd_status ${alignc}$mpd_artist - $mpd_title from $mpd_album at $mpd_vol $mpd_bitrate
|
${color #88aadd}MPD: ${alignc}$mpd_artist - $mpd_title
|
||||||
$mpd_bar
|
${color #88aadd}$mpd_bar
|
||||||
${color grey}Name PID CPU% MEM%
|
${color #88aadd}${alignc}$mpd_status
|
||||||
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
|
${color}Name PID CPU% MEM%
|
||||||
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
|
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
|
||||||
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
|
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
|
||||||
${tail /var/log/Xorg.0.log 3 30}
|
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
|
||||||
${metar_temp}C $metar_cloud
|
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
|
||||||
|
${color}Mem usage
|
||||||
|
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
|
||||||
|
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
|
||||||
|
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
|
||||||
|
${color}Current conditions: ${color lightgrey}${metar_temp}C $metar_cloud
|
||||||
|
${tail /var/log/Xorg.0.log 3 30}
|
Loading…
Reference in New Issue
Block a user