Post all you're .conkyrc files with a screenshot please, Im interested in a basic, one liner at the top that has
CPU Usage, Free space on the hd, Time(12 hour), Ram, and network usage.
Printable View
Post all you're .conkyrc files with a screenshot please, Im interested in a basic, one liner at the top that has
CPU Usage, Free space on the hd, Time(12 hour), Ram, and network usage.
My conkyrc:
Code:# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_hints undecorated,below,skip_taskbar
background no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft yes
# Update interval in seconds
update_interval 3.0
# Minimum size of text area
minimum_size 400 5
# Draw shades?
draw_shades yes
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors, grey90 == #e5e5e5
default_color white
default_shade_color black
default_outline_color white
own_window_colour brown
own_window_transparent yes
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 10
gap_y 10
# stuff after 'TEXT' will be formatted on screen
override_utf8_locale no
xftfont Terminus:size=8
xftalpha 0.8
TEXT
${offset 240}${color slate grey}${time %a, } ${color }${time %e %B %G}
${offset 240}${color slate grey}${time %Z, }${color }${time %H:%M:%S}
${offset 240}${color slate grey}UpTime: ${color }$uptime
${offset 240}${color slate grey}Kern:${color }$kernel
${offset 240}${color slate grey}CPU:${color } $cpu% ${acpitemp}C
${offset 240}${cpugraph 20,130 000000 ffffff}
${offset 240}${color slate grey}Load: ${color }$loadavg
${offset 240}${color slate grey}Processes: ${color }$processes
${offset 240}${color slate grey}Running: ${color }$running_processes
${offset 240}${color slate grey}Highest CPU:
${offset 240}${color #ddaa00} ${top name 1}${top_mem cpu 1}
${offset 240}${color lightgrey} ${top name 2}${top cpu 2}
${offset 240}${color lightgrey} ${top name 3}${top cpu 3}
${offset 240}${color lightgrey} ${top name 4}${top cpu 4}
${offset 240}${color slate grey}Highest MEM:
${offset 240}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${offset 240}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${offset 240}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${offset 240}${color lightgrey} ${top_mem name 4}${top_mem mem 4}
${offset 240}${color slate grey}MEM: ${color } $memperc% $mem/$memmax
${offset 240}${membar 3,100}
${offset 240}${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
${offset 240}${swapbar 3,100}
${offset 240}${color slate grey}ROOT: ${color }${fs_free /}/${fs_size /}
${offset 240}${fs_bar 3,100 /}
${offset 240}${color slate grey}HOME: ${color }${fs_free /home}/${fs_size /home}
${offset 240}${fs_bar 3,100 /home}
${offset 240}${color slate grey}SLACK: ${color }${fs_free /mnt/slack}/${fs_size /mnt/slack}
${offset 240}${fs_bar 3,100 /mnt/slack}
${offset 240}${color slate grey}NET:
${offset 240}${color}Up: ${color }${upspeed eth0} k/s
${offset 240}${upspeedgraph eth0 20,130 000000 ffffff}
${offset 240}${color}Down: ${color }${downspeed eth0}k/s${color}
${offset 240}${downspeedgraph eth0 20,130 000000 ffffff}
Code:# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background yes
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Set conky on the bottom of all other applications
own_window_hints below
# Xft font when Xft is enabled
xftfont Sans:style=Bold:size=10
# Text alpha when using Xft
xftalpha 1
# Print everything to stdout?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 5
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_hints undecorated,below,skip_taskbar
own_window_type override
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
#own_window_colour hotpink
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 280 5
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 8
# border margins
border_margin 5
# border width
border_width 10
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 50
gap_y 12
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 1
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 1
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /opt/seti
# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
min_port_monitors 16
# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
min_port_monitor_connections 256
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
${color white} ${time %l:%M %a %b %d}
${color white}CPU:${color white} ${freq} ${color white}mhz / Temp:${color white}$acpitemp ${color white}C
${color white}Disk I/O:${color white} ${diskio} ${color white}Uptime:${color white} $uptime
${color white}Processes:${color white} $processes ${color white}Running:${color white} $running_processes
${color white}CPU Usage:${color white} $cpu% ${color white}${cpugraph 20, 125 ffffff 0000ff}
${color white}RAM Usage:${color white} $mem of $memmax ${color white}- ${color white}$memperc%
${color white}Swap Usage:${color white} $swap of $swapmax ${color white}- ${color white}$swapperc%
${color white}File systems: ${color white}${fs_used /} of ${fs_size /}
${color white}Name PID CPU% MEM%
${color white} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color white} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color white} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color white} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color white} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color white}IN:${downspeed eth0} k/s ${color white}${downspeedgraph eth0 20,125 ff0000 0000ff}
${color white}OUT:${upspeed eth0} k/s ${color white}${upspeedgraph eth0 20,125 0000ff ff0000}
${color white}Connections: ${tcp_portmon 1 65535 count}
${color white}Netstat
${color white}${execi 2 netstat -e -p -t | grep ESTABLISHED | cut -c45-68,80-86,102-140}
Okay Dylan103, i went down your list of what you want and made one for ya.->
Code:# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background yes
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Set conky on the bottom of all other applications
own_window_hints below
# Xft font when Xft is enabled
xftfont Sans:style=Bold:size=10
# Text alpha when using Xft
xftalpha 1
# Print everything to stdout?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 5
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_hints undecorated,below,skip_taskbar
own_window_type override
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
#own_window_colour hotpink
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 280 5
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 8
# border margins
border_margin 5
# border width
border_width 10
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 50
gap_y 12
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 1
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 1
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /opt/seti
# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
min_port_monitors 16
# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
min_port_monitor_connections 256
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
${color white}CPU Usage:${color white} $cpu% <-> ${color white}File systems: ${color white}${fs_used /} of ${fs_size /} <-> ${time %l:%M %a %b %d} <-> ${color white}RAM Usage:${color white} $mem of $memmax ${color white}= ${color white}$memperc%
${color white}IN:${downspeed eth0}k/s <-> ${color white}OUT:${upspeed eth0}k/s <-> ${color white}Connections: ${tcp_portmon 1 65535 count}
${color white}Netstat
${color white}${execi 2 netstat -e -p -t | grep ESTABLISHED | cut -c45-68,80-86,102-140}
.conky_wifi
.conkyrcCode:#!/bin/sh
/sbin/iwconfig ath0|grep Rate|cut -d"M" -f1|cut -b20-24
Code:# set to yes if you want Conky to be forked in the background
background yes
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Trebuchet MS:size=10
# Text alpha when using Xft
xftalpha 0.9
# Update interval in seconds
update_interval 1.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
# If own_window is yes, you may use type normal, desktop or override
own_window_type normal
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 160 5
# Maximum width
maximum_width 160
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders no
# Stippled borders?
# stippled_borders 8
# border margins
# border_margin 2
# border width
# border_width 1
# Default colors and also border colors
default_color white
default_shade_color red
default_outline_color green
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 12
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# variable is given either in format $variable or in ${variable}
# stuff after 'TEXT' will be formatted on screen
# unused text
# Current:${alignr}${execi 20 /home/tonyt/scripts/.conky_eth2} Mbits/sec
# hda Temp:${alignr}${execi 1800 /home/tonyt/scripts/.hdtemp}
TEXT
$sysname $kernel
Uptime:$alignr$uptime
${time %A}$alignr${time %F}
Hostname:$alignr$nodename
ath0:$alignr${addr ath0}
Signal:$alignr${linkstatus ath0}
Current:${alignr}${execi 20 /home/tonyt/scripts/.conky_ath0} Mbits/sec
eth2:$alignr${addr eth2}
Signal:$alignr${linkstatus eth2}
eth0:$alignr${addr eth0}
RAM: $mem/$memmax ${color lightgray}$membar$color
CPU0 ${cpu cpu1}% ${color lightgray}${cpubar cpu1}$color
CPU1 ${cpu cpu2}% ${color lightgray}${cpubar cpu2}$color
hda3: ${fs_used_perc /}% ${color lightgray}${fs_bar /}$color
hda5: ${fs_used_perc /mnt/FILES}% ${color lightgray}${fs_bar /mnt/FILES/}$color
Swap: $swapperc% ${color lightgray}$swapbar$color
Processes: $processes ${alignr}Running: $running_processes
This is a great idea for a thread.
Code:# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-35-*-*-*-*-*-*-*
# Use Xft?
use_xft no
# Set conky on the bottom of all other applications
#on_bottom yes
# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=10
# Text alpha when using Xft
#xftalpha 0.15
# Print everything to stdout?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 5.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
# If own_window is yes, you may use type normal, desktop or overide
own_window_type normal
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
#own_window_colour
# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer no
# Minimum size of text area
minimum_size 280 5
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 8 no
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 28
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /opt/seti
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
$sysname $kernel on $machine
${color}Uptime:$color $uptime ${color}- Load:$color $loadavg
${color}CPU Usage:${color} $cpu% ${cpubar}
${color}${cpugraph 88aadd 88aaee}
${color}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
${color}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
${color}Processes:$color $processes ${color}Running:$color $running_processes
${color}Networking:
Down:${color} ${downspeed eth0} k/s${color} ${offset 80}Up:${color} ${upspeed eth0} k/s
${color}${downspeedgraph eth0 32,150 88aadd 88aaee} ${color}${upspeedgraph eth0 32,150 88aadd 88aaee}
${color}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar /}
/home $color${fs_used /home}/${fs_size /home} ${fs_bar /home}
${color}Name PID CPU% MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color}Mem usage
${color lightgrey} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
Code:# set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=8
own_window_transparent no
#own_window_colour hotpink
# Text alpha when using Xft
xftalpha 0.8
on_bottom yes
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar
own_window_type override
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 260 5
maximum_width 260
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders no
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 15
gap_y 70
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# none, xmms, bmp, audacious, infopipe (default is none)
xmms_player bmp
# boinc (seti) dir
# seti_dir /opt/seti
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# 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
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
# stuff after 'TEXT' will be formatted on screen
#${font Grunge:size=12}${time %a %b %d}${alignr -25}${time %k:%M}
TEXT
${color #0077ff}$sysname $kernel $machine - $nodename
${color #0077ff}Uptime:${color lightgrey} $uptime ${color #0077ff} Load:${color lightgrey} $loadavg
${color #0077ff}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color lightgrey}${freq_dyn}Mhz
${color #0077ff}Usage:${color #0077ff} ${color lightgrey}${cpu}% ${color #0077ff}${cpubar}
${color #0077ff}${cpugraph 000000 0077ff}
${color #0077ff}Proces:${color lightgrey} $processes ${color #0077ff}Run:${color lightgrey} $running_processes ${color #0077ff}CPU:${color lightgrey} ${i2c temp 2}C${color lightgrey} ${color #0077ff}MB:${color lightgrey} ${i2c temp 1}C
${color #0077ff}RAM:${color lightgrey} $mem/$memmax - $memperc% ${alignr}${color #0077ff}${membar 5,110}
${color #0077ff}SWP:${color lightgrey} $swap/$swapmax - $swapperc% ${alignr}${color #0077ff}${swapbar 5,110}
${color #0077ff}HD IO: ${color lightgrey}${diskio} ${alignr}${color #0077ff}Temperature: ${color lightgrey}${execi 10 /home/admin/.bin/hddconky}C
${color #0077ff}${diskiograph 000000 0077ff}
${color #0077ff}Hard Disks:
${color #0077ff} Root ${color lightgrey}${fs_used /}/${fs_size /}${alignr}${color #0077ff}${fs_bar 5,120 /}
${color #0077ff} Home ${color lightgrey}${fs_used /home}/${fs_size /home}${alignr}${color #0077ff}${fs_bar 5,120 /home}
${color #0077ff} Data ${color lightgrey}${fs_used /media/data}/${fs_size /media/data}${alignr}${color #0077ff}${fs_bar 5,120 /media/data}
${color #0077ff}CPU Usage PID CPU% MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #0077ff} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #0077ff} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #0077ff}Mem Usage
${color lightgrey} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #0077ff} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #0077ff} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #0077ff}Network: ${color lightgrey}${addr eth0}
${color #0077ff}Down:${color lightgrey} ${downspeed eth0} k/s $alignr${color #0077ff} Up:${color lightgrey} ${upspeed eth0} k/s
${color #0077ff}${downspeedgraph eth0 27,120 000000 0077ff 180} $alignr${color #0077ff}${upspeedgraph eth0 27,120 000000 0077ff 25}
${color lightgrey}${totaldown eth0} $alignr${color lightgrey}${totalup eth0}
${color #0077ff}Port(s)${alignr}#Connections
${color #0077ff}Inbound: ${color lightgrey}${tcp_portmon 1 32767 count} ${color #0077ff}Outbound: ${color lightgrey}${tcp_portmon 32768 61000 count}${alignr}${color #0077ff}Total: ${color lightgrey}${tcp_portmon 1 65535 count}
${color #0077ff}Inbound Connection ${alignr} Local Service/Port${color lightgrey}
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
${tcp_portmon 1 32767 rhost 6} ${alignr} ${tcp_portmon 1 32767 lservice 6}
Thanky you Kerry_S, Pretty much exactly how i wanted it <3
I like this thread because then people can take and give ideas/parts of their conkyrc.
Where is the conky.rc file?
Great thread guys!
There is none made at install, you must make your own by copying to your home dir. The sample stock .conkyrc is located at:
/usr/share/doc/conky/examples/conkyrc.sample.gz
rename to .conkyrc and move to your home dir.
for trial & error configuring, use system monitor to kill the conky process & use a shell to start it after editing the conkyrc.
We've got a bunch built up here:
http://bbs.archlinux.org/viewtopic.php?t=26162
Anyone have one that shows current XMMS status?
I'm using the example config found in /usr/share/doc/conky/ with minor edit, which I don't find particularly well looking, but pretty informative.
background yes
use_xft yes
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.8
out_to_console no
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 280 5
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
stippled_borders 0
border_margin 4
border_width 1
default_color white
default_shade_color white
default_outline_color white
alignment top_left
gap_x 5
gap_y 5
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no
TEXT
$hr
${color white}Uptime:${color blue} $uptime ${color white} ${color white}CPU Usage:${color red} $cpu% ${color white}CPU Temp:${color blue} ${i8k_cpu_temp}C ${color white}HDD Temp:${color blue} ${execi 10 nc localhost 7634 | cut -c30-31 ;}C ${color white}Load:${color blue} $loadavg ${color white}RAM Usage:${color blue}$mem/$memmax - $memperc% ${color white}Swap Usage:${color blue} $swap/$swapmax - $swapperc% $color Disk Usage:${color blue} ${fs_used /bin/bash}/${fs_size /bin/bash} - ${fs_free_perc /bin/bash}% Free ${color white}Down:${color blue}${downspeed eth1} k/s ${color white}Up:${color blue} ${upspeed eth1} k/s
10/10 thread, i will post mine when i finish twearking it
This is a fantastic little program.. I do have one question My text is rather blinky on updates.. Any way to limit the blinking?
add this to your conkyrc file:
Open up the Xorg configuration file (usually /etc/X11/xorg.conf) with your favourite text editor, and find the line that says:Code:# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
Section "Module"
Then, after that line, add:
Load "dbe"
Restart Xorg (my preferred method is the good-ole control+alt+backspace) and enjoy.
http://img379.imageshack.us/img379/2282/ubu5ys0.th.jpg
It's based on one of the demo-configs on the conky-website. ;)
http://i15.tinypic.com/40m2wbc.pngCode:background yes
use_xft yes
xftfont HandelGotD:size=9
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 5
maximum_width 200
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color red
default_outline_color green
alignment top_right
gap_x 12
gap_y 48
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
TEXT
$sysname $kernel on $machine
Uptime $alignr $uptime
Load $alignr $loadavg
Hostname $alignr $nodename
eth0 $alignr ${addr eth0}
ppp0 $alignr ${addr ppp0}
Inbound $alignr ${downspeed ppp0} kb/s
${downspeedgraph ppp0}
Outbound $alignr ${upspeed ppp0} kb/s
${upspeedgraph ppp0}
$processes processes ($running_processes running)
CPU $alignr ${cpu cpu0}%
${cpubar cpu0}
MEM $alignc $mem / $memmax $alignr $memperc%
$membar
/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}
/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}
swap $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}
The conkyrc is a bit of a mess, but it all works.
Code:border_margin 9
border_width 10
default_color FFFFFF
own_window_colour brown
own_window_transparent yes
alignment top_right
gap_x 15
gap_y 15
mail_spool /var/mail/adamtropics
TEXT
$color${hr}
$nodename $sysname $kernel on $machine
Information $color${hr}
Uptime:$alignr$uptime
${time %A %F}$alignr${time %k:%M }
Battery:$alignr${battery}
Hard Drive Temp: $alignr${execi 300 nc localhost 7634 | cut -c29-30 ;} C
CPU Temp:$alignr${acpitemp}C
Wireless Signal Quality: $alignr${linkstatus ath0} %
CPU Activity: $cpubar
RAM: $memperc% ${membar 6}$color
Root: ${fs_free_perc /}% ${fs_bar 6 /}$color
hda1: ${fs_free_perc /media/hda1}% ${fs_bar 6 /media/hda1}$color
Online Status: www.bigpond.com.au: $alignr${execi 150 /home/adamtropics/scripts/silentping.sh 144.135.18.32 "up" "down"}${if_existing /home/adamtropics/.status/144.135.18.32.up}Online$else${color red}Offline$endif
ATI Driver Version:$alignr${execi 3600 fglrxinfo | tail -n2 | tail -c19}
Network ${hr}
Internet/Networking Status (${addr ath0}):
Down: $color${downspeed ath0} k/s ${alignr}Up: ${upspeed ath0} k/s
${downspeedgraph ath0 25,140 D8D8D8 ffffff} ${alignr}${upspeedgraph ath0 25,140 D8D8D8 ffffff}$color
Total: ${totaldown ath0} ${alignr}Total: ${totalup ath0}
Email $color${hr}
Yahoo Email: $alignr${pop3_unseen pop.mail.yahoo.com ********** ******* [-i 60]} new messages
System Mail: $alignr${mails} new messages
Weather $color${hr}
${color #D5D3D5}${execi 1800 /home/adamtropics/weather/weather.sh ASXX0020}
$color${hr}
${execi 15 wmctrl -R " - conky"}
http://ubuntuforums.org/gallery/data/500/conky1.jpg
Code:# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft no
# Update interval in seconds
update_interval 3.0
# Minimum size of text area
# minimum_size 250 5
# Draw shades?
draw_shades yes
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
font arial
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 3
# border margins
border_margin 9
# border width
border_width 10
# Default colors and also border colors, grey90 == #e5e5e5
default_color white
default_shade_color black
#default_outline_color CCCCCC
own_window_colour brown
own_window_transparent yes
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 10
gap_y 40
# stuff after 'TEXT' will be formatted on screen
TEXT
$nodename $sysname $kernel on $machine
CPU: ${freq}MHz Uptime: ${uptime} Battery: ${battery}
CPU: $cpu% $cpubar
${cpugraph 000000 FFFFFF}
NAME PID CPU% MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
RAM ($memmax): $memperc% ${membar 6}$color
Swap ($swapmax): $swapperc% ${swapbar 6}$color
Ubuntu: ${fs_used_perc /}% ${fs_bar 6 /}$color
Windows: ${fs_used_perc /media/windows}% ${fs_bar 6 /media/windows}$color
Storage: ${fs_used_perc /media/data}% ${fs_bar 6 /media/data}$color
Internet Status (${addr eth0}):
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,140 000000 FFFFFF} ${alignr}${upspeedgraph eth0 25,140 000000 FFFFFF}$color
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
Hi friends,
Here is my conky setup. Everything written in text in the screenshot on the left hand side is by connky.
Girish
here's my conky i hope you like it even it's not that nice as i wanted.
http://http://img116.imageshack.us/my.php?image=obrazovka1wy1.png
Code:# not sure of what is this based on. sorry
# set to yes if you want tormo to be forked in the background
background yes
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=9
#xftfont Arial Unicode MS:size=9
# Text alpha when using Xft
xftalpha 0.8
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 5
# Create own window instead of using desktop (required in nautilus)
own_window no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 50 5
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 5
gap_y 10
#alignment top_right
alignment top_left
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
#metar_station CYBW
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# Subtract file system buffers from used memory?
no_buffers yes
# boinc (seti) dir
# seti_dir /opt/seti
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# 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
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
#${color lightgrey}File systems:
## / $color${fs_used /}/${fs_size /} ${fs_bar /}
#$nodename - $sysname $kernel on $machine
#$stippled_hr
#${color lightgrey}CPU Usage:${color #cc2222} $cpu% ${cpubar}
#${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
#${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
#${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes
#$color$stippled_hr
#
#${color #00cc00} $mpd_status ${alignc}$mpd_artist - $mpd_title
#${color forest green} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
#${color seagreen}${font Bitstream Vera Mono Sans:size=8}${execi 5 sudo /usr/bin/lastb | awk '{print $1,$2,$4,$5,$6,$7}' | head -5 }
#${color green}To Do:
#${color seagreen}${execi 3600 cat /home/girish/.todo}
#
#
#
TEXT
Host: ${color brown}$nodename
${color white}OS: ${color brown}$sysname
${color white}Kernel: ${color brown}$kernel
${color white}Platform: ${color brown}$machine
${color white}CPU: ${color brown}${freq}MHz
${color white}Uptime: ${color brown}${uptime}
${color white}Download: ${color brown}${downspeed eth0} KB/s
${color white}Upload:${color brown} ${upspeed eth0} KB/s
${color white}Updates: ${color brown}$updates available
${font Bitstream Vera Mono Sans:size=9}${color sea green} Name PID CPU% MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color forest green} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color forest green} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #998800} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #998800} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${font Bitstream Vera Mono Sans:size=9}${color sea green} Disk usage:${color #ddaa00}
Ubuntu: ${fs_used_perc /}% ${fs_bar 6,147 /}$color ${color forest green}
Storage: ${fs_used_perc /windows/D}% ${fs_bar 6,147 /windows/D}$color${color #998800}
Home: ${fs_used_perc /home}% ${fs_bar 6,147 /home}
${font Bitstream Vera Mono Sans:size=9}${color sea green} Resources usage:${color #ddaa00}
CPU: $cpu% ${cpubar 6,167 ff0000 888899}${color forest green}
RAM: $memperc% ${membar 6,167 ff0000 888899}${color #998800}
SWAP: $swapperc% ${swapbar 6,167 ff0000 888899}
Code:# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background yes
# X font when Xft is disabled, you can pick one with program xfontsel artwiz package?
#font 5x8
font 6x9
#font 6x10
#font 6x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft no
# Set conky on the bottom of all other applications
on_bottom yes
# Xft font when Xft is enabled
xftfont Gothic:size=8
# Text alpha when using Xft
xftalpha 0.8
# Print everything to stdout?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
own_window_colour grey
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 280 5
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline yes
# Draw borders around text
draw_borders yes
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 1
gap_y 3
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase yes
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /opt/seti
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
$alignc Uptime:${color lightgrey} $uptime $color with ${color lightgrey}$kernel $color
${color lightgrey}HDD I/O:$color $diskio
${color red}${diskiograph 0000ff 00ff00}
${color lightgrey}CPU Usage:$color $cpu% ${color #cc2222} ${cpubar}
${color red}${cpugraph 0000ff 00ff00}
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes
$color$stippled_hr
${color pink} Temperature: ${color red} ${acpitemp}
$color$stippled_hr
${color lightgrey}File systems:$color
root $color${fs_used /} /${fs_size /} ${fs_bar /}
home $color${fs_used /home} /${fs_size /home} ${fs_bar /home}
fat32 $color${fs_used /media/fat32} /${fs_size /media/fat32} ${fs_bar /media/fat32}
$color$stippled_hr
${color}CPU Usage: CPU% MEM% PID
${color #ff4500} ${top name 1} ${top cpu 1} ${top mem 1} ${top pid 1}
${color #eeee00} ${top name 2} ${top cpu 2} ${top mem 2} ${top pid 2}
${color #00ee00} ${top name 3} ${top cpu 3} ${top mem 3} ${top pid 3}
${color lightgrey} ${top name 4} ${top cpu 4} ${top mem 4} ${top pid 4}
${color lightgrey} ${top name 5} ${top cpu 5} ${top mem 5} ${top pid 5}
$color$stippled_hr
${color}MEM usage:
${color #ff4500} ${top_mem name 1} ${top_mem cpu 1} ${top_mem mem 1} ${top_mem pid 1}
${color #eeee00} ${top_mem name 2} ${top_mem cpu 2} ${top_mem mem 2} ${top_mem pid 2}
${color #00ee00} ${top_mem name 3} ${top_mem cpu 3} ${top_mem mem 3} ${top_mem pid 3}
${color lightgrey} ${top_mem name 4} ${top_mem cpu 4} ${top_mem mem 4} ${top_mem pid 4}
${color lightgrey} ${top_mem name 5} ${top_mem cpu 5} ${top_mem mem 5} ${top_mem pid 5}
$color$stippled_hr
${color lightgrey}Networking:${color #00ee00} PPP0 ${color lightgrey} on $color ${addr ppp0}
${color lightgrey} Down:${color #8844ee} ${downspeedf ppp0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeedf ppp0} k/s
${color #0000ff}${downspeedgraph ppp0 22,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph ppp0 22,150 0000ff ff0000}
$color$stippled_hr
${color lightgrey}Networking:${color #00ee00} ETH0 ${color lightgrey} on $color ${addr eth0}
${color lightgrey}Down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed eth0} k/s
${color #0000ff}${downspeedgraph eth0 22,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph eth0 22,150 0000ff ff0000}
$color$stippled_hr
${color lightgrey}Networking:${color #00ee00} ETH1 ${color lightgrey} on $color ${addr eth1}
${color lightgrey}Link Status:$color ${linkstatus eth1}
${color lightgrey}Down:${color #8844ee} ${downspeed eth1} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed eth1} k/s
${color #0000ff}${downspeedgraph eth1 22,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph eth1 22,150 0000ff ff0000}
$color$stippled_hr
${color lightgrey}Networking:
$color PPP0: downloaded ${totaldown ppp0}; uploaded ${totalup ppp0}
$color ETH0: downloaded ${totaldown eth0}; uploaded ${totalup eth0}
$color ETH1: downloaded ${totaldown eth1}; uploaded ${totalup eth1}
$color$stippled_hr
Port Statistics:
${color red} ${tcp_portmon 1 65535 count} $color total connections
${color red} ${tcp_portmon 1 1024 count} $color btw ${color red}1-1024
${color green} ${tcp_portmon 80 80 count} $color on ${color red}80
${color green} ${tcp_portmon 20 23 count} $color on ${color red}20-23
${color green} ${tcp_portmon 443 443 count} $color on ${color red}443
hey, guys, nice Conky's, will use some of those things combined, but does anybody know how to get text within a graph, I've seen some screenies with text in them, do you have to use multiple conky's for that?
Thnx anyways, Casper
background: request_gray_1920.jpg
dock: kiba-dock
theme: murrinaAquaish (for murrina-engine-gtk)
icons: gorilla
stats: conky
link to full res screenshot
.conkyrc
Code:background yes
use_xft yes
xftfont HandelGotD:size=8
xftalpha 0.1
update_interval 0.5
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 5
maximum_width 200
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color red
default_outline_color green
alignment top_right
gap_x 18
gap_y 48
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale no
use_spacer yes
TEXT
$sysname $kernel $alignr $machine
Intel Centrino Duo $alignr${freq_g cpu0}Ghz
$alignr
${cpugraph cpu0 16,200 ffffff ffffff}
CPU:1 ${cpu cpu1}% ${cpubar cpu1}
CPU:2 ${cpu cpu2}% ${cpubar cpu2}
MEM $alignc $mem / $memmax $alignr $memperc%
$membar
/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}
/fat $alignc ${fs_used /media/fat} / ${fs_size /media/fat} $alignr ${fs_free_perc /media/fat}%
${fs_bar /media/fat}
Disk i/o ${diskiograph 16,200}
Processes
$alignr $running_processes Running
$alignr $processes Sleeping
Top Processes
CPU $alignr CPU% MEM%
${top name 1}$alignr${top cpu 1}${top mem 1}
${top name 2}$alignr${top cpu 2}${top mem 2}
${top name 3}$alignr${top cpu 2}${top mem 3}
MEM $alignr CPU% MEM%
${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1}
${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}
${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}
IP on eth1 $alignr ${addr eth1}
Down $alignr ${downspeed eth1} kb/s
${downspeedgraph eth1}
Up $alignr ${upspeed eth1} kb/s
${upspeedgraph eth1 16,200}
Connections ${tcp_portmon 32768 61000 count} ${alignr} Service/Port
${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}
${texeci 120 python ~/.gmail/gmail.py | ~/.gmail/conkyhelper.rb }
phaed.one@gmail.com: $alignr ${if_existing /tmp/.gmailnew}$endif${exec cat /tmp/.gmailcount} New
phaedrus@cia.com: $alignr 0 New
Could you please use thumbnails instead of full images for the sake of those who either have no broadband connection or limited traffic volume?
Would be very nice from you, thanks in advance.
np. just did. cant stand the file size restriction on png tho. makes it impossible to upload a 1440x900 screens.
http://pixjet.net/img/67eb4fa4269f63...-06%2C%201.pngCode:# Conky configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# The additions to this config require curl and xsltproc be installed
# set to yes if you want Conky to be forked in the background
background yes
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
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?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
# If own_window is yes, you may use type normal, desktop or override
own_window_type normal
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
own_window_colour hotpink
# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Max window size
maximum_width 310
# Minimum size of text area
minimum_size 280 5
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 0
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color lightgrey
default_shade_color grey
default_outline_color grey
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 50
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /opt/seti
# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
#min_port_monitors 16
# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
#min_port_monitor_connections 256
# none, xmms, bmp, audacious, infopipe (default is none)
#xmms_player none
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
${color #e9c703}Host:$color $nodename - $sysname $kernel on $machine
${color #e9c703}Uptime:$color $uptime ${color #e9c703}- Load:$color $loadavg
${color #e9c703}Core 1 Usage:$color ${alignc} ${cpu cpu1}% ${color #888888}${cpubar cpu1}
${color #888888}${cpugraph cpu1 888888 e9c703}
${color #e9c703}Core 2 Usage:$color ${alignc} ${cpu cpu2}% ${color #888888}${cpubar cpu2}
${color #888888}${cpugraph cpu2 888888 e9c703}
${color #e9c703}RAM Usage:$color $mem/$memmax $color ${alignc}$memperc% ${color #888888}${membar}
${color #e9c703}Swap Usage:$color $swap/$swapmax $color ${alignc}$swapperc% ${color #888888}${swapbar}
${color #e9c703}Processes:$color $processes ${color #e9c703}Running:$color $running_processes
${color #e9c703}File systems:
$color / ${alignc}${fs_used_perc /}% ${color #888888}${fs_bar /}
$color /home ${alignc}${fs_used_perc /home}% ${color #888888}${fs_bar /home}
${color #e9c703}Networking:${alignr}${color #e9c703}IP Address: $color${addr eth0}
${color #e9c703}Down:$color ${downspeed eth0} k/s ${offset 80}${color #e9c703}Up:$color ${upspeed eth0} k/s
${color #888888}${downspeedgraph eth0 20,150 888888 e9c703} ${color #888888}${upspeedgraph eth0 20,150 888888 e9c703}
${color #e9c703}Status:
${color #e9c703}Active Port(s):
$color Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
${color #e9c703}Mini-top:
${color}Name PID CPU% MEM%
${color white} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
$color ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
$color ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
$color ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color #e9c703}Mem usage:
${color white} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
$color ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
$color ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #e9c703}Local Weather:
$color${execi 1800 /usr/bin/conky2/weather.gov.sh CAXX0255}
${color #e9c703}News Feeds:
${color #e9c703}/. Latest Headlines:
$color${execi 900 /usr/bin/conky2/conky-slashdot-rss.sh}
${color #e9c703}CNS News Latest Headlines:
$color${execi 900 /usr/bin/conky2/conky-cns-rss.sh}
${color #e9c703}System Logs:
${color #e9c703}Messages:
$color${execi 10 /usr/bin/tail -n 5 /var/log/messages | cut -c 23-}
${color #e9c703}Security:
$color${execi 10 /usr/bin/tail -n 5 /var/log/auth.log | cut -c 23-}
Heres mine..
http://img418.imageshack.us/img418/1...een4ij9.th.jpgCode:# Conky Configuration
#
#
#
#
#
#
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer no
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=9
# Text alpha when using Xft
xftalpha 0.10
# Update interval in seconds
update_interval 5.0
# Minimum size of text area
# minimum_size 160 5
# Draw shades?
draw_shades no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 3
# border margins
border_margin 6
# border width
border_width 10
# Default colors and also border colors, grey90 == #e5e5e5
default_color grey
own_window_colour brown
own_window_transparent yes
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 10
gap_y 15
# stuff after 'TEXT' will be formatted on screen
TEXT
$color
${color yellow}System ${hr 2}$color
${color white}$nodename $sysname $kernel on $machine Uptime:$alignr$uptime
${color white}${time %A %B %e, %G} ${color #00ff00}${time %I:%M:%S}${time %p} ${time %Z}
${color yellow}Cpu ${hr 2}$color
${color #FF8700}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color white}${freq_dyn_g}Ghz
${color white}Usage:${color green}${cpu}% ${color #DFDFDF}${cpubar}
${color white}${cpugraph FF5300 D964FF}
${color green}Processes:${color white} $processes ${color green}Running:${color white} $running_processes ${color green}Cpu:${color white} ${acpitemp}C${color white}
${color yellow}Top Processes ${hr 2}$color
${color white}NAME PID CPU% MEM%
${color #00BEFF}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color white}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color yellow}Memory ${hr 2}$color
${color white}Ram:${color white} $mem/$memmax - $memperc% ${alignr}${color #FF6D00}${membar 5,110}
${color white}Swap:${color white} $swap/$swapmax - $swapperc% ${alignr}${color #878787}${swapbar 5,110}
${color yellow}Disk I/O ${hr 2}$color
${color white}I/O:${color white} ${diskio}
${color #FFFFFF}${diskiograph FF00AB FFE200}
${color yellow}Disk Space ${hr 2}$color
${color white} / ${color white}${fs_used /}/${fs_size /}${alignr}${color white}${fs_bar 5,120 /}
${color white} usr ${color white}${fs_used /usr}/${fs_size /usr}${alignr}${color white}${fs_bar 5,120 /usr}
${color white}boot ${color white}${fs_used /boot}/${fs_size /boot}${alignr}${color white}${fs_bar 5,120 /boot}
${color white}home ${color white}${fs_used /home}/${fs_size /home}${alignr}${color white}${fs_bar 5,120 /home}
${color white}tmp ${color white}${fs_used /tmp}/${fs_size /tmp}${alignr}${color white}${fs_bar 5,120 /tmp}
${color yellow}Network ${hr 2}$color
${color white}Down: ${color green}${downspeed eth0} k/s ${alignr}${color white}Up:${color green} ${upspeed eth0} k/s
${color white}${downspeedgraph eth0 25,140 FF8200 ff0000} ${alignr}${upspeedgraph eth0
25,140 FF0000 FF9900}$color
${color white}Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
Inbound: ${tcp_portmon 1 32767 count}
Outbound: ${tcp_portmon 32768
61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
${color yellow}Logging ${hr 2}$color
${color white}${execi 30 tail -n3 /var/log/messages | fold -w50}
${color yellow}Security ${hr 2}$color
${color white}${execi 30 tail -n3 /var/log/auth.log | fold -w50}
Nice thread indeed :) I've been searching for a nice conky config -- and I believe I'll find one here. Thanks all! ;)
Code:# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#
# set to yes if you want Conky to be forked in the background
background yes
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft yes
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.9
# Update interval in seconds
update_interval 1.0
# Minimum size of text area
# minimum_size 250 5
# Draw shades?
draw_shades no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
#font arial
# Stippled borders?
stippled_borders 3
# border margins
border_margin 9
# border width
border_width 10
# Default colors and also border colors, grey90 == #e5e5e5
default_color white
own_window_colour brown
own_window_transparent yes
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 10
gap_y 60
# stuff after 'TEXT' will be formatted on screen
TEXT
${color white}${color green}[${color white}$nodename${color green}]:
${color white}$sysname $kernel on $machine
${color white}Uptime: $uptime
${color orange}CPU ${hr 2}$color
${freq}MHz ${color green}Load: ${color white}${loadavg} ${color green}Temp: ${color white}${acpitemp}F
${color green}processes: ${color white}$processes ${color green}running: ${color white}$running_processes
$cpubar
${cpugraph 00ff00 ffffff}
${color green}NAME PID CPU% MEM%${color white}
${color #ffff00}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}${color white}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color orange}MEMORY / DISK ${hr 2}$color
${color green}RAM: ${color white}$memperc% ${membar 6}
${color green}Swap: ${color white}$swapperc% ${swapbar 6}
${color green}Root: ${color white}${fs_free_perc /}% ${fs_bar 6 /}
${color green}ISO : ${color white}${fs_free_perc /media/hda1}% ${fs_bar 6 /media/hda1}
${color green}APPS: ${color white}${fs_free_perc /media/hdb1}% ${fs_bar 6 /media/hdb1}
${color orange}NETWORK (${addr eth1}) ${hr 2}$color
${color green}Down: ${color white}${downspeed eth1}k/s ${alignr}${color green}Up: ${color white}${upspeed eth1}k/s
${downspeedgraph eth1 25,140 000000 ff0000} ${alignr}${upspeedgraph eth1
25,140 000000 00ff00}
${color green}Total: ${color white}${totaldown eth1} ${alignr}${color green}Total: ${color white}${totalup eth1}
${color green}Inbound: ${color white}${tcp_portmon 1 32767 count} ${color green}Outbound: ${color white}${tcp_portmon 32768
61000 count}${alignr}${color green}Total: ${color white}${tcp_portmon 1 65535 count}
Connections ${tcp_portmon 32768 61000 count} ${alignr} Service/Port
${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}
${color orange}LOGGING ${hr 2}$color
${execi 30 tail -n3 /var/log/messages | fold -w50}
${color orange}BLOCKED IPs ${hr 2}$color
${execi 30 tail -n5 /var/log/moblock.log | fold -w50}
Heres an update for my Conky config --
Code:background yes
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
use_spacer yes
use_xft yes
xftfont HandelGotD:size=8
xftalpha 0.5
update_interval 1.0
draw_shades no
draw_outline no # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
stippled_borders 3
border_margin 9
border_width 10
default_color white
own_window_colour brown
own_window_transparent yes
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
gap_x 10
gap_y 25
TEXT
${color white}${color green}[${color white}$nodename${color green}]:
${color white}$sysname $kernel Uptime: $uptime
${color orange}CPU ${hr 1}$color
${color green}Load: ${color white}${loadavg} ${color green}Temp: ${color white}${acpitempf}F ${color green}(Fan: ${color white}${acpifan}${color green})
${color green}Processes: ${color white}$processes ${color green}Running: ${color white}$running_processes
${color green}CPU Load: ${color white}${cpu}%
${cpugraph 00ff00 ffffff}
${color green}NAME $alignr PID CPU% MEM%${color white}
${color #ffff00}${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}${color white}
${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4}
${color orange}MEMORY / DISK ${hr 1}$color
${color green}RAM : ${color white}$memperc% ${color green}(${color white}${mem} / ${memmax}${color green})
${color green}Swap: ${color white}$swapperc% ${color green}(${color white}${swap} / ${swapmax}${color green})
${color green}DiskIO:${color white}${diskio}
${diskiograph 00ff00 ffffff}
${color green}Root: ${color white}${fs_free_perc /}% ${color green}(${color white}${fs_used /} / ${fs_size /}${color green})
${color green}ISO : ${color white}${fs_free_perc /media/hda1}% ${color green}(${color white}${fs_used /media/hda1} / ${fs_size /media/hda1}${color green})
${color green}APPS: ${color white}${fs_free_perc /media/hdb1}% ${color green}(${color white}${fs_used /media/hdb1} / ${fs_size /media/hdb1}${color green})
${color orange}NETWORK (${addr eth1}) ${hr 1}$color
${color green}Down: ${color white}${downspeed eth1}k/s ${alignr}${color green}Up: ${color white}${upspeed eth1}k/s
${downspeedgraph eth1 25,140 ff0000 00ff00} ${alignr}${upspeedgraph eth1
25,140 00ff00 ff0000}
${color green}Total: ${color white}${totaldown eth1} ${alignr}${color green}Total: ${color white}${totalup eth1}
${color green}Inbound: ${color white}${tcp_portmon 1 32767 count} ${color green}Outbound: ${color white}${tcp_portmon 32768
61000 count}${alignr}${color green}Total: ${color white}${tcp_portmon 1 65535 count}
${color green}Connections ${color white}${tcp_portmon 32768 61000 count} ${alignr} ${color green}Service/Port${color white}
${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}
${color orange}LOGGING ${hr 1}$color
${execi 30 tail -n3 /var/log/messages | fold -w50}
${color orange}BLOCKED IPs ${hr 1}$color
${execi 30 tail -n5 /var/log/moblock.log | fold -w50}
${color orange}WEATHER OUTLOOK ${hr 1}$color
${color white}${execi 1800 /home/marx2k/weather/weather.sh}
OK, I get everything posted execpt the weather sections people are using? </noob>
Quite a simple one for me:
Anthony Haslam, I love the LCD look of your conky.
# Grab weather data from weather.com and format it according to the given XSLT
# Script written by boojit
# Modified by Hellf[i]re
# The orignal script and xslt can be downloaded from http://pondol.com/weather.tar.gz
(from the head of the script itself)
It would be even cooler if you could throw a drop shadow on the text and have it still be readable (probably impossible)
I like conky, but I like to keep it minimal. I dig a desktop that looks like a picture, without a lot of clutter and stuff.
You'll have to look close to get an idea of it. Basically it's a two-line summary with everything I need centered at the bottom of the screen. Uppercase, outlined, 7-point (yes, 7-point) sans.
The only downside is that with it centered like that, it tends to shift slightly as the numbers change; no doubt I could get that fixed if I really cared.Code:background yes
use_xft yes
xftfont Bitstream Vera Sans:size=7
xftalpha 0.8
update_interval 2
own_window no
double_buffer yes
draw_shades no
draw_outline yes
stippled_borders no
border_margin 0
border_width 1
default_color white
default_shade_color black
alignment bottom_left
minimum_size 1262
gap_x 9
gap_y 9
use_spacer no
no_buffers yes
uppercase yes
TEXT
${alignc}${color white}Ubuntu $sysname $kernel ${color darkgrey}on ${color white}$nodename ${color darkgrey}[${color white}${freq}Mhz ${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'}${color darkgrey}] |${color white}$uptime_short ${color darkgrey}uptime at ${color white}$cpu% ${color darkgrey}cpu load with ${color white}${mem}b${color darkgrey} of ${color white}${memmax}b${color darkgrey} (${color white}$memperc%${color darkgrey}) used by ${color white}$processes ${color darkgrey}processes
${alignc}${color white}${fs_used /}b${color darkgrey} of ${color white}${fs_size /}b${color darkgrey} root partition used, ${color white}${fs_used /home}b${color darkgrey} of ${color white}${fs_size /home}b${color darkgrey} home partition used | ${color white}${downspeed ra0} kbps${color darkgrey} down (${color white}${totaldown ra0}b${color darkgrey} total), ${color white}${upspeed ra0} kbps${color darkgrey} up (${color white}${totalup ra0}b${color darkgrey} total) on ${color white}${addr ra0}
By the way, that's Conky 1.4.4-1 out of feisty. I have to run the edgy kernel since I use an RT61 wireless card on that machine, and I can't be bothered to rebuild the drivers. [-(
How can I get conky to look like this, font and all?
This is a good place to start.
http://www.ubuntuforums.org/showthread.php?t=205865
Conky runs off a text file, which you can edit to show exactly what you want in that picture ... plus more or minus less, as you like.
I Love this thread :)
Thanks. That's the one -- Grub to desktop in 27 seconds. :shock:
I didn't realize it was famous ... but I guess the guide did get dugg, which in some circles is almost famous. :D
The wallpaper, by the way, came from http://www.interfacelift.com ...
I want it without the black background,how is it possible ?
Post your conkyrc file blonder. Thats the only to know what errors where made.
Code:# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft no
# Update interval in seconds
update_interval 1.0
# Minimum size of text area
# minimum_size 250
# Draw shades?
draw_shades no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
font arial
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 3
# border margins
border_margin 9
# border width
border_width 10
# Default colors and also border colors
default_color black
own_window_colour brown
own_window_transparent yes
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 10
gap_y 40
# stuff after 'TEXT' will be formatted on screen
TEXT
${color}Linux $kernel
$hr
Uptime: $uptime
$hr
CPU: ${color white}$cpu% ${freq} MHz$color
RAM: ${color B9D3EE}$memperc% ${mem}B / ${memmax}B$color
Swap: ${color 26466D}$swapperc% ${swap}B / ${swapmax}B$color
$hr
${color}Internet/Networking Status: (${addr eth0})$color
Down: ${color B9D3EE}${downspeedf eth0}k/s $color${alignr}Up: ${color 26466D}${upspeedf eth0}k/s$color
${downspeedgraph eth0 25,180 000000 B9D3EE} ${alignr}${upspeedgraph eth0
25,180 000000 26466D}
Code:# conky configuration
# edited by elch
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=8
xftfont Terminus:size=8
# Text alpha when using Xft
xftalpha 0.8
# Print everything to console?
# out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 5.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 160 5
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 15
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
#Note: doesn't work in conky 1.2 =(
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# Possible variables to be used:
#
# Variable Arguments Description
# addr (interface) IP address for an interface
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# alignr (num) Right-justify text, with space of N
# alignc Align text to centre
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# cpugraph (height),(width) (gradient colour 1) (gradient colour 2)
# CPU usage graph, with optional colours in hex,
# minus the #.
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# downspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
# Download speed graph, colours defined in
# hex, minus the #.
# exec shell command Executes a shell command and displays
# the output in conky. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execbar shell command Same as exec, except if the first value
# return is a value between 0-100, it
# will use that number for a bar.
# The size for the bar is currently fixed,
# but that may change in the future.
# execgraph shell command Same as execbar, but graphs values
# execi interval, shell command
# Same as exec but with specific interval.
# Interval can't be less than
# update_interval in configuration.
# font font Specify a different font. Only applies
# to one line.
# fs_bar (height), (fs)Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
#
# your local computer.
# if_running (process) if PROCESS is running, display
# everything if_running and the matching $endif
# if_existing (file) if FILE exists, display everything between
# if_existing and the matching $endif
# if_mounted (mountpoint) if MOUNTPOINT is mounted, display everything between
# if_mounted and the matching $endif
# else Text to show if any of the above are not true
# kernel Kernel version
# linkstatus (interface) Get the link status for wireless connections
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
#
# metar_ob_time
# metar_temp
# metar_tempf Temp in F
# metar_windchill
# metar_dew_point There are a bunch of these
# metar_rh and they are self-explanatory
# metar_windspeed
# metar_winddir
# metar_swinddir
# metar_cloud
# metar_u2d_time
#
# ml_upload_counter total session upload in mb
# ml_download_counter total session download in mb
# ml_nshared_files number of shared files
# ml_shared_counter total session shared in mb, buggy
# in some mldonkey versions
# ml_tcp_upload_rate tcp upload rate in kb/s
# ml_tcp_download_rate tcp download rate in kb/s
# ml_udp_upload_rate udp upload rate in kb/s
# ml_udp_download_rate udp download rate in kb/s
# ml_ndownloaded_files number of completed files
# ml_ndownloading_files number of downloading files
#
# mpd_artist Artist in current MPD song
# (must be enabled at compile)
# mpd_album Album in current MPD song
# mpd_bar (height) Bar of mpd's progress
# mpd_bitrate Bitrate of current song
# mpd_status Playing, stopped, et cetera.
# mpd_title Title of current MPD song
# mpd_vol MPD's volume
# mpd_elapsed Song's elapsed time
# mpd_length Song's length
# mpd_percent Percent of song's progress
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# conky displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# offset pixels Move text over by N pixels
# tail logfile, lines (interval)
# Displays last N lines of supplied text
# text file. If interval is not supplied,
# Conky assumes 2x Conky's interval.
# Max of 30 lines.
# Max of 30 lines can be displayed.
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before conky
# has started.
# top type, num This takes arguments in the form:
# top <name> <number>
# Basically, processes are ranked from
# highest to lowest in terms of cpu
# usage, which is what <num> represents.
# The types are: "name", "pid", "cpu", and
# "mem".
# There can be a max of 10 processes listed.
# top_mem type, num Same as top, except sorted by mem usage
# instead of cpu
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# upspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
# Upload speed graph, colours defined in
# hex, minus the #.
# uptime Uptime
# 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
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
${color #0077ff}$sysname $kernel $machine - $nodename
${color #0077ff}Uptime:${color #8b3d3d} $uptime ${color #0077ff} Load:${color #8b3d3d} $loadavg
${color #0077ff}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color #8b3d3d}${freq_dyn}Mhz
${color #0077ff}Usage:${color #0077ff} ${color #8b3d3d}${cpu}% ${color #0077ff}${cpubar}
${color #0077ff}${cpugraph 000000 0077ff}
${color #0077ff}RAM:${color #8b3d3d} $mem/$memmax - $memperc% ${alignr}${color #0077ff}${membar 5,110}
${color #0077ff}SWP:${color #8b3d3d} $swap/$swapmax - $swapperc% ${alignr}${color #0077ff}${swapbar 5,110}
${color #0077ff}HD IO: ${color #8b3d3d}${diskio} ${alignr}${color #0077ff}CPU Temp:$alignr${acpitemp}C
${color #0077ff}${diskiograph 000000 0077ff}
${color #0077ff}Hard Disks:
${color #0077ff} Root ${color #8b3d3d}${fs_used /}/${fs_size /}${alignr}${color #0077ff}${fs_bar 5,120 /}
${color #0077ff} Privat ${color #8b3d3d}${fs_used /media/sda5}/${fs_size /media/sda5}${alignr}${color #0077ff}${fs_bar 5,120 /media/sda5}
${color #0077ff}CPU Usage PID CPU% MEM%
${color #8b3d3d} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #0077ff} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #0077ff} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #0077ff}Mem Usage
${color #8b3d3d} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #0077ff} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #0077ff} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #0077ff}Network: ${color #8b3d3d}${addr eth0}
${color #0077ff}Down:${color #8b3d3d} ${downspeed eth0} k/s $alignr${color #0077ff} Up:${color #8b3d3d} ${upspeed eth0} k/s
${color #0077ff}${downspeedgraph eth0 27,120 000000 0077ff 180} $alignr${color #0077ff}${upspeedgraph eth0 27,120 000000 0077ff 25}
${color #8b3d3d}${totaldown eth0} $alignr${color #8b3d3d}${totalup eth0}
${color #0077ff}Port(s)${alignr}#Connections
${color #0077ff}Inbound: ${color #8b3d3d}${tcp_portmon 1 32767 count} ${color #0077ff}Outbound: ${color #8b3d3d}${tcp_portmon 32768 61000 count}${alignr}${color #0077ff}Total: ${color #8b3d3d}${tcp_portmon 1 65535 count}
${color #0077ff}Inbound Connection ${alignr} Local Service/Port${color #8b3d3d}
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
${tcp_portmon 1 32767 rhost 6} ${alignr} ${tcp_portmon 1 32767 lservice 6}
Here you go blonder. your conky config has been edited,and tested. It is now transparent.
Copy Paste:
Code:# conky configuration
# edited by elch
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=8
xftfont Terminus:size=8
# Text alpha when using Xft
xftalpha 0.8
# Print everything to console?
# out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 5.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 160 5
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
own_window_colour brown
own_window_transparent yes
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 15
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
#Note: doesn't work in conky 1.2 =(
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# Possible variables to be used:
#
# Variable Arguments Description
# addr (interface) IP address for an interface
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# alignr (num) Right-justify text, with space of N
# alignc Align text to centre
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# cpugraph (height),(width) (gradient colour 1) (gradient colour 2)
# CPU usage graph, with optional colours in hex,
# minus the #.
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# downspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
# Download speed graph, colours defined in
# hex, minus the #.
# exec shell command Executes a shell command and displays
# the output in conky. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execbar shell command Same as exec, except if the first value
# return is a value between 0-100, it
# will use that number for a bar.
# The size for the bar is currently fixed,
# but that may change in the future.
# execgraph shell command Same as execbar, but graphs values
# execi interval, shell command
# Same as exec but with specific interval.
# Interval can't be less than
# update_interval in configuration.
# font font Specify a different font. Only applies
# to one line.
# fs_bar (height), (fs)Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
#
# your local computer.
# if_running (process) if PROCESS is running, display
# everything if_running and the matching $endif
# if_existing (file) if FILE exists, display everything between
# if_existing and the matching $endif
# if_mounted (mountpoint) if MOUNTPOINT is mounted, display everything between
# if_mounted and the matching $endif
# else Text to show if any of the above are not true
# kernel Kernel version
# linkstatus (interface) Get the link status for wireless connections
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
#
# metar_ob_time
# metar_temp
# metar_tempf Temp in F
# metar_windchill
# metar_dew_point There are a bunch of these
# metar_rh and they are self-explanatory
# metar_windspeed
# metar_winddir
# metar_swinddir
# metar_cloud
# metar_u2d_time
#
# ml_upload_counter total session upload in mb
# ml_download_counter total session download in mb
# ml_nshared_files number of shared files
# ml_shared_counter total session shared in mb, buggy
# in some mldonkey versions
# ml_tcp_upload_rate tcp upload rate in kb/s
# ml_tcp_download_rate tcp download rate in kb/s
# ml_udp_upload_rate udp upload rate in kb/s
# ml_udp_download_rate udp download rate in kb/s
# ml_ndownloaded_files number of completed files
# ml_ndownloading_files number of downloading files
#
# mpd_artist Artist in current MPD song
# (must be enabled at compile)
# mpd_album Album in current MPD song
# mpd_bar (height) Bar of mpd's progress
# mpd_bitrate Bitrate of current song
# mpd_status Playing, stopped, et cetera.
# mpd_title Title of current MPD song
# mpd_vol MPD's volume
# mpd_elapsed Song's elapsed time
# mpd_length Song's length
# mpd_percent Percent of song's progress
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# conky displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# offset pixels Move text over by N pixels
# tail logfile, lines (interval)
# Displays last N lines of supplied text
# text file. If interval is not supplied,
# Conky assumes 2x Conky's interval.
# Max of 30 lines.
# Max of 30 lines can be displayed.
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before conky
# has started.
# top type, num This takes arguments in the form:
# top <name> <number>
# Basically, processes are ranked from
# highest to lowest in terms of cpu
# usage, which is what <num> represents.
# The types are: "name", "pid", "cpu", and
# "mem".
# There can be a max of 10 processes listed.
# top_mem type, num Same as top, except sorted by mem usage
# instead of cpu
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# upspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
# Upload speed graph, colours defined in
# hex, minus the #.
# uptime Uptime
# 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
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
${color #0077ff}$sysname $kernel $machine - $nodename
${color #0077ff}Uptime:${color #8b3d3d} $uptime ${color #0077ff} Load:${color #8b3d3d} $loadavg
${color #0077ff}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color #8b3d3d}${freq_dyn}Mhz
${color #0077ff}Usage:${color #0077ff} ${color #8b3d3d}${cpu}% ${color #0077ff}${cpubar}
${color #0077ff}${cpugraph 000000 0077ff}
${color #0077ff}RAM:${color #8b3d3d} $mem/$memmax - $memperc% ${alignr}${color #0077ff}${membar 5,110}
${color #0077ff}SWP:${color #8b3d3d} $swap/$swapmax - $swapperc% ${alignr}${color #0077ff}${swapbar 5,110}
${color #0077ff}HD IO: ${color #8b3d3d}${diskio} ${alignr}${color #0077ff}CPU Temp:$alignr${acpitemp}C
${color #0077ff}${diskiograph 000000 0077ff}
${color #0077ff}Hard Disks:
${color #0077ff} Root ${color #8b3d3d}${fs_used /}/${fs_size /}${alignr}${color #0077ff}${fs_bar 5,120 /}
${color #0077ff} Privat ${color #8b3d3d}${fs_used /media/sda5}/${fs_size /media/sda5}${alignr}${color #0077ff}${fs_bar 5,120 /media/sda5}
${color #0077ff}CPU Usage PID CPU% MEM%
${color #8b3d3d} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #0077ff} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #0077ff} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #0077ff}Mem Usage
${color #8b3d3d} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #0077ff} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #0077ff} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #0077ff}Network: ${color #8b3d3d}${addr eth0}
${color #0077ff}Down:${color #8b3d3d} ${downspeed eth0} k/s $alignr${color #0077ff} Up:${color #8b3d3d} ${upspeed eth0} k/s
${color #0077ff}${downspeedgraph eth0 27,120 000000 0077ff 180} $alignr${color #0077ff}${upspeedgraph eth0 27,120 000000 0077ff 25}
${color #8b3d3d}${totaldown eth0} $alignr${color #8b3d3d}${totalup eth0}
${color #0077ff}Port(s)${alignr}#Connections
${color #0077ff}Inbound: ${color #8b3d3d}${tcp_portmon 1 32767 count} ${color #0077ff}Outbound: ${color #8b3d3d}${tcp_portmon 32768 61000 count}${alignr}${color #0077ff}Total: ${color #8b3d3d}${tcp_portmon 1 65535 count}
${color #0077ff}Inbound Connection ${alignr} Local Service/Port${color #8b3d3d}
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
${tcp_portmon 1 32767 rhost 6} ${alignr} ${tcp_portmon 1 32767 lservice 6}
Thank you but my conkyrc was also transparent
http://img503.imageshack.us/img503/8...hot6ct2.th.png
It's small and in the bottom left corner...
Code:# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Set conky on the bottom of all other applications
on_bottom yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans:size=12
# Text alpha when using Xft
xftalpha 0.8
# Print everything to stdout?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 3.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
#own_window yes
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
own_window_colour hotpink
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 280 5
# Draw shades?
draw_shades no
# Draw outlines?
draw_outlines no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 12
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /opt/seti
# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
#min_port_monitors 16
# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
#min_port_monitor_connections 256
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
${alignc}${color #505050}CPU:${color #666666} $cpu% ${offset 30}${color #505050}RAM:${color #666666} $memperc% ${offset 30} ${color #505050}Space: ${color #666666} $fs_free_perc%${offset 30}
${alignc}${color #505050}Download:${color #666666} ${downspeed eth0} k/s${offset 50}${color #505050}Upload:${color #666666} ${upspeed eth0} k/s
How can i get the Weather zip code from Berlin/germany ?
And from where can i get the script ?
yes its now another conkyrc
I went a bit over the top with external scripts and such, but they allow me to highlight stuff.
I looked at using xft, but then the cpugraph looks out of place and conky eats up a whole 2% if my cpu (I wouldn't normally care, but conky shows itself eating up so much :P)
~/.conkyrc
~/dev/wordwrapCode:own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
use_spacer yes
use_xft no
update_interval 1.0
draw_shades no
draw_borders no
draw_graph_borders no
draw_outline no
uppercase no
stippled_borders 3
border_margin 9
border_width 10
default_color 676f9d
default_shade_color grey
alignment top_left
#gap_y 25
use_spacer no
TEXT
$nodename ${time %Y-%m-%e %r}
$color$stippled_hr
${color #C2C3F3}Load: $color${loadavg}
${color #C2C3F3}CPU: $color${freq}MHz ${color #C2C3F3}Temp: $color${acpitemp}
${color #C2C3F3}Battery: $color${battery}
$cpubar
${cpugraph ffffff 676f9d}
$color$stippled_hr
Processes:$color $processes Running: $running_processes
Name PID CPU% MEM%
${color #C2C3F3}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
$color${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
Mem usage
${color #C2C3F3}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
$color${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #C2C3F3}RAM: $color$memperc% ${membar 6}
${color #C2C3F3}Swap: $color$swapperc% ${swapbar 6}
${color #C2C3F3}RAM: $color$mem ${color #C2C3F3}Swap: $color$swap
$color$stippled_hr
${color #C2C3F3}hda1: $color${fs_free_perc /media/hda1}% ${fs_bar 6 /media/hda1}$color
$color$stippled_hr
eth1
${color #C2C3F3}ip: $color${addr eth1}
${color #C2C3F3}essid: $color${exec iwconfig eth1 | sed 's/ /\n/g' | grep ESSID | sed 's/ESSID:"//'| sed 's/"//'}
${color #C2C3F3}link status: $color${exec iwconfig eth1 | sed 's/ /\n/g' | grep Quality | sed 's/Link Quality://' | sed 's/Link Quality=//' | sed 's/ //g' } ${color #C2C3F3}s: $color${exec iwconfig eth1 | sed 's/ /\n/g' | grep Signal | sed 's/Signal level=//' | sed 's/Signal level://' }
$color$stippled_hr
${texeci 500 pymetar CYUL > /tmp/.weather}${color #C2C3F3}Temperature:$color${exec grep Temp /tmp/.weather | sed 's/Temperature://'| sed 's/.0 C/ C/'} ${color #C2C3F3}Wind:$color${exec grep speed /tmp/.weather | sed 's/Wind speed://' }
${color #C2C3F3}Weather: $color${exec grep Weather /tmp/.weather | sed s/'Weather: //' | sed 1d | ~/dev/wordwrap -w 30 | tr [:upper:] [:lower:]}
$color$stippled_hr
${texeci 60 python ~/.gmail.py | ~/dev/conkyhelper.rb}${color #C2C3F3}Mail Messages: $color${if_existing /tmp/.gmailnew}${color #FF2222}$endif${exec cat /tmp/.gmailcount}
${texeci 60 ~/dev/conkyblog}${color #C2C3F3}Bloglines: $color${if_existing /tmp/.blognew}${color #FF2222}$endif${exec cat /tmp/.blogcount}
$color$stippled_hr
${texeci 5 cat ~/todo | ~/dev/wordwrap -w 40}
$color$stippled_hr
${texeci 120 curl http://brohan.ca/random.php|sed 's/<br>/\n/g'|sed 's/</</g'|sed 's/>/>/g'|~/dev/wordwrap -w 40 > /tmp/.quote;cat /tmp/.quote}
gmail.pyCode:##########################################################################
# Shellscript: wordwrap - wrap lines on word boundaries
# Author : Heiner Steven <heiner.steven@odn.de>
# Date : 2001-12-10
# Requires :
# Category : Text Utilities
# SCCS-Id. : @(#) wordwrap 1.4 04/09/24
##########################################################################
# Description
# A very simple text formatting program. The input is read
# word by word. All words are joined using a space (ASCII
# 32) character. If "-j" was specified, each line is
# filled up to the maximum line length, or the next empty
# line before it is printed. Each continued line can be
# offset by a number of blanks.
#
# Note
# o Leading whitespace is ignored
# o An AWK program actually formats the input. It is written in
# a way to be portable to a wide range of AWK dialects.
# o thanks for Samus-Aran for suggesting the "-l" option
#
# Caveats
# o Should have an option for keeping whitespace inbetween words
##########################################################################
PN=`basename "$0"` # Program name
VER='1.4'
# Uncomment the following line to disable the search for the fastest AWK
#: ${AWK:=awk}
DEFWIDTH=72 # Default line length
DEFOFFSET=0 # Default continued line offset
DEFMARGIN=0 # Default left margin
Usage () {
echo >&2 "$PN - wrap lines on word boundaries, $VER
usage: $PN [-j] [-w width] [-o offset] [-l margin] [file ...]
-j join multiple lines up to the maximum line length
-l left margin (default $DEFMARGIN)
-o offset of continued lines (default $DEFOFFSET)
-w max. line width (default is $DEFWIDTH characters)"
exit 1
}
Msg () {
for MsgLine
do echo "$PN: $MsgLine" >&2
done
}
Fatal () { Msg "$@"; exit 1; }
##########################################################################
# searchprog - search program using search PATH
# usage: searchprog program
##########################################################################
searchprog () {
_search=$1; shift
for _dir in `echo "$PATH" | sed "s/^:/.:/;s/:\$/:./;s/::/:.:/g;s/:/ /g"`
do
[ -x "$_dir/$_search" ] || continue
echo "$_dir/$_search"
return 0
done
return 1
}
# isint - is argument a valid integer number?
isint () {
case "$1" in
*[!0-9]*) return 1;;
*) return 0;;
esac
}
set -- `getopt :hjl:o:w: "$@"` || Usage
[ $# -lt 1 ] && Usage # "getopt" detected an error
# Search for an AWK implementation, prefer the fastest one
: ${AWK:=`searchprog mawk || searchprog gawk || searchprog nawk || echo awk`}
LineWidth=
JoinLines=false
LeftMargin=
while [ $# -gt 0 ]
do
case "$1" in
-j) JoinLines=true;;
-l) isint "$2" || Fatal "invalid margin: $2"
LeftMargin=$2; shift;;
-o) isint "$2" || Fatal "invalid offset: $2"
LineOffset=$2; shift;;
-w) isint "$2" || Fatal "invalid line width: $2"
LineWidth=$2; shift;;
--) shift; break;;
-h) Usage;;
-*) Usage;;
*) break;; # First file name
esac
shift
done
: ${LineWidth:=$DEFWIDTH}
: ${LineOffset:=$DEFOFFSET}
: ${LeftMargin:=$DEFMARGIN}
$AWK '
BEGIN {
WORDSEP = " "
WORDSEPLEN = length (WORDSEP)
maxwidth = '"$LineWidth"'
if ( "'"$JoinLines"'" == "true" ) joinlines = 1; else joinlines = 0;
line = ""
offset = '"$LineOffset"'
margin = '"$LeftMargin"'
if ( offset >= 1 ) indent = sprintf ("%*s", offset, " ")
if ( margin >= 1 ) leftmargin = sprintf ("%*s", margin, "")
}
{
# Special handling: preserve leading whitespace characters
if ( line == "" ) {
for ( i=1; i<length($0); ++i ) {
c = substr ($0, i, 1)
if ( c != " " && c != " " ) break
}
if ( i > 1 ) line = substr ($0, 1, i-1)
}
for ( i=1; i<=NF; ++i ) {
newlen = length (line) + length ($i)
if ( line != "" ) newlen += WORDSEPLEN
if ( newlen > maxwidth ) {
print leftmargin line
line = indent $i
} else {
if ( line != "" ) line = line WORDSEP
line = line $i
}
}
# No joining of lines: print the current line immediately
if ( !joinlines || NF == 0 ) {
print leftmargin line
if ( line != "" && NF == 0 ) print "" # preserve empty line
line = ""
}
}
END {
if ( line != "" ) {
print leftmargin line
}
}
' "$@"
~/dev/conkyhelper.rbCode:import feedparser
from sys import stdout
d=feedparser.parse("https://username:password@gmail.google.com/gmail/feed/atom")
stdout.write(str(len(d['entries'])))
~/dev/conkyblogCode:#!/usr/bin/ruby
require 'fileutils'
num = STDIN.read.to_i
if num > 0
outfile = File.new("/tmp/.gmailnew", "w")
outfile.puts(num)
outfile.close
else
FileUtils.rm_f('/tmp/.gmailnew')
end
countfile = File.new("/tmp/.gmailcount", "w")
countfile.puts(num)
countfile.close
~/dev/conkybloglines.rbCode:#!/bin/bash
curl 'http://rpc.bloglines.com/update?user=EMAIL_ADDRESS&ver=1' | sed 's/|//g' | ~/dev/conkybloglines.rb
Code:#!/usr/bin/ruby
require 'fileutils'
num = STDIN.read.to_i
if num > 0
outfile = File.new("/tmp/.blognew", "w")
outfile.puts(num)
outfile.close
else
FileUtils.rm_f('/tmp/.blognew')
end
countfile = File.new("/tmp/.blogcount", "w")
countfile.puts(num)
countfile.close
Here's mine. I patched it together from a few I've read and tweaked the temps to get the sensors to display right:
Code:# conky configuration
# set to yes if you want Conky to be forked in the background
background yes
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=8
#xftfont Terminus:size=8
xftfont Arial:size=9
# Text alpha when using Xft
xftalpha 0.8
# Print everything to console?
# out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 1.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_hints undecorated,below,skip_taskbar,sticky
#own_window_hints undecorated,below,sticky
background yes
own_window_colour blue
own_window_transparent yes
#own_window_type desktop
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 50 5
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 3
# border margins
border_margin 9
# border width
border_width 10
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 35
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
#Note: doesn't work in conky 1.2 =(
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# Possible variables to be used:
#
# Variable Arguments Description
# addr (interface) IP address for an interface
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# alignr (num) Right-justify text, with space of N
# alignc Align text to centre
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# cpugraph (height),(width) (gradient colour 1) (gradient colour 2)
# CPU usage graph, with optional colours in hex,
# minus the #.
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# downspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
# Download speed graph, colours defined in
# hex, minus the #.
# exec shell command Executes a shell command and displays
# the output in conky. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execbar shell command Same as exec, except if the first value
# return is a value between 0-100, it
# will use that number for a bar.
# The size for the bar is currently fixed,
# but that may change in the future.
# execgraph shell command Same as execbar, but graphs values
# execi interval, shell command
# Same as exec but with specific interval.
# Interval can't be less than
# update_interval in configuration.
# font font Specify a different font. Only applies
# to one line.
# fs_bar (height), (fs)Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or
# temp/tempf (first in C, second in F)
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# if_running (process) if PROCESS is running, display
# everything if_running and the matching $endif
# if_existing (file) if FILE exists, display everything between
# if_existing and the matching $endif
# if_mounted (mountpoint) if MOUNTPOINT is mounted, display everything between
# if_mounted and the matching $endif
# else Text to show if any of the above are not true
# kernel Kernel version
# linkstatus (interface) Get the link status for wireless connections
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
#
# metar_ob_time
# metar_temp
# metar_tempf Temp in F
# metar_windchill
# metar_dew_point There are a bunch of these
# metar_rh and they are self-explanatory
# metar_windspeed
# metar_winddir
# metar_swinddir
# metar_cloud
# metar_u2d_time
#
# ml_upload_counter total session upload in mb
# ml_download_counter total session download in mb
# ml_nshared_files number of shared files
# ml_shared_counter total session shared in mb, buggy
# in some mldonkey versions
# ml_tcp_upload_rate tcp upload rate in kb/s
# ml_tcp_download_rate tcp download rate in kb/s
# ml_udp_upload_rate udp upload rate in kb/s
# ml_udp_download_rate udp download rate in kb/s
# ml_ndownloaded_files number of completed files
# ml_ndownloading_files number of downloading files
#
# mpd_artist Artist in current MPD song
# (must be enabled at compile)
# mpd_album Album in current MPD song
# mpd_bar (height) Bar of mpd's progress
# mpd_bitrate Bitrate of current song
# mpd_status Playing, stopped, et cetera.
# mpd_title Title of current MPD song
# mpd_vol MPD's volume
# mpd_elapsed Song's elapsed time
# mpd_length Song's length
# mpd_percent Percent of song's progress
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# conky displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# offset pixels Move text over by N pixels
# tail logfile, lines (interval)
# Displays last N lines of supplied text
# text file. If interval is not supplied,
# Conky assumes 2x Conky's interval.
# Max of 30 lines.
# Max of 30 lines can be displayed.
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before conky
# has started.
# top type, num This takes arguments in the form:
# top <name> <number>
# Basically, processes are ranked from
# highest to lowest in terms of cpu
# usage, which is what <num> represents.
# The types are: "name", "pid", "cpu", and
# "mem".
# There can be a max of 10 processes listed.
# top_mem type, num Same as top, except sorted by mem usage
# instead of cpu
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# upspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
# Upload speed graph, colours defined in
# hex, minus the #.
# uptime Uptime
# 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
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
${color }$nodename ${hr}
${color #9fb6cd}${time %a, } $alignr${color }${time %e %B %G}
${color #9fb6cd}${time %Z, }$alignr${color }${time %H:%M:%S}
${color #9fb6cd}UpTime: $alignr${color }$uptime
${color #9fb6cd}Kernel:$alignr${color }$kernel
${color #9fb6cd}ATi:${color }$alignr${execi 3600 fglrxinfo | tail -n2 | tail -c19}
${color #9fb6cd}CPU:${color } $alignr$cpu% ${i2c 1-002d temp 2} C
${cpugraph 20,130 000000 ffffff}
${color #9fb6cd}Load: $alignr${color }$loadavg
${color #9fb6cd}Processes: $alignr${color }$processes
${color #9fb6cd}Running: $alignr${color }$running_processes
${color #9fb6cd}Highest CPU:
${color #ddaa00} ${top name 1}$alignr${top_mem cpu 1}
${color lightgrey} ${top name 2}$alignr${top cpu 2}
${color lightgrey} ${top name 3}$alignr${top cpu 3}
${color lightgrey} ${top name 4}$alignr${top cpu 4}
${color #9fb6cd}Highest MEM:
${color #ddaa00} ${top_mem name 1}$alignr${top_mem mem 1}
${color lightgrey} ${top_mem name 2}$alignr${top_mem mem 2}
${color lightgrey} ${top_mem name 3}$alignr${top_mem mem 3}
${color lightgrey} ${top_mem name 4}$alignr${top_mem mem 4}
${color #9fb6cd}MEM: $alignr${color } $memperc% $mem/$memmax
${membar 3,100}
${color #9fb6cd}SWAP: $alignr${color }$swapperc% $swap/$swapmax
${swapbar 3,100}
${color #9fb6cd}ROOT: $alignr${color }${fs_free /}/${fs_size /}
${fs_bar 3,100 /}
${color #9fb6cd}PHAT32: $alignr${color }${fs_free /media/phat32}/${fs_size /media/phat32}
${fs_bar 3,100 /media/phat32}
${color #9fb6cd}NET (${color}${addr eth1}${color #9fb6cd}):
${color}Up: ${color }$alignr${upspeed eth1} kB/s
${upspeedgraph eth1 20,130 000000 ffffff}
${color}Total: $alignr${totalup eth1}
${color}Down: ${color }$alignr${downspeed eth1}kB/s${color}
${downspeedgraph eth1 20,130 000000 ffffff}
${color}Total: $alignr${totaldown eth1}
here's mine below.
http://img241.imageshack.us/img241/6849/conkyru9.th.png
i'm going to move uptime from CPU to System :| conky can drive you crazy, or at least take up alot of time!Code:# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft no
# Update interval in seconds
update_interval 2.0
# Minimum size of text area
# minimum_size 250 5
# Draw shades?
draw_shades no
# Text stuff
draw_outline yes # amplifies text if yes
draw_borders no
font arial
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 3
# border margins
border_margin 9
# border width
border_width 10
# Default colors and also border colors, grey90 == #e5e5e5
default_color grey
own_window_colour brown
own_window_transparent yes
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 10
gap_y 10
# stuff after 'TEXT' will be formatted on screen
TEXT
$color
${color #88ECE0}SYSTEM ${hr 2}$color
$nodename $sysname $kernel on $machine
${color #88ECE0}CPU ${hr 2}$color
${freq}MHz Load: ${loadavg} Uptime: ${uptime}
${color}Core 1 Usage:$color ${alignc} ${cpu cpu1}% ${color}${cpubar cpu1}
${color}Core 2 Usage:$color ${alignc} ${cpu cpu2}% ${color}${cpubar cpu2}
${cpugraph 000000 DFEC88}
NAME PID CPU% MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color #88ECE0}MEMORY / DISK ${hr 2}$color
RAM: $memperc% ${membar 6}$color
Swap: $swapperc% ${swapbar 6}$color
Root: ${fs_free_perc /}% ${fs_bar 6 /}$color
Home: ${fs_free_perc /home}% ${fs_bar 6 /home}$color
${color}DiskI/O:${color}${diskio}
${diskiograph 000000 88D5EC}
${color #88ECE0}NETWORK (${addr eth0}) ${hr 2}$color
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
25,140 000000 00ff00}$color
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
${execi 12 netstat -e -p -t | grep ESTABLISHED | cut -c45-68,80-86,102-140}
${color #88ECE0}WEATHER ${hr 2}$color
${execi 1800 /home/iceni/scripts/weather.sh UKXX0085}
${color #88ECE0}Newsforge ${hr 2}$color
${execi 300 /home/iceni/scripts/conky-rss.sh}
${color #88ECE0}SecurityFocus News ${hr 2}$color
${execi 300 /home/iceni/scripts/conky-rss2.sh}
${color #88ECE0}Linux-Tutorial ${hr 2}$color
${execi 300 /home/iceni/scripts/conky-rss3.sh}
${color #88ECE0}UK News ${hr 2}$color
${execi 300 /home/iceni/scripts/conky-rss4.sh}
http://www.ubuntuforums.org/attachme...6&d=1161470797
if you need to remember the import command, you can just 'Ctrl-r' it and start writting import to see when you've used import in the past. you can keep pressing 'Ctrl-r' to scroll through all the times you've used it. :)
edit, just press tab to select it
http://img185.imageshack.us/img185/4...eenshotdn9.png
I haven't payed much attention to the colors yet because i'm trying to figure out how to keep the text of the top functions (memory, pid etc) aligned..i posted it in a thread but still no answer :P here's my file
Code:# maintain spacing between certain elements
use_spacer yes
# set to yes if you want tormo to be forked in the background
#background yes
use_xft yes
# Xft font when Xft is enabled
xftfont Vera-7
#xftfont Andale Mono-9
#xftfont Clean-8
#xftfont cubicfive10:pixelsize=8
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10
# Text alpha when using Xft
xftalpha 1
mail_spool $MAIL
# Update interval in seconds
update_interval 5.0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 260 5
maximum_width 260
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no # amplifies text
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 3
# border margins
border_margin 9
# border width
border_width 10
# Default colors and also border colors, grey90 == #e5e5e5
default_color grey90
default_shade_color black
default_outline_color DarkGrey
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 24
gap_y 24
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# stuff after 'TEXT' will be formatted on screen
TEXT
${color #ffcb48}$nodename$color ${color #ffcb48}$sysname $kernel on $machine$color
${color #ffffff}Sky is the limit Uptime:$uptime$color
${color #ffffff}PROCESSING$color
${color #98c2c7}CPU:$color $cpu%
${color #98c2c7}$cpubar
${color #98c2c7}${cpugraph 78af78 a3a3a3}
${color #98c2c7}NAME PID CPU% MEM%
${color #e5e5e5}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #c4c4c4}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #a3a3a3}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #828282}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color #ffcb48}DATA$color
${color #98c2c7}RAM:$color $memperc% ${color #828282${membar 6}${color #828282}
${color #98c2c7}SWAP:$color $swapperc% ${color #828282${swapbar 6}${color #828282}
${color #ffcb48}FILESYSTEM
${color #98c2c7}root /:$color ${fs_free_perc /}% $fs_free ${color #98c2c7}${fs_bar 6 /}$color
${color #98c2c7}Upload:$color ${upspeed eth0}kb/s${color #98c2c7}
Download:$color ${downspeed eth0}kb/s
${execi 60 /usr/bin/pymetar LPPT}
Alrighty, I finally got it mostly the way I want; I still end up hunting for new things that I might want to add; but no big deal.
The only thing I gotta say, is WOW is it addictive to play around with these configurations and settings, it's great! Pretty simple layout, I took the base from one of the posts in here, modified some of the stuff that I wanted displayed, colors, etc, but this works for me.
Code:# Conky configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# The additions to this config require curl and xsltproc be installed
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# set to yes if you want Conky to be forked in the background
#background yes
# Use Xft?
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?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 1.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
#own_window yes
# If own_window is yes, you may use type normal, desktop or override
own_window_type override
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
#own_window_colour black
# If own_window is yes, these window manager hints may be used
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Max window size
maximum_width 300
# Minimum size of text area
minimum_size 280 5
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 0
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 5
gap_y 5
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /opt/seti
# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
#min_port_monitors 16
# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
#min_port_monitor_connections 256
# none, xmms, bmp, audacious, infopipe (default is none)
#xmms_player none
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
$color
${color #246eb5}SYSTEM ${hr 2}$color
${time %e %B %G} ${alignr}${time %H:%M}
${color #246eb5}Core:$color ${execi 1000 cat /proc/cpuinfo | grep 'model name' | cut -c 21-31} 2800+ 1.6GHz
${color #246eb5}Host:$color $nodename
${color #246eb5}Kernel:$color $kernel
${color #246eb5}Uptime:$color $uptime
${color #246eb5}POWER ${hr 2}$color
${color #246eb5}Adapter Stat:$color ${acpiacadapter} ${color #246eb5}${alignr}Battery Info:$color ${battery}
${color #246eb5}CPU ${hr 2}$color
${color #246eb5}Speed:$color ${freq}MHz ${color #246eb5}Load:$color ${loadavg} ${color #246eb5}${alignr}CPU Temp:$color ${acpitemp}
$cpubar
${cpugraph 000000 ffffff}
${color #246eb5}NAME PID CPU% MEM%$color
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color #246eb5}MEMORY / DISK ${hr 2}$color
RAM: $memperc% ${membar 6}$color
$mem of $memmax
Swap: $swapperc% ${swapbar 6}$color
$swap of $swapmax
HDA: ${fs_free_perc /}% ${fs_bar 6 /}$color
${color #246eb5}Total:$color ${fs_used /} ${color #246eb5}${alignc}Free:$color ${fs_free /} ${color #246eb5}${alignr}Used:$color ${fs_used /}
${color #246eb5}NETWORK (${addr ppp0}) ${hr 2}$color
${downspeedgraph ppp0 25,140 000000 ff0000} ${alignr}${upspeedgraph ppp0
25,140 000000 00ff00}$color
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
${color #246eb5}Inbound Connection ${alignr} Local Service/Port$color
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
${color #246eb5}Outbound Connection ${alignr} Remote Service/Port$color
${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
${color #246eb5}SYSTEM LOGS ${hr 2}$color
${color #246eb5}Messages:$color
${execi 10 /usr/bin/tail -n 4 /var/log/messages | cut -c 27-}
${color #246eb5}Security:$color
${execi 10 /usr/bin/tail -n 5 /var/log/auth.log | cut -c 27-}
Here's my first pass at setting it up...
http://farm1.static.flickr.com/160/3...a06bc4.jpg?v=0
Code:# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background yes
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
font 7x13
#font 8x13
#font 9x15
#font 10x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft no
# 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?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 1.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window no
# If own_window is yes, you may use type normal, desktop or override
own_window_type normal
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
own_window_colour hotpink
# If own_window is yes, these window manager hints may be used
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 280 5
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders yes
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 1
# border margins
border_margin 4
# border width
border_width 0
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 12
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
#font Sans
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /opt/seti
# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
#min_port_monitors 16
# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
#min_port_monitor_connections 256
# none, xmms, bmp, audacious, infopipe (default is none)
#xmms_player none
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
${alignc}$nodename | $kernel
$stippled_hr
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}CPU Temp:${color #ffffff} ${acpitempf}F ${color lightgrey}Usage:${color #ffffff} $cpu% ${cpubar}
${color white}${cpugraph ffffff ff9900}
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes
$color$stippled_hr
${color lightgrey}Networking:${alignc}${color #ff9900}${addr eth1}
${color lightgrey}Down: ${color #ff9900}${downspeedf eth1} ${color white}k/s ${alignr}${color lightgrey}Up: ${color #0000ff}${upspeedf eth1} ${color white}k/s
${color white}${downspeedgraph eth1 32,175 ffffff ff9900} ${color white}${upspeedgraph eth1 32,175 ffffff 0000ff}
$color$stippled_hr
${color lightgrey}File Systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar /}
$color$stippled_hr
${color lightgrey}Name PID CPU% MEM%
${color #ff9900}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
$stippled_hr
${color lightgrey}Mem usage
${color #ff9900}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
$stippled_hr
${color lightgrey}Netstat
${color}${execi 12 netstat -e -p -t | grep --max-count=9 ESTABLISHED | cut -c45-68,80-86,102-140}
http://splenetic.info/screenshots/sc...e2-1_thumb.png
Made this with some help from the original sample config, some hints from this thread, and some lookups in the conky documentation :)
Code:# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_hints undecorated,below,skip_taskbar
background yes
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft yes
# Update interval in seconds
update_interval 3.0
maximum_width 143 5
minimum_size 143 5
# Draw shades?
draw_shades yes
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 4
# border margins
border_margin 2
# border width
border_width 1
# Default colors and also border colors, grey90 == #e5e5e5
default_color white
default_shade_color black
default_outline_color white
#own_window_colour brown
own_window_transparent yes
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 2
gap_y 20
# stuff after 'TEXT' will be formatted on screen
override_utf8_locale no
xftfont Terminus:size=8
xftalpha 0.8
TEXT
${offset 0}${color white}uptime: ${color }$uptime
${offset 0}${color white}kernel: ${color }$kernel
${offset 0}${color white}battery:${color } ${battery}
${offset 0}${color white}fan: ${ibm_fan}rpm
${offset 0}${color white}temp:
${offset 0}${color white} hda: ${hddtemp /dev/hda}
${offset 0}${color white} c1: ${ibm_temps 1}C
${offset 0}${color white} c2: ${ibm_temps 2}C
${offset 0}${color white} gpu: ${ibm_temps 3}C
${offset 0}${color white} cpu: ${ibm_temps 0}C
${offset 0}${color white}cpu:${color } $cpu%
${offset 0}${cpugraph 20,130 cccccc ffffff}
${offset 0}${color white}load: ${color }$loadavg
${offset 0}${color white}processes: ${color }$processes
${offset 0}${color white}running: ${color }$running_processes
${offset 0}${color white}top cpu time:
${offset 0}${color #ddaa00} ${top name 1}${top_mem cpu 1}
${offset 0}${color white} ${top name 2}${top cpu 2}
${offset 0}${color white} ${top name 3}${top cpu 3}
${offset 0}${color white} ${top name 4}${top cpu 4}
${offset 0}${color white}top mem:
${offset 0}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${offset 0}${color white} ${top_mem name 2}${top_mem mem 2}
${offset 0}${color white} ${top_mem name 3}${top_mem mem 3}
${offset 0}${color white} ${top_mem name 4}${top_mem mem 4}
${offset 0}${color white}ram:
${color }$memperc% $mem/$memmax
${offset 0}${membar 3,100}
${offset 0}${color white}swap:
${color }$swapperc% $swap/$swapmax
${offset 0}${swapbar 3,100}
${offset 0}${color white}root:
${color }${fs_free /}/${fs_size /}
${offset 0}${fs_bar 3,100 /}
${offset 0}${color white}net:
${offset 0}${color} wlan signal: ${color }${linkstatus eth1}%
${offset 0}${color} ip: ${addr eth1}
${offset 0}${color}up: ${color }${upspeed eth1} k/s
${offset 0}${upspeedgraph eth1 20,130 000000 ffffff}
${offset 0}${color}down: ${color }${downspeed eth1}k/s${color}
${offset 0}${downspeedgraph eth1 20,130 000000 ffffff}
My conky has the bar across the top. How do I get rid of that? Every screenshot I see doesn't have the bar.
*edit:
Never mind, using fluxbox, just loaded it in to startup, and logged out and back in.
Nice stuff!!!
Code:# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-35-*-*-*-*-*-*-*
# Use Xft?
use_xft no
# Set conky on the bottom of all other applications
#on_bottom yes
# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=10
# Text alpha when using Xft
#xftalpha 0.15
# Print everything to stdout?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 5.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
# If own_window is yes, you may use type normal, desktop or overide
own_window_type normal
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
#own_window_colour
# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer no
# Minimum size of text area
minimum_size 280 5
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 8 no
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 28
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /opt/seti
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
Athlon XP 2600+ Barton @ ${freq}MHz Load: $cpu% Uptime: $uptime
$cpubar
${cpugraph}$color
${color}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
${color}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
${color}Processes:$color $processes ${color}Running:$color $running_processes
${color}Networking:
Down:${color} ${downspeed eth0} k/s${color} ${offset 80}Up:${color} ${upspeed eth0} k/s
${color}${downspeedgraph eth0 32,150 88aadd 88aaee} ${color}${upspeedgraph eth0 32,150 88aadd 88aaee}
${color}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar /}
/home $color${fs_used /home}/${fs_size /home} ${fs_bar /home}
${color}Name PID CPU% MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color}Mem usage
${color lightgrey} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
using one already posted. Thanks whoever posted that :)
I lifted a bit of conky code here and a bit there to put this together. I still want to adjust the colors some to keep the text readable when the backgrounds switch.
A shout out for Deviantart.com for killer artists and wallpaper.Code:# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background yes
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Set conky on the bottom of all other applications
own_window_hints below
# Xft font when Xft is enabled
xftfont Sans:style=Bold:size=10
# Text alpha when using Xft
xftalpha 1
# Print everything to stdout?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 1qq
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_hints undecorated,below,skip_taskbar
own_window_type override
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
#own_window_colour hotpink
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 280 5
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 8
# border margins
border_margin 10
# border width
border_width 10
# Default colors and also border colors
#default_color white
#default_shade_color black
#default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 40
gap_y 40
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 1
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 1
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none
# boinc (seti) dir
# seti_dir /opt/seti
# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
min_port_monitors 16
# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
min_port_monitor_connections 256
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
${color black}$sysname $kernel On: $machine - $nodename
$hr
Uptime: $uptime
$hr
${color black}Load Average: ${color 26466D}$loadavg%
${color black}CPU: ${color 26466D}$cpu% ${freq} MHz
${color black}RAM: ${color 26466D}$memperc% ${mem}B / ${memmax}B$color
${color black}Swap: ${color 26466D}$swapperc% ${swap}B / ${swapmax}B${color black}
$hr
${color black}Internet/Networking Status: (${addr eth0})${color black}
Down: ${color 26466D}${downspeedf eth0}k/s ${color black}${alignr}Up: ${color 26466D}${upspeedf eth0}k/s${color black}
${downspeedgraph eth0 25,180 000000 e7fb16} ${alignr}${upspeedgraph eth0
25,180 000000 0effe2}
$hr
${color black}CPU Usage PID CPU% MEM%
${color black} ${top name 1} ${color 26466D}${top pid 1} ${top cpu 1} ${top mem 1}
${color black} ${top name 2} ${color 26466D}${top pid 2} ${top cpu 2} ${top mem 2}
${color black} ${top name 3} ${color 26466D}${top pid 3} ${top cpu 3} ${top mem 3}
${color black}$hr
${color black}Mem Usage
${color black} ${top_mem name 1} ${color 26466D}${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color black} ${top_mem name 2} ${color 26466D}${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color black} ${top_mem name 3} ${color 26466D}${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color black}$hr
${color black}HD IO: ${color 26466D}${diskio}
${color black}${diskiograph 000000 0077ff}
${color black}Hard Drives:
${color black} Root ${color 26466D}${fs_used /}/${fs_size /}${alignr}${color black}${fs_bar 5,120 /}
${color black} Home ${color 26466D}${fs_used /home}/${fs_size /home}${alignr}${color black}${fs_bar 5,120 /home}
${color black}$hr
${color black}FORTUNE ${hr 2}$color
${execi 120 fortune -s | fold -w50}
total n00b here.
my .conkyrc uses two scripts which i've frankensteined from various persons posting to this thread (see attached):
one for a calendarand another for weather
i have a few things left to do, and would be most grateful were someone willing to advise me.
first, i'd like to indent the complete output of a script, if possible. any indentation, tabbing, aligning et al of the calendar script, for example, only affects the first line, and the script file itself is, at present, beyond my abilities to manipulate to my visual satisfaction.
second, i'd like to include xml text from google calendar, most likely by way of an rss script. a direct call to google calendar xml via the rss script(s) posted in this thread displays in one single looooooooong line, however, which leads me to believe that a stylesheet is necessary. alas, stylesheets too are beyond my humble means.
calendar stuff is important to me because i'm using xubuntu, and the calendar function therein (orage) is ... ... ... still in development, it seems.
any help will be greatly appreciated. thanks!
http://img368.imageshack.us/img368/7430/conkyai6.jpg
http://tn3-1.deviantart.com/fs15/300...y_crooksey.jpgCode:###########################
# Crooksey's conky configuration
###########################
background yes
use_xft yes
xftfont verdana-8
xftalpha 0.8
double_buffer yes
update_interval 1.0
own_window no
draw_shades no
draw_borders no
stippled_borders no
gap_x 1
gap_y 1
no_buffers yes
uppercase no
xmms_player xmms
on_bottom yes
maximum_width 350
#
TEXT
$nodename - $sysname $kernel on x86 [$freq_dyn_g Ghz]
$stippled_hr
${color grey}Time $color ${time %d/%m/%y - %H:%M} ${color grey}Uptime$color $uptime
$stippled_hr
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${alignr}${membar 6,120}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${alignr}${swapbar 6,120}
$stippled_hr
${color grey}Disks:
${color grey} Root :$color ${fs_used /}/${fs_size /} ${alignr}${fs_bar 6,120 /}
${color grey} Home :$color ${fs_used /home}/${fs_size /home} ${alignr}${fs_bar 6,120 /home}
$stippled_hr
${color grey}CPU Usage:$color $cpu% ${alignr}${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
${cpugraph cpu0 25}
$color$stippled_hr
${color grey}eth0: Up:$color ${upspeed eth0}KB/s - ${totalup eth0} ${color grey} - Down:$color ${downspeed eth0}KB/s - ${totaldown eth0}
Up ${alignr}Down
${upspeedgraph eth0 20,150} ${downspeedgraph eth0 20,150}
$stippled_hr
this is mine , still workin on it but so far so good
gmail scrips from Brohan (thx)
http://www.ubuntuforums.org/showpost...5&postcount=61
Code:double_buffer yes
update_interval 3.0
background no
own_window yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
use_xft yes
override_utf8_locale yes
xftfont Comic Sans Ms Mono:size=7
xftalpha 0.8
draw_shades no
draw_outline yes
draw_borders no
uppercase no
use_spacer yes
border_margin 9
border_width 9
default_color white
default_shade_color black
default_outline_color black
alignment top_right
minimum_size 200
gap_x 9
gap_y 9
TEXT
${alignc}${time %I:%M %p}, ${time %a}., ${time %b. %e}, ${time %G}
${alignc}Ubuntu Linux $kernel
${alignc}hostname $nodename at ${addr eth1}
${alignc}$uptime uptime
${alignc}${texeci 60 python ~/.gmail.py | ~/dev/conkyhelper.rb}${color }gmail berichten: ${if_existing /tmp/.gmailnew}${color yellow}$endif${exec cat /tmp/.gmailcount}
$color$stippled_hr
${color}CPU gebruik: ${alignr}$cpu%
${cpugraph 20,200 000000 ff00ff}
load averages: ${alignr}$loadavg
$color$stippled_hr
processen: ${alignr}$running_processes of $processes running
hoogst CPU gebruik:
${color yellow} ${top name 1}${alignr}${top cpu 1}
${color}${top name 2}${alignr}${top cpu 2}
${top name 3}${alignr}${top cpu 3}
${top name 4}${alignr}${top cpu 4}
$color$stippled_hr
hoogst geheugen gebruik:
${color yellow} ${top_mem name 1}${alignr}${top_mem mem 1}
${color}${top_mem name 2}${alignr}${top_mem mem 2}
${top_mem name 3}${alignr}${top_mem mem 3}
${top_mem name 4}${alignr}${top_mem mem 4}
$color$stippled_hr
Resources:
geheugen gebruik: ${alignr}${memperc}% (${mem}b/${memmax}b)
${membar 3,200}
swap gebruik: ${alignr}${swapperc}% (${swap}b/${swapmax}b)
${swapbar 3,200}
$color$stippled_hr
root vrij: ${alignr}${fs_free_perc /}% (${fs_free /}b/${fs_size /}b)
${fs_bar 3,200 /}
home vrj: ${alignr}${fs_free_perc /home}% (${fs_free /home}b/${fs_size /home}b)
${fs_bar 3,200 /home}
muziek vrij: ${alignr}${fs_free_perc /media/muziek}% (${fs_free /media/muziek}b/${fs_size /media/muziek}b)
${fs_bar 3,200 /media/muziek}
film vrij: ${alignr}${fs_free_perc /media/film}% (${fs_free /media/film}b/${fs_size /media/film}b)
${fs_bar 3,200 /media/film}
documenten vrij: ${alignr}${fs_free_perc /media/documenten}% (${fs_free /media/documenten}b/${fs_size /media/documenten}b)
${fs_bar 3,200 /media/documenten}
$color$stippled_hr
${color }netwerk (${addr eth1})
Down: $color${downspeed eth1} k/s ${alignr}Up: ${upspeed eth1} k/s
${downspeedgraph eth1 20,100 000000 ff0000} ${alignr}${upspeedgraph eth1
20,100 000000 00ff00}$color
Total: ${totaldown eth1} ${alignr}Total: ${totalup eth1}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
$color$stippled_hr
${alignc}${color yellow}www.dorstmuziek.nl