PDA

View Full Version : Post your .conkyrc files w/ screenshots



Pages : [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94

Dylan103
October 21st, 2006, 11:44 PM
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.

Anonii
October 21st, 2006, 11:46 PM
My conkyrc:


# 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}

kerry_s
October 22nd, 2006, 12:39 AM
# 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}

kerry_s
October 22nd, 2006, 01:09 AM
Okay Dylan103, i went down your list of what you want and made one for ya.->


# 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}

tturrisi
October 22nd, 2006, 01:52 PM
.conky_wifi

#!/bin/sh
/sbin/iwconfig ath0|grep Rate|cut -d"M" -f1|cut -b20-24
.conkyrc

# 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

Spano
October 22nd, 2006, 05:07 PM
This is a great idea for a thread.



# 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}

OffHand
October 22nd, 2006, 06:29 PM
# 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}

Dylan103
October 22nd, 2006, 08:10 PM
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.

BOBSONATOR
October 22nd, 2006, 08:11 PM
Where is the conky.rc file?

Great thread guys!

tturrisi
October 22nd, 2006, 08:57 PM
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.

benplaut
October 22nd, 2006, 10:03 PM
We've got a bunch built up here:
http://bbs.archlinux.org/viewtopic.php?t=26162

Hase
October 29th, 2006, 07:36 PM
Anyone have one that shows current XMMS status?

OffHand
October 29th, 2006, 08:02 PM
Anyone have one that shows current XMMS status?

http://conky.sourceforge.net/variables.html

shining
October 29th, 2006, 08:11 PM
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.

PapaWiskas
October 30th, 2006, 03:30 AM
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.

Man....I want that wallpaper. That is cool shining, could you send me a PM of where I can get it?

ephman
October 30th, 2006, 03:31 AM
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

shining
October 30th, 2006, 01:49 PM
Man....I want that wallpaper. That is cool shining, could you send me a PM of where I can get it?

I downloaded it as tux-019-1024x768.jpg
Google for this :)

pichalsi
October 30th, 2006, 11:06 PM
10/10 thread, i will post mine when i finish twearking it

FreakinSyco
October 31st, 2006, 06:09 PM
This is a fantastic little program.. I do have one question My text is rather blinky on updates.. Any way to limit the blinking?

OffHand
October 31st, 2006, 06:35 PM
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:


# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

Open up the Xorg configuration file (usually /etc/X11/xorg.conf) with your favourite text editor, and find the line that says:
Section "Module"
Then, after that line, add:
Load "dbe"
Restart Xorg (my preferred method is the good-ole control+alt+backspace) and enjoy.

shining
October 31st, 2006, 06:35 PM
This is a fantastic little program.. I do have one question My text is rather blinky on updates.. Any way to limit the blinking?

You need to enable double buffering both in conkyrc (double_buffer yes) and in xorg.conf (Load "dbe" in Section "Module")

FreakinSyco
October 31st, 2006, 07:21 PM
You need to enable double buffering both in conkyrc (double_buffer yes) and in xorg.conf (Load "dbe" in Section "Module")

Fantastic fix! Thanks!

sibrand
November 13th, 2006, 12:59 AM
http://img379.imageshack.us/img379/2282/ubu5ys0.th.jpg (http://img379.imageshack.us/my.php?image=ubu5ys0.jpg)

It's based on one of the demo-configs on the conky-website. ;)

roadboy
November 17th, 2006, 08:05 AM
http://i15.tinypic.com/40m2wbc.png

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}

adam.tropics
November 17th, 2006, 08:47 AM
The conkyrc is a bit of a mess, but it all works.


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"}

Obor
November 17th, 2006, 12:58 PM
http://ubuntuforums.org/gallery/data/500/conky1.jpg


# 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}

girishv
November 17th, 2006, 01:47 PM
Hi friends,

Here is my conky setup. Everything written in text in the screenshot on the left hand side is by connky.

Girish

tommyhot
November 20th, 2006, 08:46 PM
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 (http://img116.imageshack.us/my.php?image=obrazovka1wy1.png)


# 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}

towsonu2003
November 20th, 2006, 09:22 PM
# 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

-=Ghostlike=-
November 21st, 2006, 11:06 AM
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

phaedOne
November 28th, 2006, 06:20 AM
background: request_gray_1920.jpg
dock: kiba-dock
theme: murrinaAquaish (for murrina-engine-gtk)
icons: gorilla
stats: conky

link to full res screenshot (http://photos.dcstealthy.com/phaedrus/Screenshot.png)

.conkyrc



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}

email
${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

chaosgeisterchen
November 28th, 2006, 07:44 AM
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.

phaedOne
November 28th, 2006, 10:21 PM
np. just did. cant stand the file size restriction on png tho. makes it impossible to upload a 1440x900 screens.

~LoKe
November 28th, 2006, 10:34 PM
# 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-}

http://pixjet.net/img/67eb4fa4269f63d7a7647bb2297b30b9/t11-27-06%2C%201.png (http://pixjet.net//img/67eb4fa4269f63d7a7647bb2297b30b9/11-27-06%2C%201.png)

John.Michael.Kane
December 6th, 2006, 06:57 PM
Heres mine..


# 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}

http://img418.imageshack.us/img418/1025/screen4ij9.th.jpg (http://img418.imageshack.us/my.php?image=screen4ij9.jpg)

xopher
December 6th, 2006, 07:25 PM
Nice thread indeed :) I've been searching for a nice conky config -- and I believe I'll find one here. Thanks all! ;)

marx2k
December 12th, 2006, 11:01 PM
# 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}

marx2k
December 13th, 2006, 04:06 AM
Heres an update for my Conky config --


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}

deethree
December 13th, 2006, 11:15 AM
OK, I get everything posted execpt the weather sections people are using? </noob>

ahaslam
December 13th, 2006, 11:56 AM
Quite a simple one for me:

marx2k
December 13th, 2006, 06:52 PM
Anthony Haslam, I love the LCD look of your conky.


OK, I get everything posted execpt the weather sections people are using? </noob>

# 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)

ahaslam
December 14th, 2006, 09:57 PM
Anthony Haslam, I love the LCD look of your conky.

Thanks. I can't say that I was going for an LCD look, just simplicity, but I see it now ;)

Tony.

marx2k
December 15th, 2006, 01:44 AM
It would be even cooler if you could throw a drop shadow on the text and have it still be readable (probably impossible)

ahaslam
December 17th, 2006, 01:02 AM
It would be even cooler if you could throw a drop shadow on the text and have it still be readable (probably impossible)
You could change the default text colour ;)

Tony.

K.Mandla
December 17th, 2006, 06:51 PM
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.


http://img353.imageshack.us/img353/6089/screenshotqm3.th.jpg (http://img353.imageshack.us/my.php?image=screenshotqm3.jpg)

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.


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}
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.

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. [-(

bugz0r
December 17th, 2006, 07:03 PM
How can I get conky to look like this, font and all?

K.Mandla
December 17th, 2006, 07:16 PM
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.

ahaslam
December 17th, 2006, 08:49 PM
http://img353.imageshack.us/img353/6089/screenshotqm3.th.jpg (http://img353.imageshack.us/my.php?image=screenshotqm3.jpg)

Very nice wallpaper & classy conky ;)

Is that your famous Openbox setup?

Tony.

blonder
December 17th, 2006, 09:44 PM
I Love this thread :)

K.Mandla
December 17th, 2006, 09:51 PM
Very nice wallpaper & classy conky ;)

Is that your famous Openbox setup?
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 ...

blonder
December 18th, 2006, 03:58 PM
I want it without the black background,how is it possible ?

John.Michael.Kane
December 18th, 2006, 05:56 PM
Post your conkyrc file blonder. Thats the only to know what errors where made.

bruenig
December 19th, 2006, 03:23 AM
# 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}

blonder
December 19th, 2006, 02:28 PM
# 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}

John.Michael.Kane
December 19th, 2006, 03:29 PM
Here you go blonder. your conky config has been edited,and tested. It is now transparent.

Copy Paste:

# 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}

blonder
December 19th, 2006, 03:50 PM
Thank you but my conkyrc was also transparent

Luggy
December 19th, 2006, 04:32 PM
http://img503.imageshack.us/img503/8494/screenshot6ct2.th.png (http://img503.imageshack.us/my.php?image=screenshot6ct2.png)

It's small and in the bottom left corner...


# 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

blonder
December 19th, 2006, 05:40 PM
How can i get the Weather zip code from Berlin/germany ?
And from where can i get the script ?

OffHand
December 19th, 2006, 06:29 PM
Thank you but my conkyrc was also transparent

Errrmmm lol :rolleyes:


I want it without the black background,how is it possible ?

blonder
December 19th, 2006, 06:36 PM
yes its now another conkyrc

brohan
December 20th, 2006, 12:23 AM
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

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/&lt;/</g'|sed 's/&gt;/>/g'|~/dev/wordwrap -w 40 > /tmp/.quote;cat /tmp/.quote}


~/dev/wordwrap

################################################## ########################
# 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
}
}
' "$@"



gmail.py

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/conkyhelper.rb

#!/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/conkyblog

#!/bin/bash
curl 'http://rpc.bloglines.com/update?user=EMAIL_ADDRESS&ver=1' | sed 's/|//g' | ~/dev/conkybloglines.rb


~/dev/conkybloglines.rb

#!/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

Jivicin
December 20th, 2006, 01:23 AM
Here's mine. I patched it together from a few I've read and tweaked the temps to get the sensors to display right:


# 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}

ice60
December 20th, 2006, 02:36 AM
here's mine below.

http://img241.imageshack.us/img241/6849/conkyru9.th.png (http://img241.imageshack.us/my.php?image=conkyru9.png)


# 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}

i'm going to move uptime from CPU to System :| conky can drive you crazy, or at least take up alot of time!

ice60
December 20th, 2006, 05:02 PM
My conkyrc:

http://www.ubuntuforums.org/attachment.php?attachmentid=17956&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

raul_
December 21st, 2006, 12:44 AM
http://img185.imageshack.us/img185/4223/conkyscreenshotdn9.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



# 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}

NeoLithium
December 24th, 2006, 03:46 AM
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.



# 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-}

DrMoxie
December 24th, 2006, 07:25 AM
Here's my first pass at setting it up...

http://farm1.static.flickr.com/160/331542476_e637a06bc4.jpg?v=0


# 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}

blonder
December 25th, 2006, 12:06 PM
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.



# 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-}


How can I change the output Colour from white to red ?

ice60
December 25th, 2006, 07:12 PM
http://img185.imageshack.us/img185/4223/conkyscreenshotdn9.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



# 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}

use_xft yes
xftfont Vera-7

hi, i think it's the two lines above which cause the misalignment. it's to do with using xftfont.

vertigo-
December 25th, 2006, 08:41 PM
http://splenetic.info/screenshots/screenshot_blue2-1_thumb.png (http://splenetic.info/screenshots/screenshot_blue2-1.png)

Made this with some help from the original sample config, some hints from this thread, and some lookups in the conky documentation :)


# 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}

BLTicklemonster
December 25th, 2006, 09:50 PM
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!!!


# 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 :)

AndrewB
December 29th, 2006, 03:05 PM
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.

# 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}

A shout out for Deviantart.com for killer artists and wallpaper.

likerice
January 1st, 2007, 10:59 PM
total n00b here.

my .conkyrc uses two scripts which i've frankensteined from various persons posting to this thread (see attached):


one for a calendar

and 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

Crooksey
January 1st, 2007, 11:06 PM
###########################
# 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


http://tn3-1.deviantart.com/fs15/300W/f/2007/001/8/1/Openbox___Arch_Jan_07_by_crooksey.jpg (http://ic1.deviantart.com/fs15/f/2007/001/8/1/Openbox___Arch_Jan_07_by_crooksey.jpg)

moos
January 4th, 2007, 10:34 PM
this is mine , still workin on it but so far so good
gmail scrips from Brohan (thx)
http://www.ubuntuforums.org/showpost.php?p=1907955&postcount=61



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

tupesadilla
January 5th, 2007, 04:36 AM
# 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 red}${sysname}
${offset 240}${color red}Machine: ${color } ${machine}
${offset 240}${color red}${time %a, } ${color }${time %e %B %G}
${offset 240}${color red}${time %Z, }${color }${time %H:%M:%S}
${offset 240}${color red}UpTime: ${color }$uptime
${offset 240}${color red}Kern:${color }$kernel
${offset 240}${color red}Intel Celeron:${color } ${freq (1)} Mhz
${offset 240}${color red}CPU:${color } $cpu% ${acpitemp}C
${offset 240}${cpugraph 20,130 000000 ffffff}
${offset 240}${color red}Load: ${color }$loadavg
${offset 240}${color red}Processes: ${color }$processes
${offset 240}${color red}Running: ${color }$running_processes

${offset 240}${color red}Highest CPU:
${offset 240}${color #ddaa00} ${top name 1}${top_mem cpu 1}
${offset 240}${color slate grey} ${top name 2}${top cpu 2}
${offset 240}${color slate grey} ${top name 3}${top cpu 3}
${offset 240}${color lightgrey} ${top name 4}${top cpu 4}

${offset 240}${color red}Highest MEM:
${offset 240}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${offset 240}${color slate grey} ${top_mem name 2}${top_mem mem 2}
${offset 240}${color slate grey} ${top_mem name 3}${top_mem mem 3}
${offset 240}${color lightgrey} ${top_mem name 4}${top_mem mem 4}

${offset 240}${color red}MEM: ${color } $memperc% $mem/$memmax
${offset 240}${membar 3,100}
${offset 240}${color red}SWAP: ${color }$swapperc% $swap/$swapmax
${offset 240}${swapbar 3,100}

${offset 240}${color red}ROOT: ${color }${fs_free /}/${fs_size /}
${offset 240}${fs_bar 3,100 /}
${offset 240}${color red}HOME: ${color }${fs_free /home}/${fs_size /home}
${offset 240}${fs_bar 3,100 /home}


${offset 240}${color red}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}

marx2k
January 11th, 2007, 10:25 PM
Here's a minimalist conky - just gives me the hard data without taking up crazy amounts of CPU time with bars and graphs.



#alignment - Aligned position on screen, may be top_left, top_right, bottom_left, bottom_right, or none
alignment bottom_left

#background - Boolean value, if true, Conky will be forked to background when started
background yes

#border_margin - Border margin in pixels
border_margin 9

#border_width - Border width in pixels
border_width 10

#cpu_avg_samples - The number of samples to average for CPU monitoring

#default_color - Default color and border color
default_color blue

#default_outline_color - Default outline color

#default_shade_color - Default shading color and border's shading color

#double_buffer - Use the Xdbe extension? (eliminates flicker) It is highly recommended to use own window with this one
#so double buffer won't be so big.
double_buffer yes

#draw_borders - Draw borders around text?
draw_borders no

#draw_graph_borders - Draw borders around graphs?

#draw_outline - Draw outlines?
draw_outline no

#draw_shades - Draw shades?
draw_shades no

#font - Font name in X, xfontsel can be used to get a nice font

#gap_x - Gap, in pixels, between right or left border of screen, same as passing -x at command line, e.g. gap_x 10
gap_x 0

#gap_y - Gap, in pixels, between top or bottom border of screen, same as passing -y at command line, e.g. gap_y 10.
gap_y 15

#imap - Default global IMAP server. Arguments are: "host user pass [-i interval] [-f folder] [-p port] [-e command]".
#Default port is 143, default folder is 'INBOX', default interval is 5 minutes. If the password is supplied as '*'
#you will be prompted to enter the password when Conky starts.

#mail_spool - Mail spool for mail checking

#max_port_monitor_connections - Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_specials - Maximum number of special things, e.g. fonts, offsets, aligns, etc. (default is 512)
#max_user_text bytes - Maximum size of user text buffer, i.e. layout below TEXT line in config file (default is 16384 bytes)

#maximum_width pixels - Maximum width of window

#minimum_size width (height) - Minimum size of window


#mpd_host - Host of MPD server
#mpd_port - Port of MPD server
#mpd_password - MPD server password

#net_avg_samples - The number of samples to average for net data

#no_buffers - Substract (file system) buffers from used memory?

#override_utf8_locale - Force UTF8? requires XFT

#own_window - Boolean, create own window to draw?
own_window yes

#own_window_transparent - Boolean, set pseudo-transparency?
own_window_transparent yes

#own_window_type - if own_window is yes, you may specify type normal, desktop or override (default: normal).
#Desktop windows are special windows that have no window decorations; are always visible on your desktop;
#do not appear in your pager or taskbar; and are sticky across all workspaces. Override windows are not under
#the control of the window manager. Hints are ignored. This type of window can be useful for certain situations.
own_window_type override

#own_window_colour colour - If own_window_transparent no, set a specified background colour (defaults to black).
#Takes either a hex value (#ffffff) or a valid RGB name (see /usr/lib/X11/rgb.txt)


#own_window_hints undecorated,below,above,sticky,skip_taskbar,skip_p ager - If own_window is yes, you may use these
#window manager hints to affect the way Conky displays. Notes: Use own_window_type desktop as another way to implement
#many of these hints implicitly. If you use own_window_type override, window manager hints have no meaning and are ignored.
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

#out_to_console - Print text to stdout.

#pad_percents - Pad percentages to this many decimals (0 = no padding)

#pop3 - Default global POP3 server. Arguments are: "host user pass [-i interval] [-p port] [-e command]".
#Default port is 110, default interval is 5 minutes. If the password is supplied as '*', you will be prompted to
#enter the password when Conky starts.

#stippled_borders - Border stippling (dashing) in pixels
stippled_borders 3

#total_run_times - Total number of times for Conky to update before quitting. Zero makes Conky run forever

#update_interval - Update interval in seconds
update_interval 1

#uppercase - Boolean value, if true, text is rendered in upper case
uppercase no

#use_spacer - Adds spaces after certain objects to stop them from moving other things around. Note that this only helps
#if you are using a mono font, such as Bitstream Vera Sans Mono.
use_spacer yes

#use_xft - Use Xft (anti-aliased font and stuff)
use_xft yes

#wm_class_name - Manually set the WM_CLASS name. Defaults to "conky".

#xftalpha - Alpha of Xft font. Must be a value at or between 1 and 0.
xftalpha 0.8

#xftfont - Xft font to use.
xftfont Bitstream Vera Sans:size=12

#${color red}[${color black}Blocked IPs${color red}]
#${color red}${execi 30 tail -n5 /var/log/moblock.log | fold -w50}

TEXT
${color red}[Commodore-64] 2.6.17-10-generic i686 GNU/Linux${color blue}${hr 1}
${color red}[${color black}Uptime${color red}:${color blue}$uptime${color red}]${color red}${color red}[${color black}Temp${color red}:${color blue}${acpitempf}F${color red}][${color black}CPU Load${color red}:${color blue}${cpu}%${color red}]${color red}[${color black}Load Average${color red}]${color blue}$loadavg
${color red}[${color black}RAM${color red}:${color blue}${mem}/${memmax}${color red}]${color red}[${color black}Swap${color red}:${color blue}${swap}/${swapmax}${color red}]${color red}[${color black}Running/Sleeping Processes${color red}:${color blue}$running_processes/$processes${color red}]
${color red}[${color black}Root${color red}:${color blue}${fs_used /}/${fs_size /}${color red}]${color red}[${color black}ISO${color red}:${color blue}${fs_used /media/hda1}/${fs_size /media/hda1}${color red}]${color red}[${color black}ISO${color red}:${color blue}${fs_used /media/hdb1}/${fs_size /media/hdb1}${color red}]${color red}[${color black}DiskIO${color red}:${color blue}${diskio}${color red}]
${color red}[${color black}TotalUp${color red}:${color blue}${totalup eth1}${color red}]${color red}[${color black}TotalDown${color red}:${color blue}${totaldown eth1}${color red}]${color red}[${color black}IPDown${color red}:${color blue}${downspeed eth1}k/s${color red}]${color red}[${color black}IPUp${color red}:${color blue}${upspeed eth1}k/s${color red}]

phaedOne
January 14th, 2007, 06:31 AM
Heres my new one. This one is horizontal. Made for screen width of 1440 .

on the screen shot notice the space between the kernel version and the word "Processors". its not really spaces but a void, the text left of that space is left aligned, and the rest is right aligned. this preserves the line's fully-justified look while allowing for small fluctuations on the string.



background yes
use_xft no
xftfont Bitstream Vera Sans:size=7
xftalpha 0.8
update_interval 0.5
own_window yesEdit/Delete Message
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_border no
draw_graph_borders yes
stippled_borders no
default_color white
default_shade_color black
alignment top_right
minimum_size 1425
maximum_width 1425
gap_y 32
gap_x 32
use_spacer no
no_buffers yes

TEXT
${color white} Ubuntu $sysname $kernel${alignr} Processors - Intel Core2 Duo - ${cpu cpu0}% ${cpugraph cpu1 8, 30 ffffff ffffff} ${cpugraph cpu2 8, 30 ffffff ffffff} | Memory - ${mem} of ${memmax} ${memgraph mem 8, 30 ffffff ffffff} | Processes - $running_processes of $processes running | HDD - ${fs_used /} of ${fs_size /} used | Wireless - ${addr eth1} - ${downspeed ra0} kbps down ${downspeedgraph eth1 8,30} ${upspeed eth1} kbps up ${downspeedgraph eth1 8,30}

truthfatal
January 14th, 2007, 08:55 AM
Mine's still being tweaked. I still want to figure out how to get all my `top` info aligned nicely.


# UBUNTU-CONKY

# 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 Hemi head 426:size=9
xftalpha 0.5

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
minimum_size 250 10

# Default color
default_color green

# Text alignment, other possible values are commented
alignment top_left

# Gap between borders of screen and text
gap_x 15
gap_y 15

# stuff after 'TEXT' will be formatted on screen

TEXT
$color
${color red}SYSTEM ${hr 2}$color
$nodename $sysname $kernel on $machine

${color red}CPU ${hr 2}$color
${freq_g}GHz Load: ${loadavg} Uptime: ${uptime}
${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}
${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}

${color red}MEMORY / DISK ${hr 2}$color
RAM: $memperc% ${membar 6}$color
Swap: $swapperc% ${swapbar 6}$color

Root: ${fs_free_perc /}% Free ${fs_bar 6 /}$color
hdb1: ${fs_free_perc /home/truthfatal/Media/Music/StreamRipped}% Free ${fs_bar 6
/home/truthfatal/Media/Music/StreamRipped}$color

${color red}NETWORK (${addr eth0}) ${hr 2}$color
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,150 000000 ff0000} ${alignr}${upspeedgraph eth0 25,150 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}

${color red}LOGGING ${hr 2}$color
${execi 30 tail -n 5 /var/log/messages | cut -c17-69}

${color red}FORTUNE ${hr 2}$color
${execi 120 fortune -s | fold -w50}

oveh
January 19th, 2007, 05:31 PM
Great thread :)

I can't get the dowspeed/upspeed graph's to work. Here's my .conkyrc:


# 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
#
#
#

# Create own window instead of using desktop (required in nautilus)
own_window yes
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 no

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
minimum_size 400 5

# 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, grey90 == #e5e5e5
default_color grey

own_window_colour white
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
ove @ $nodename $sysname $kernel on $machine
$color$stippled_hr
CPU: ${freq}MHz Load: ${loadavg} Uptime: ${uptime} Temp: ${acpitemp}
$cpubar
${cpugraph}$color
$color$stippled_hr
RAM: $memperc% ${membar 6}$color
Swap: $swapperc% ${swapbar 6}$color

Ubuntu: ${fs_free_perc /} % ${fs_bar 6 /}$color
Windows: ${fs_free_perc /media/sda5} % ${fs_bar 6 /media/sda5}$color
$color$stippled_hr
IP: ${addr eth1} Total: ${totaldown eth1} Down ${totalup eth1} Up

Down: ${downspeed eth1} k/s ${offset 110}Up: ${upspeed eth1} k/s
${downspeedgraph eth0 32,200} ${upspeedgraph eth0 32,200}

IP: ${addr eth0} Total: ${totaldown eth0} Down ${totalup eth0} Up

Down: ${downspeed eth0} k/s ${offset 110}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 32,200} ${upspeedgraph eth0 32,200}
$color$stippled_hr
${execi 300 fortune -s | fold -w67}
${execi 60 wmctrl -a conky}

K.Mandla
January 19th, 2007, 05:41 PM
You're using both eth1 and eth0.


Down: ${downspeed eth1} k/s ${offset 110}Up: ${upspeed eth1} k/s

Down: ${downspeed eth0} k/s ${offset 110}Up: ${upspeed eth0} k/s
Is that how you want it?

oveh
January 20th, 2007, 10:50 PM
Yes.
But if it's possible that conky only showed the info for the activ connection I prefered that:)

update: up and running, i will post my pic/.conkyrc when i'm finished customizing :)

update2:

conkyrc:



# 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
#
#
#

# Create own window instead of using desktop (required in nautilus)
own_window yes
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 no

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
minimum_size 400 5

# 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, grey90 == #e5e5e5
default_color grey

own_window_colour white
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
ove @ $nodename $sysname $kernel on $machine
$color$stippled_hr
cpu: ${freq}MHz load: ${loadavg} temp: ${acpitemp} uptime: ${uptime}
$cpubar
${cpugraph 000000 ffffff}
$color$stippled_hr
ram: $memperc% ${membar 6}${color}
swap: $swapperc% ${swapbar}${color}

ubuntu: ${fs_free_perc /} % ${fs_bar 6 /}
windows: ${fs_free_perc /media/sda5} % ${fs_bar 6 /media/sda5}${color}
mybook: ${fs_free_perc /media/MYBOOK} % ${fs_bar 6 /media/MYBOOK}${color}
$color$stippled_hr
eth1: ${addr eth1}

down: ${downspeed eth1} k/s ${offset 110}up: ${upspeed eth1} k/s
${downspeedgraph eth1 32,200 000000 ffffff} ${upspeedgraph eth1 32,200 000000 ffffff}
downloaded: ${totaldown eth1} ${offset 105}uploaded: ${totalup eth1}
$color$stippled_hr
${execi 300 fortune -s | fold -w67}
${execi 60 wmctrl -a conky}

$color$stippled_hr


http://bildr.no/thumb/33681.jpeg (http://bildr.no/view/33681)

thelastknowngod
January 26th, 2007, 01:12 AM
hey guys... ive been trying to set up conky the way i want it and i am sorta finished. the one thing i wanted was a calendar which i have not really seen too often. here is the script i found to do so...



#! /bin/sh
#str=`echo '\033[01;32m29'`

DATE=`date | awk -F" " '{print $3}'`

case "$1" in
first_part)
cal | grep '[a-zA-Z]';
cal | grep -v '[a-zA-Z]' | grep '[0-9]' | awk -F$DATE ' BEGIN {i=0}
($1 == $0 && i==0) {print $1}
($1 != $0 && i==0){i=i+1;print $1}';
;;
today)
echo $DATE;
;;
second_part)
cal | grep -v '[a-zA-Z]' | grep '[0-9]' | awk -F$DATE ' BEGIN {i=1}
(i==0) {print $0}
($1 != $0 && i==1){i=i-1;print $2}
';
;;
esac


when i run conky with this referenced in my .conkyrc file the numbers for the days are not in the right columns. the same goes for my listed processes and mem usage. here is my .conkyrc.



background no

cpu_avg_samples 2
net_avg_samples 2

out_to_console no

use_xft yes

xftfont Bitstream Vera Sans Mono:size=9

own_window_transparent yes

xftalpha 0.8
on_bottom yes

mail_spool $MAIL

update_interval 1.0

own_window no

double_buffer yes

draw_shades no

draw_outline no

draw_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 10
gap_y 10


use_spacer no

no_buffers no

uppercase no

TEXT
$sysname $kernel ${time %A,%d %B}
$stippled_hr
${color lightgrey}Time:$color ${time %k:%M:%S}
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}CPU1 Usage:${color} ${cpu cpu1}% ${cpubar cpu1}
${color lightgrey}CPU2 Usage:${color} ${cpu cpu2}% ${cpubar cpu2}
${color #4F6B93}${cpugraph 25 8098ff ffc7ea}
${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:
${offset 10}Down:${color #a9c7ea} ${downspeed eth0} k/s${color lightgrey} ${alignr}Up:${color #a9c7ea} ${upspeed eth0} k/s
${offset 10}${color #4F6B93}${downspeedgraph eth0 25,100 8098ff ffc7ea} ${alignr}${color #4F6B93}${upspeedgraph eth0 25,100 8098ff ffc7ea}
${offset 10}${color lightgrey}Total: ${color #a9c7ea}${totaldown eth0} ${alignr}${color lightgrey}Total: ${color #a9c7ea}${totalup eth0}
${color lightgrey}File systems:$alignr
/ $color${fs_used_perc /}% ${fs_used /}/${fs_size /} ${fs_bar /}
/sda4 $color${fs_used_perc /home}% ${fs_used /home}/${fs_size /home} ${fs_bar /home}
/sdb1 $color${fs_used_perc /home/nick/Music/Collection}% ${fs_used /home/nick/Music/Collection}/${fs_size /home/nick/Music/Collection} ${fs_bar /home/nick/Music/Collection}
/sdc1 $color${fs_used_perc /home/nick/external}% ${fs_used /home/nick/external}/${fs_size /home/nick/external} ${fs_bar /home/nick/external}


${color}Name PID CPU% MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${font Verdana:style=Bold:pixelsize=12}${color #9AB7FF} ${alignc}$mpd_artist - $mpd_title
${font Verdana:style=Bold:pixelsize=12}${color #9AB7FF} ${alignc}vol: $mpd_vol bitrate: $mpd_bitrate kbp length: $mpd_length $mpd_percent%
${color #9AB7FF}$mpd_bar
${color #9AB7FF}${alignc}$mpd_status
${color lightgrey}${execi 1 ~/Documents/conky/get_calendar.sh first_part}${color #ddaa00}${execi 1 ~/Documents/conky/get_calendar.sh today }${color }${execi 1 ~/Documents/conky/get_calendar.sh second_part}

${color lightgrey}Port(s)${offset 48}Connections:
${color lightgrey} ALL: ${alignc}${tcp_portmon 1 65535 count}
${color lightgrey} mpd:${alignc}${tcp_portmon 6600 6600 count}
${color lightgrey} 1 - 1024:${alignc}${tcp_portmon 1 1024 count}
${color lightgrey} 1025 - 65535:${alignc}${tcp_portmon 1024 65535 count}
${color lightgrey}Remote Address:${alignr} Local Service/Port:
${color}${tcp_portmon 1 1024 rport 0}
${color}${tcp_portmon 1 65535 rhost 0}${alignr}${tcp_portmon 1 65535 lservice 0}
${color}${tcp_portmon 1 65535 rhost 1}${alignr}${tcp_portmon 1 65535 lservice 1}
${color}${tcp_portmon 1 65535 rhost 2}${alignr}${tcp_portmon 1 65535 lservice 2}
${color}${tcp_portmon 1 65535 rhost 3}${alignr}${tcp_portmon 1 65535 lservice 3}
${color}${tcp_portmon 1 65535 rhost 4}${alignr}${tcp_portmon 1 65535 lservice 4}
${color}${tcp_portmon 1 65535 rhost 5}${alignr}${tcp_portmon 1 65535 lservice 5}


and last but not least... the screenshot.

http://img249.imageshack.us/img249/7859/conky8in.th.png (http://img249.imageshack.us/my.php?image=conky8in.png)

~LoKe
January 26th, 2007, 01:31 AM
I'm running both Conky and Beryl, and right now, Conky is flickering? How can I get it to...stop flickering?

thelastknowngod
January 26th, 2007, 03:28 AM
add this to your conkyrc file:


# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

Open up the Xorg configuration file (usually /etc/X11/xorg.conf) with your favourite text editor, and find the line that says:
Section "Module"
Then, after that line, add:
Load "dbe"
Restart Xorg (my preferred method is the good-ole control+alt+backspace) and enjoy.

:)

~LoKe
January 26th, 2007, 03:44 AM
:)

That's right! Thanks!

ButteBlues
January 29th, 2007, 12:18 AM
Mine's a Frankenstein of various configs and styles posted here.

Anyone know how I can get rid of the boxes on the Slashdot RSS?

http://apollo.divshare.com/thumbs/2007/01/28/81130/81130-d2f.jpg (http://www.divshare.com/download/81130-d2f)


# 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 1.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 200 5
maximum_width 300

# 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 5

# border widt5
border_width 6

# 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}System ${hr 2}
${color #e5e5e5}Ubuntu $sysname $kernel on $nodename
${color #e5e5e5}Uptime $alignr $uptime
${color #e5e5e5}Cpu $color $alignr $cpu%
${color #e5e5e5}Load $alignr $loadavg
${color #e5e5e5}Ram $color $memperc% ${color #98c2c7}${membar 6}${color #98c2c7}
${color #e5e5e5}Swap $color $swapperc% ${color #98c2c7}${swapbar 6}${color #98c2c7}
${color #e5e5e5}Processes $color $processes Running$color $running_processes
${color #e5e5e5}Ram $mem $alignr Swap $swap

${color #ffcb48}Processes ${hr 2}
${color #98c2c7}NAME PID CPU% MEM%
${color #e5e5e5}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #e5e5e5}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #e5e5e5}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #e5e5e5}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}

${color #ffcb48} Memory ${hr 2}
${color #98c2c7}NAME PID CPU% MEM%
${color #e5e5e5}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #e5e5e5}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #e5e5e5}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #e5e5e5}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}

${color #ffcb48}Filesystems ${hr 2}
${color #e5e5e5}root :$color ${fs_free_perc /}% $fs_free ${color #98c2c7}${fs_bar 6 /}$color
${color #e5e5e5}documents :$color ${fs_free_perc /media/documents}% ${fs_free /media/documents} ${color #98c2c7}${fs_bar 6 /media/documents}$color

${color ffcb48}Networking (${addr rausb0}) ${hr 2}$color
${color #e5e5e5}Wlan Signal Strength $alignr ${linkstatus rausb0}%
Down: $color${downspeed rausb0} k/s ${alignr}Up: ${upspeed rausb0} k/s

${color #ffcb48}Weather ${hr 2}
${color #e5e5e5}${execi 60 /home/will/conky_scripts/weather/weather.sh 30013}

${color #ffcb48}Slashdot ${hr 2}
${color #e5e5e5}${execi 300 /home/will/conky_scripts/conky-rss.sh}


RSS Script

#!/bin/bash
# RSS Feed Display Script by Hellf[i]re v0.1
#
# This script is designed for most any RSS Feed. As some feeds may not be
# completely compliant, it may need a bit of tweaking
#
# This script depends on curl.
# Gentoo: emerge -av net-misc/curl
# Debian: apt-get install curl
# Homepage: http://curl.haxx.se/
#
# Usage:
# .conkyrc: ${execi [time] /path/to/script/conky-rss.sh}
#
# Usage Example
# ${execi 300 /home/youruser/scripts/conky-rss.sh}

#RSS Setup

#URI of RSS Feed

URI="http://rss.slashdot.org/Slashdot/slashdot/to"

#Number of headlines

LINES=5

#Environment Setup
EXEC="/usr/bin/curl -s" #Path to curl

#Work Start
$EXEC $URI | grep title |\
sed -e :a -e 's/<[^>]*>//g;/</N' |\
sed -e 's/[ \t]*//' |\
sed -e 's/\(.*\)/ \1/' |\
sed -e 's/\.//' |\
sed -e 's/\"//' |\
sed -e 's/\"//' |\
head -n $(($LINES + 2)) |\
tail -n $(($LINES))

tyeracj41
January 30th, 2007, 07:42 AM
http://img409.imageshack.us/my.php?image=screenshotxt4.png


# 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 1.0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
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 200 5
maximum_width 300

# 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 5

# border widt5
border_width 6

# 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 white}[${color #00ff00}Thomas${color white}] ${color #CCCCCC}@ ${color white}[${color red}$nodename${color white}]:
${color #888888}$sysname $kernel ${color #CCCCCC}on ${color #888888}$machine
${color #888888}Uptime: $color$uptime
${color #888888}${time %A} ${time %e %B %G} ${color #00ff00}${time %I:%M:%S}
${color white}${hr 2}

${color #ffccaa}System:
${color #888888}cpu: ${color #CCCCCC}${freq} MHz
${color #888888}load: ${color #CCCCCC}${cpu}%
${color #888888}ram: ${color #CCCCCC}$mem${color #888888}/${color #CCCCCC}$memmax ${color #888888}, ${color #CCCCCC}$memperc%
${color #888888}swap: ${color #CCCCCC}$swap${color #888888}/${color #CCCCCC}$swapmax ${color #888888}, ${color #CCCCCC}$swapperc%
${color #888888}avg load: (${color #CCCCCC}$loadavg${color #888888})
${color #888888}processes: ${color #CCCCCC}$processes ${color #888888}running: ${color #CCCCCC}$running_processes
${color white}${hr 1}

${color ffccaa}Networking
${color #888888}ip address: $color${addr eth1}
${color #888888}signal: $color${linkstatus eth1}%
${color #888888}down: $color${downspeed eth1}k/s
${color #888888}up: $color${upspeed eth1}k/s
${color white}${hr 1}

${color #ffccaa}File Systems:
${color #888888}root: ${color #CCCCCC}${fs_used /}${color #888888}/${color #CCCCCC}${fs_size /} ${color #888888}(${color #CCCCCC}${fs_free /}, ${fs_free_perc /}% free)
${fs_bar /}
${color #888888}winxp: ${color #CCCCCC}${fs_used /media/windows}${color #888888}/${color #CCCCCC}${fs_size /media/windows} ${color #888888}(${color #CCCCCC}${fs_free /media/windows}, ${fs_free_perc /media/windows}% free)
${fs_bar /media/windows}
${color #888888}usbdisk: ${color #CCCCCC}${fs_used /media/usbdisk}${color #888888}/${color #CCCCCC}${fs_size /media/usbdisk} ${color #888888}(${color #CCCCCC}${fs_free /media/usbdisk}, ${fs_free_perc /media/usbdisk}% free)
${fs_bar /media/usbdisk}
${color white}${hr 1}

${color #ffccaa}tyeracj41@gmail.com
${color #888888}${texeci 120 python ~/.gmail/gmail.py}

Also, if you notice the terminal - I have to leave it open when I execute conky, otherwise conky is terminated if I close the terminal. Anyone know how to fix this? Thanks.

kriwil
January 30th, 2007, 02:24 PM
Also, if you notice the terminal - I have to leave it open when I execute conky, otherwise conky is terminated if I close the terminal. Anyone know how to fix this? Thanks.

try this in the terminal:

conky &

tyeracj41
January 30th, 2007, 05:41 PM
Actually, I found the executable in /usr/bin. So you don't even need to use the terminal. Thanks though!

likerice
January 30th, 2007, 11:19 PM
you should also be able to have conky run automagically at start-up by creating a start-up script in services.

a simpler solution would be to login, run conky, and then logout while saving the "current session" (this works on xfce for xubuntu, and should work as well in gnome).

K.Mandla
January 31st, 2007, 12:22 AM
You can also add


conky &
to the .xinitrc file in your home directory.

featherking
February 1st, 2007, 04:44 AM
i wrote a script to display the current ssid of you network:


iwconfig eth1 | grep -i essid | cut -d"\"" -f2
Replace eth1 with whatever your wifi interface is then save and make it executable.

Then in your conky add a line somewhere like this:

SSID:$alignr${execi 300 /home/chris/.local/essid.sh}

Modify that path to point to the file you saved previously. Then restart conky enjoy!

stalker145
February 2nd, 2007, 10:52 PM
My conky at the moment... seems that I can't quite figure out how to keep the fortune within the left lateral limits of my design. If anyone can point out the error of my ways, I would greatly appreciate it.
It's not original, nor is it pretty, but this mutt's mine :)


# 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 2.0

# Minimum size of text area
minimum_size 200 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 2
gap_y 3

# stuff after 'TEXT' will be formatted on screen

override_utf8_locale no
xftfont TSCu_Times:size=11
xftalpha 0.8

TEXT
${offset 240}${color white} $nodename

${offset 240}${color #ddaa00}UpTime: ${color }$uptime
${offset 240}${color #ddaa00}Kern:${color } $kernel


${offset 240}${color #ddaa00}CPU:${color } $cpu%
${offset 240}${cpubar 5,100 1a1aaf ff0000 }
${offset 240}${color #ddaa00}Processes: ${color }$processes ${color slate grey}Running: ${color }$running_processes

${offset 240}${color #ddaa00}Highest CPU:
${offset 242}${color #ddaa00} ${top name 1}${top_mem cpu 1}
${offset 242}${color lightgrey} ${top name 2}${top cpu 2}
${offset 242}${color lightgrey} ${top name 3}${top cpu 3}

${offset 240}${color #ddaa00}Highest MEM:
${offset 242}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${offset 242}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${offset 242}${color lightgrey} ${top_mem name 3}${top_mem mem 3}

${offset 240}${color #ddaa00}MEM: ${color } $memperc% $mem/$memmax
${offset 240}${membar 3,100}
${offset 240}${color #ddaa00}SWAP: ${color }$swapperc% $swap/$swapmax
${offset 240}${swapbar 3,100}

${offset 240}${color #ddaa00}Root: ${color }${fs_used /}/${fs_size /}
${offset 240}${fs_bar 3,100 /}
${offset 240}${color #ddaa00}Thumb: ${color }${fs_used /media/usbdisk}/${fs_size /media/usbdisk}
${offset 240}${fs_bar 3,100 /media/usbdisk}

${offset 240}${color #ddaa00}NET:
${offset 240}ath0: ${color}${addr ath0}
${offset 240}${color #ddaa00}Signal: ${color}${linkstatus ath0}%

${offset 240}${color}Up: ${color}${upspeed ath0} ${color}Down: ${color}${downspeed ath0}
${offset 240}${upspeedgraph ath0 20,60 1a1aaf ff0000} ${color}${downspeedgraph ath0 20,60 1a1aaf ff0000}
${offset 240}${color}Total: ${totalup ath0} ${color}Total: ${totalup ath0}

${offset 240}eth0: ${color}${addr eth0}
${offset 240}${color #ddaa00}Signal: ${color}${linkstatus ath0}%

${offset 240}${color}Up: ${color}${upspeed eth0} ${color}Down: ${color}${downspeed eth0}
${offset 240}${upspeedgraph eth0 20,60 1a1aaf ff0000} ${color}${downspeedgraph eth0 20,60 1a1aaf ff0000}
${offset 240}${color}Total: ${totalup eth0} ${color}Total: ${totalup eth0}

${offset 240}${color #ddaa00}Port(s) #Connections
${offset 240}$color Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}
${offset 240} ALL: ${tcp_portmon 1 65535 count}
${offset 240}${color #ddaa00}Outbound ${color #ffffff}
${offset 240} ${tcp_portmon 32768 61000 rhost 0}
${offset 240} ${tcp_portmon 32768 61000 rhost 1}
${offset 240} ${tcp_portmon 32768 61000 rhost 2}
${offset 240} ${tcp_portmon 32768 61000 rhost 3}
${offset 240} ${tcp_portmon 32768 61000 rhost 4}
${offset 240} ${tcp_portmon 32768 61000 rhost 5}
${offset 240}$stippled_hr
${offset 240}${execi 60 fortune -s | fold -w40}

~LoKe
February 3rd, 2007, 12:02 AM
February 2, 2007

# 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 Dungeon:pixelsize=10
xftfont Monospace:pixelsize=10
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 no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
#minimum_size 280 5
#maximum_width 150

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 10

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors
default_color white
default_shade_color grey
default_outline_color black

# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 3
gap_y 3
#alignment top_right
alignment top_left
#alignment bottom_right13
#alignment bottom_left

# 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


TEXT
[$nodename - $sysname $kernel on $machine]
|
+--system
| |
| +--date - ${time %a,} ${time %B%e, %G}
| +--uptime - $uptime
|
+--status
| |
| +--cpu1 - ${cpu cpu1}%, ${color }${cpugraph cpu1 8,60 000000 000000}
| +--cpu2 - ${cpu cpu2}%, ${color }${cpugraph cpu2 8,60 000000 000000}
| +--ram - $mem/$memmax - $memperc%
| +--cpu ${i2c 9191-0290 temp 2}C - mb ${i2c 9191-0290 temp 1}C
| +--processes
| |
| +--amount - $processes
| +--running - $running_processes
|
+--net
| |
| +--down - ${downspeed eth0} k/s ${downspeedgraph eth0 8,60 000000 000000}
| +--up - ${upspeed eth0} k/s ${upspeedgraph eth0 8,60 000000 000000}
|
+--resources
| |
| +--/ ${fs_free /}/${fs_size /}
| +--/home - ${fs_free /home}/${fs_size /home}
| +--swap - $swap/$swapmax
|
+--mpd
|
+--Artist: $mpd_artist -
+--Title: $mpd_title
+--$mpd_status
+--${mpd_bar 8,150}

shining
February 3rd, 2007, 12:59 AM
February 2, 2007

Lovely desktop (conky included)

~LoKe
February 3rd, 2007, 02:31 AM
Lovely desktop (conky included)

Thank you, sir. :)

CowzRule
February 4th, 2007, 06:56 AM
Here's mine
# 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

# 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 640

# 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 5
#gap_y 5
#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

# 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}Today is ${color lightgrey}${time %A, %d %B %Y}
${color #0077ff}The Time is ${color lightgrey}${time %H:%M.%S}${alignr}${color #0077ff}Uptime:${color lightgrey} $uptime

${color #0077ff}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color lightgrey}${freq_dyn}Mhz
${color #0077ff}Usage: ${color lightgrey}${cpu}% ${color #FCFF00}${cpubar}
${color #0077ff}${cpugraph 000000 FCFF00}
${color #0077ff}Processes:${color lightgrey} $processes ${color #0077ff}Run:${color lightgrey} $running_processes
${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}RAM:${color lightgrey} $mem/$memmax - $memperc% ${alignr}${color #FF8E00}${membar 5,110}
${color #0077ff}SWP:${color lightgrey} $swap/$swapmax - $swapperc% ${alignr}${color #FF8E00}${swapbar 5,110}
${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}HD IO: ${color lightgrey}${diskio}
${color #0077ff}${diskiograph 000000 00EA01}
${color #0077ff}Hard Disks:
${color #0077ff} Root ${color lightgrey}${fs_used /}/${fs_size /}${alignr}${color #00EA01}${fs_bar 5,120 /}
${color #0077ff} Home ${color lightgrey}${fs_used /home}/${fs_size /home}${alignr}${color #00EA01}${fs_bar 5,120 /home}
${color #0077ff} Stuff ${color lightgrey}${fs_used /media/stuff}/${fs_size /media/stuff}${alignr}${color #00EA01}${fs_bar 5,120 /media/stuff}

${color #0077ff}Now Playing on XMMS
${color lightgrey}${execi 5 ~/.xmms.sh|fold -w67}

${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 FF0000 180} $alignr${color #0077ff}${upspeedgraph eth0 27,120 000000 FF0000 25}
${color lightgrey}${totaldown eth0} $alignr${color lightgrey}${totalup eth0}
${color #0077ff}Port(s)${offset 48}Connections:
${color #0077ff} ALL: ${color lightgrey}${alignc}${tcp_portmon 1 65535 count}
${color #0077ff} 1 - 1024:${color lightgrey}${alignc}${tcp_portmon 1 1024 count}
${color #0077ff} 1025 - 65535:${color lightgrey}${alignc}${tcp_portmon 1024 65535 count}

${color #0077ff}Remote Address:${alignr} Local Service/Port:
${color lightgrey}${tcp_portmon 1 1024 rport 0}
${color lightgrey}${tcp_portmon 1 65535 rhost 0}${alignr}${tcp_portmon 1 65535 lservice 0}
${color lightgrey}${tcp_portmon 1 65535 rhost 1}${alignr}${tcp_portmon 1 65535 lservice 1}
${color lightgrey}${tcp_portmon 1 65535 rhost 2}${alignr}${tcp_portmon 1 65535 lservice 2}
${color lightgrey}${tcp_portmon 1 65535 rhost 3}${alignr}${tcp_portmon 1 65535 lservice 3}
${color lightgrey}${tcp_portmon 1 65535 rhost 4}${alignr}${tcp_portmon 1 65535 lservice 4}
${color lightgrey}${tcp_portmon 1 65535 rhost 5}${alignr}${tcp_portmon 1 65535 lservice 5}
${color #0077ff}Fortune ${color #000000}${hr 2}
${color lightgrey}${execi 120 fortune -s | fold -w50}

http://i107.photobucket.com/albums/m319/sw54880/th_Screenshot-1.png (http://i107.photobucket.com/albums/m319/sw54880/Screenshot-1.png)

gtratter
February 8th, 2007, 09:16 PM
i wrote a script to display the current ssid of you network:



Great - works well
Would you mind posting your weahter script AND your .cokyrc file, so a total n00b can learn something? Much oblidged!
G

featherking
February 9th, 2007, 03:28 AM
Here is my conkyrc


# 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 200 200

# Maximum width
maximum_width 200

# 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 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

#TCP CONNECTIONS
# ${color #ffffff}Service${alignr}${offset -50}Host
# ${color #c4c4c4}${offset 10}${tcp_portmon 1 65535 rservice 0}$alignr${tcp_portmon 1 65535 rhost 0}
# ${color #a3a3a3}${offset 10}${tcp_portmon 1 65535 rservice 1}$alignr${tcp_portmon 1 65535 rhost 1}
# ${color #828282}${offset 10}${tcp_portmon 1 65535 rservice 2}$alignr${tcp_portmon 1 65535 rhost 2}

#TOP 4 CPU USE
#${color #ffffff}Name ${alignr}CPU Usage
# ${top name 1} $alignr${top cpu 1}%
# ${color #c4c4c4}${top name 2} $alignr${top cpu 2}%
# ${color #a3a3a3}${top name 3} $alignr${top cpu 3}%
# ${color #828282}${top name 4} $alignr${top cpu 4}%

# Current:${alignr}${execi 20 /home/featherking/.local/conky_wifi} Mbits/sec
# sda5: ${fs_used_perc /mnt/FILES}% ${color lightgray}${fs_bar /mnt/FILES/}$color
# eth0:$alignr${addr eth0}
# Signal:$alignr${linkstatus eth0}
# Current:${alignr}${execi 20 /home/featherking/.local/conky_wifi} Mbits/sec
#
#Hostname:$alignr$nodename
sda2: ${fs_used_perc /}% ${color lightgray}${fs_bar /}$color
Swap: $swapperc% ${color lightgray}$swapbar$color

##############################################
##############################################

TEXT
${color #ffffff}$alignc$nodename
$alignc$sysname $kernel
${color #ffffff}Uptime:$alignr$uptime
${time %A}$alignr${time %F}

Eth1:$alignr${addr eth1}
SSID:$alignr${exec /home/featherking/.local/essid.sh}
Download:$alignr${downspeedf eth1} KBs/sec
${downspeedgraph eth1 30,200}

Battery:$alignr${battery}

RAM: $mem/$memmax ${color lightgray}$membar$color
CPU0 ${cpu cpu1}% ${color lightgray}${cpubar cpu1}$color
CPU1 ${cpu cpu2}% ${color lightgray}${cpubar cpu2}$color

${color #ffffff}Syslog
${color #c4c4c4}${texeci 60 /usr/bin/tail -n 1 /var/log/syslog | fold -w33}

${color #ffffff}Name ${alignr}Mem Usage
${top_mem name 1} $alignr${top_mem mem 1} MB
${color #c4c4c4}${top_mem name 2} $alignr${top_mem mem 2} MB
${color #a3a3a3}${top_mem name 3} $alignr${top_mem mem 3} MB
${color #828282}${top_mem name 4} $alignr${top_mem mem 4} MB

${color #ffffff}${execi 300 /home/featherking/.local/weather2.sh 84095}


For my weather stuff you actually need two files paste the first into a file called weather.sh and put it somewhere, then edit your conky to include a line like the bold line in my conky, change the number at the end of the line to your zip code (that line checks weather every 5 minutes), in the weather.sh you need to edit the RUNDIR (also bold)

weather.sh -->

#!/bin/sh

#
# 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

# Usage:
# ${execi 1800 /path/to/weather/weather.sh location}
# Usage Example:
# ${execi 1800 /home/user/weather/weather.sh 03833}

# your Location ID: use http://xoap.weather.com/search/search?where=[yourcity] to find it
# U.S. users can just use their zip code; doubt that works for anyone else though (YMMV)
LOCID=$1

# s=standard units, m=metric units
UNITS=s

# where this script and the XSLT lives
RUNDIR=/home/featherking/.local

# there's probably other stuff besides CURL that will work for this, but i haven't
# tried any others.
# you can get curl at http://curl.haxx.se/
CURLCMD=/usr/bin/curl

# get it at http://xmlsoft.org/XSLT/
XSLTCMD=/usr/bin/xsltproc

# you probably don't need to modify anything below this point....

# CURL url. Use cc=* for current forecast or dayf=10 to get a multi-day forecast
CURLURL="http://xoap.weather.com/weather/local/$LOCID?cc=*&unit=$UNITS&dayf=2"

# The XSLT to use when translating the response from weather.com
# You can modify this xslt to your liking
XSLT=$RUNDIR/weather.xslt

#filter (if you want to convert stuff to lower-case or upper case or something)
#FILTER="|gawk '{print(tolower(\$0));}'"


#####
eval "$CURLCMD \"$CURLURL\" 2>/dev/null| $XSLTCMD $XSLT - $FILTER"


the second file is called weather.xslt. copy the below and save as that and put in the same dir as your weather.sh. You shouldnt need to edit anything in the .xslt i added some spaces throughout to format it a little better because i couldnt figure it out any other way.

weather.xslt -->

<!--

This XSLT is used to translate an XML response from the weather.com
XML API.

You can format this file to your liking. Two things you may feel
like doing:

1) Modify the layout of the fields or static text already defined
2) Add other fields from the XML response file that aren't referenced in this
XSLT. You can grab a full list by just doing a:
wget "http://xoap.weather.com/weather/local/$LOCID?cc=*&unit=$UNITS"
(change $LOCID and $UNITS to suit your needs)
-->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
<xsl:output method="text" disable-output-escaping="yes"/>
<xsl:template match="weather">
<xsl:apply-templates select="loc"/>
<xsl:apply-templates select="cc"/>
<xsl:apply-templates select="dayf/day[@d='1']"/>
</xsl:template>


<xsl:template match="loc">
<xsl:text>City: </xsl:text><xsl:value-of select="dnam"/>
</xsl:template>

<xsl:template match="cc">
<!-- <xsl:text>City: </xsl:text><xsl:value-of select="obst"/> -->
<xsl:text>
</xsl:text>
<xsl:text> Temp: </xsl:text><xsl:value-of select="tmp"/><xsl:value-of select="/weather/head/ut"/>
<xsl:if test="tmp != flik">
<xsl:text> (FL: </xsl:text><xsl:value-of select="flik"/><xsl:value-of select="/weather/head/ut"/><xsl:text>)</xsl:text>
</xsl:if>
<xsl:text>
Cond: </xsl:text><xsl:value-of select="t"/>
<xsl:text>
Wind: </xsl:text>
<xsl:choose>
<xsl:when test="wind/s = 'calm'"><xsl:text>0</xsl:text></xsl:when>
<xsl:otherwise><xsl:value-of select="wind/s"/></xsl:otherwise>
</xsl:choose>
<xsl:value-of select="/weather/head/us"/><!--
<xsl:choose>
<xsl:when test="wind/s = 'calm'"><xsl:text>(0mph)</xsl:text></xsl:when>
<xsl:otherwise><xsl:text> (</xsl:text><xsl:value-of select="round(wind/s * 0.6214)"/><xsl:text>mph)</xsl:text></xsl:otherwise>
</xsl:choose> -->
<xsl:text> (</xsl:text><xsl:value-of select="wind/t"/>
<xsl:text>)</xsl:text>
</xsl:template>

<xsl:template match="dayf/day[@d='1']">
<xsl:text>
Tomorrow: </xsl:text><xsl:value-of select="low"/><xsl:value-of select="/weather/head/ut"/>
<xsl:text> to </xsl:text><xsl:value-of select="hi"/><xsl:value-of select="/weather/head/ut"/>
<xsl:text>
</xsl:text><xsl:text> Forecast: </xsl:text><xsl:value-of select="part[@p='d']/t"/>
<xsl:text></xsl:text><xsl:value-of select="/weather/swa/a/t"/>
<!-- <xsl:text>
</xsl:text> -->
</xsl:template>
</xsl:stylesheet>

You *may* also need to 'apt-get install curl', curl seems to function like wget - basically just downloads the xml from the weather.com site.

I know that is a lot of text but its really simple, copy and paste and save those two files, edit a few lines and add a line in your conky. Let me know how it works for you

EDIT: you need to make 'weather.sh' executable too, forgot to put that (you can right click on it go to properties > permissions > check 'execute' box)

-the King

gtratter
February 9th, 2007, 04:30 PM
To the King

Thank you very much for sharing - it will give me a good starting point from a great layout to disect and learn.

G

featherking
February 10th, 2007, 12:23 AM
thx, and again, let me know if you get probs with that weather script stuff

STREETURCHINE
February 10th, 2007, 03:52 AM
# set to yes if you want Conky 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 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}

it is a lot clearer on my desktop lost some quality in converting it to jpeg i feel...:(

also if any one can help,the pages slide between the desktop and my conky so part of the page is hidden,what do i need to change to have the pages on top,,thanks.

ok found the problem,had set window to overide

~LoKe
February 10th, 2007, 04:59 AM
http://img239.imageshack.us/img239/6937/screenshotbk6.th.jpg (http://img239.imageshack.us/img239/6937/screenshotbk6.jpg)

background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
use_xft yes
xftfont Monospace:pixelsize=10
own_window_transparent no
xftalpha 0.8
on_bottom yes
update_interval 1
own_window no
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_margin 4
border_width 1
default_color white
default_shade_color grey
default_outline_color black
gap_x 3
gap_y 3
alignment top_left
use_spacer no
no_buffers yes
uppercase no

TEXT
[$nodename][Blackbox][Core 2 Duo E6300 @ ${freq_dyn}MHz]
|
+--system
|
+--date - ${time %A, %B %d, %Y}
+--uptime - $uptime

+--status
|
+--core 1 - ${cpu cpu1}%, ${color }${cpugraph cpu1 8,60 000000 000000}
+--core 2 - ${cpu cpu2}%, ${color }${cpugraph cpu2 8,60 000000 000000}
+--ram - $mem/$memmax - $memperc%
+--core temp - ${i2c 9191-0290 temp 2}C

+--network
|
+--down - ${downspeed eth0} k/s ${downspeedgraph eth0 8,60 000000 000000}
+--up - ${upspeed eth0} k/s ${upspeedgraph eth0 8,60 000000 000000}

+--storage
|
+--/ ${fs_free /}/${fs_size /}
+--/home - ${fs_free /home}/${fs_size /home}
+--swap - $swap/$swapmax

+--music
|
+--Artist: $mpd_artist -
+--Title: $mpd_title
+--$mpd_status
+--${mpd_bar 8,150}

+--slashdot
|
+--${execi 300 /home/loke/conky/slashdot-rss.sh}

gtratter
February 10th, 2007, 07:23 AM
thx, and again, let me know if you get probs with that weather script stuff

No problems with the scripts. Good instructions and easy to follow. Once I figure out how to post thumbnails on here I will attach an image of my progress thus far. My next project is to use the pop3_unseen variable to use. I think I will use the gmail.pl ~ script I found via Google as a starting point and see if I can figure out how to pass the arguments to conky. Once I figure it out successfully I will post the code here.

matthewthebig
February 11th, 2007, 11:12 PM
Took me a while to get the way I like but now it's worth it.


# 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

# 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 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 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 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

# Minimum size of text area
minimum_size 30 5

# Draw shades?
draw_shades yes

# 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 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 5
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

# 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
$nodename:
${color lightgray}IP:$color ${addr eth0} ${color lightgray}- Device:$color eth0
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}CPU:$color $acpitemp C | $freq_g | $cpu% ${cpubar 5, 120}
${color lightgrey}RAM usage:$color $mem - $memperc% ${membar 5, 120}
${color lightgrey}Swap usage:$color $swap - $swapperc% ${swapbar 5, 120}
${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes

${color lightgrey}Networking:
Down:${color #8844ee} ${downspeedf eth0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeedf eth0} k/s

${color lightgrey}File systems:
$color / ${alignr} ${fs_free /} ${fs_free_perc /}% ${alignr 10} ${fs_bar 5, 120 /}
$color /home ${alignr} ${fs_free /home} ${fs_free_perc /home}% ${alignr 10} ${fs_bar 5, 120 /home/moju}

${color lightgrey}Name PID CPU% MEM%
${color #ddaa00} ${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}


pic here (http://www.redbrick.dcu.ie/~moju/Conky.png)

bytechaser
February 14th, 2007, 04:48 AM
Heres my Conky. Using XFCE4.. really like it!!
Let me know what ya think I've been fiddling with it for some time.

rsambuca
February 14th, 2007, 04:51 AM
Heres my Conky. Using XFCE4.. really like it!!
Let me know what ya think I've been fiddling with it for some time.

Very nice - I like it, although Athlon only has one A!

Nikron
February 14th, 2007, 04:55 AM
# 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 no
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_xft yes

# Update interval in seconds
update_interval 3.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
xftfont You Rook Marbelous:size=12
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 E5DBC6

own_window_colour black
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 cd4d00}SYSTEM ${hr 5}$color
$nodename $sysname $kernel on $machine
$uptime

${color cd4d00}${pre_exec cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${hr 5}$color
${freq_dyn}MHz Load: ${loadavg} Temp: ${acpitemp}
$cpubar
${cpugraph 000000 ffffff}

${color cd4d00}PROCESSES ${hr 5}$color
Process Number: $processes Running: $running_processes

${color cd4d00}HIGHEST CPU ${stippled_hr 1}$color
NAME${alignr 9}PID CPU% MEM%
${top name 1}${alignr 9}${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2}${alignr 9}${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3}${alignr 9}${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4}${alignr 9}${top pid 4} ${top cpu 4} ${top mem 4}

${color cd4d00}HIGHEST MEM ${stippled_hr 1}$color
NAME${alignr 9}PID CPU% MEM%
${top_mem name 1}${alignr 9}${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${top_mem name 2}${alignr 9}${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${top_mem name 3}${alignr 9}${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${top_mem name 4}${alignr 9}${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}

${color cd4d00}RAM ${hr 5}$color
$mem / $memmax
$memperc% ${membar 6}$color

${color cd4d00}SWAP ${hr 5}$color
$swap / $swapmax
$swapperc% ${swapbar 6}$color

${color cd4d00}HARDDRIVE ${hr 5}$color
Total: ${fs_used /} / ${fs_size /}
${fs_free_perc /}% ${fs_bar 6 /}$color

${color cd4d00}NETWORK (${addr eth0}) ${hr 5}$color
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,140 000000 00ff00} ${alignr}${upspeedgraph eth0 25,140 000000 ff0000}$color
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
Inbound: ${tcp_portmon 1 32767 count} ${alignr}Outbound: ${tcp_portmon 32768 61000 count}
Total: ${tcp_portmon 1 65535 count}


${color cd4d00}MAIL ${hr 5}$color
${execi 20 sylpheed-claws-gtk2 --status}


yeah not that great I know.. oh well

bytechaser
February 14th, 2007, 05:09 AM
Very nice - I like it, although Athlon only has one A!

whoops! :oops: how did that get in there lol. good job you said that or I might not have ever corrected that :)

MattSMiddleton
February 14th, 2007, 04:48 PM
My conkyrc:


# 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}


How did you get the Terminal to be apart of your background like it is in this screenshot?

dorcssa
February 14th, 2007, 11:14 PM
Well, maybe it's time for me to post my conky screenshot..here it is.


# 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 2.0

# Minimum size of text area
# minimum_size 260 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
font ms sans
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 white
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 38

# stuff after 'TEXT' will be formatted on screen

TEXT
$sysname $kernel on $machine
CPU: ${freq}MHz Uptime: ${uptime}
CPU: $cpu% ${color lightblue}$cpubar
${color}${cpugraph ffffff 676f9d}$color

${color lightblue}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}
${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}

${color}Processes: $processes Running: $running_processes

RAM ($memmax): $memperc% ${color lightblue}${membar 6}$color
Swap ($swapmax): $swapperc% ${color lightblue}${swapbar 6}$color

Ubuntu: ${fs_used_perc /}% ${fs_free /}/${fs_size /}
${color lightblue}${fs_bar 6 /}$color
Home: ${fs_used_perc /home}% ${fs_free /home}/${fs_size /home}
${color lightblue}${fs_bar 6 /home}$color
Elendil: ${fs_used_perc /elendil}% ${fs_free /elendil}/${fs_size /elendil}
${color lightblue}${fs_bar 6 /elendil}$color
Elrond: ${fs_used_perc /elrond}% ${fs_free /elrond}/${fs_size /elrond}
${color lightblue}${fs_bar 6 /elrond}$color
Gandalf: ${fs_used_perc /gandalf}% ${fs_free /gandalf}/${fs_size /gandalf}
${color lightblue}${fs_bar 6 /gandalf}$color

Internet Status (${addr eth0}):
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
$color${downspeedgraph eth0 25,140 ffffff 676f9d} ${upspeedgraph eth0 25,140 ffffff 676f9d}$color
${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}

yabbadabbadont
February 16th, 2007, 05:06 AM
Does anyone know if conky supports a tinted transparent background instead of just fully transparent? (like most terminal programs do) My wallpaper changes randomly and it is difficult to see the text depending on the dominant color used in the image.

kevinf311
February 16th, 2007, 05:57 AM
Here's my conky setup. Minimalist, but informative of the things I need to know.


# 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 yes

# 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
xftfont Domestic Manners:size=10
xftalpha 0.5
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 grey90

own_window_colour white
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 black}Ubuntu $sysname $kernel${alignr} | Memory - ${mem} of ${memmax} ${memperc}% | Processor - AMD 3200+ [${acpitemp}C] ${cpu cpu0}% ${color} ${cpugraph cpu1 9, 70 FFFFFF 000000}
${color} ${color black}Root - ${fs_used /} of ${fs_size /} ${color} ${fs_bar /}
${color} ${color black}Home - ${fs_used /home} of ${fs_size /home} ${color} ${fs_bar /home}
$sysname


I am not sure which item to edit for translucency, but a good place to start might be "own_window_transparent yes"

P.S. I had to spin the cube a lot to get the CPU graph to be interesting :p

dorcssa
February 16th, 2007, 12:45 PM
Does anyone know if conky supports a tinted transparent background instead of just fully transparent? (like most terminal programs do) My wallpaper changes randomly and it is difficult to see the text depending on the dominant color used in the image.

That's why I always change the userbar color, and don't choose white background. :)

wh0rd
February 16th, 2007, 11:02 PM
I'm trying to figure out how to make conky stick to the desktop even when you press the show desktop button?

likerice
February 16th, 2007, 11:08 PM
can you post your .conkyrc file?

i would guess that you have conky in its own window. there's an option in the rc file that goes something like: "draw conky in its own window" to which you should insert "no" to achieve the desired effect.

...i think.

yabbadabbadont
February 16th, 2007, 11:09 PM
That's why I always change the userbar color, and don't choose white background. :)

As I stated in my post, the wallpaper changes randomly. Actually, it changes every five minutes and randomly selects a new image from a collection of over 50,000 images... So it is a bit difficult to insure the dominant color of the background. :D

I guess I'll have to start hacking on the conky code to see how it handles background colors. I can probably pull the background tinting and shading code out of the Eterm source and adapt it for conky.

bizarrechaos
February 18th, 2007, 06:17 PM
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
Pentium 4 HT $alignr${freq_g cpu0}Ghz
IP $alignr ${addr ath0}
$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}
/samsung $alignc ${fs_used /media/Samsung} / ${fs_size /media/Samsung} $alignr ${fs_free_perc /media/Samsung}%
${fs_bar /media/Samsung}

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}

F@H1: ${execi 600 grep % /home/brandon/foldingathome/CPU1/unitinfo.txt | cut -c 10-12}% ${alignr}${execi 600 /home/brandon/script1.sh}
${execibar 600 grep % /home/brandon/foldingathome/CPU1/unitinfo.txt | cut -c 10-12}
F@H2: ${execi 600 grep % /home/brandon/foldingathome/CPU2/unitinfo.txt | cut -c 10-12}% ${alignr}${execi 600 /home/brandon/script2.sh}
${execibar 600 grep % /home/brandon/foldingathome/CPU2/unitinfo.txt | cut -c 10-12}


http://i96.photobucket.com/albums/l186/bizarrechaos_2006/Screenshot.png

dorcssa
February 18th, 2007, 10:00 PM
As I stated in my post, the wallpaper changes randomly. Actually, it changes every five minutes and randomly selects a new image from a collection of over 50,000 images... So it is a bit difficult to insure the dominant color of the background. :D

I guess I'll have to start hacking on the conky code to see how it handles background colors. I can probably pull the background tinting and shading code out of the Eterm source and adapt it for conky.

Oh, I haven't thought you mean that randomly. :mrgreen:

xfile087
March 4th, 2007, 01:21 PM
Here's mine :)

PartisanEntity
March 4th, 2007, 06:03 PM
Could someone explain to a newb how to write the pop3 entry in conky? From the conky site I found this:


Default global POP3 server. Arguments are: "host user pass [-i interval] [-p port] [-e command]". Default port is 110, default interval is 5 minutes. If the password is supplied as '*', you will be prompted to enter the password when Conky starts.

But I am not sure how to actually write that in the .conkyrc file?

Thank you

Andifferous
March 4th, 2007, 10:46 PM
My code has been adapted from the code in the comments to this thread, and the thread here: http://ubuntuforums.org/showthread.php?t=205865&highlight=conkyrc


# 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 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
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 grey90

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 steel blue}SYSTEM ${hr 2}$color
Computer Name: $nodename
Operating System: Ubuntu $sysname 6.06 LTS
Kernel: $kernel
Architecture: $machine
${time %a %d %b %Y %T}
Uptime: ${uptime}

${color steel blue}CPU ${hr 2}$color
AMD Duron ${freq}MHz
Load: ${loadavg} Temp: ${acpitemp}
Processes: ${processes} Running: ${running_processes}

CPU: ${cpu 0}% ${cpubar 6}
${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}
${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}

${color steel blue}MEMORY ${hr 2}$color
RAM: $memperc% ${membar 6}$color
${mem} / ${memmax}

Swap: $swapperc% ${swapbar 6}$color
${swap} / ${swapmax}

${color steel blue}DISK ${hr 2}$color
Root: ${fs_used_perc /}% ${fs_bar 6 /}$color
${fs_used /} / ${fs_size /}

Andy: ${fs_used_perc /mnt/files}% ${fs_bar 6 /mnt/files}$color
${fs_used /mnt/files} / ${fs_size /mnt/files}

${color steel blue}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}

${color steel blue}FORTUNE ${hr 2}$color
${execi 3600 fortune -s | fold -w50}

dorcssa
March 5th, 2007, 12:51 AM
It's nice. Where have you found that background? It's beautiful!

Andifferous
March 5th, 2007, 01:04 AM
Thank you
I made it originally for my gf, who loves killer whales (yes I know there are none there, lol). I had done this with some of the Flaming Pear filters that I had installed into Photoshop 7, I was probably using my windows partition so I could do a stats assignment for class, and I was likely stoned when I made the bg.
I started using the bg when my computer mysteriously at one I had of Tux as a borg.

PartisanEntity
March 5th, 2007, 01:15 AM
How are colours defined? Where do I find the colour names or values? Thank you.

PartisanEntity
March 5th, 2007, 01:32 AM
Here is what I have at the moment, it is a cut and paste job from things I have seen here :)


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
${color steel blue}$sysname $kernel on $machine

Uptime $alignr $uptime
Load $alignr $loadavg

Hostname $alignr $nodename
eth1 $alignr ${addr eth1}
ppp0 $alignr ${addr ppp0}

Inbound $alignr ${downspeed eth1} kb/s
Outbound $alignr ${upspeed eth1} kb/s

$processes processes ($running_processes running)

CPU $alignr ${cpu cpu0}%
${cpubar cpu0}
CPU Temp: ${acpitemp}C

MEM $alignc $mem / $memmax $alignr $memperc%
$membar

/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}

swap $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}

Mailbox One $alignr Mailbox Two
mail1: ${pop3_unseen mail.something.com mail1@something.com 1234 [-i] [-p]} $alignr mail2: ${pop3_unseen mail.something.com mail2@something.com 5678 [-i] [-p]} $color

Andifferous
March 5th, 2007, 02:13 AM
Depends on how you would like to do it, I used words like "steel blue" and "grey", but you could use varying degrees such as "grey90" or html colors like "#FFF000"

Andifferous
March 5th, 2007, 02:17 AM
Looks good, I like the colour manipulation that you did on the Dawn of Ubuntu background... hehe Dusk of Ubuntu.
I mentioned how to define the colours a minute ago to your question. I would like to ask how you changed the colour on the gnome panel. I can do it, but things like my notification area, or my menu bar don't take on the colours, they will stay the system default. I have tried even adding those things after changing the colour of gnome panel and still don't get desired results.

PartisanEntity
March 5th, 2007, 12:51 PM
I am trying to remember if I did anything special but I don't think so, I simply right-clicked on the panels and changed their colours using the eye dropper as well as playing around with the opacity. I also used one of the how-to's here to change the font colour of the panels. That's all really.

featherking
March 6th, 2007, 12:26 AM
@Andifferous
Search the forums for a file called gtkrc. it might be '.gtkrc-2.0' but that is where you can change panel color. If you are using edgy you can use a program called 'gnome-color-chooser' it can be found here (http://www.ubuntuforums.org/showpost.php?p=2038917&postcount=4). It doesnt work in dapper though, due to many dependency issues

PartisanEntity
March 6th, 2007, 12:34 AM
Andifferous if you were refering to the font colour then this is (http://http://ubuntuforums.org/showthread.php?t=47776) the how to I used. But since you said panel colour I was not sure what you meant.

heathen
March 6th, 2007, 12:53 AM
Mine is slightly modified from a stock config on conky's site
http://img339.imageshack.us/img339/4081/conkyscreendb5.th.png (http://img339.imageshack.us/my.php?image=conkyscreendb5.png)

and..


[heathen@laptop ~]$ cat .conkyrc
# conky config by heathen

background yes
use_xft yes
xftfont Terminus:size=8
xftalpha 0.8
update_interval 2.0
total_run_times 0
own_window no
double_buffer yes
minimum_size 100 5
draw_shades yes
draw_outlines no
draw_borders no
stippled_borders 0
border_margin 4
border_width 1
default_color white
default_shade_color black
default_outline_color white
alignment bottom_right
#alignment bottom_left
#alignment top_right
#alignment top_left
gap_x 1
gap_y 2
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacebar yes

TEXT

${color slate grey}SYSTEM${hr 1}
${color slate grey}${time %a,} ${alignr}${color}${time %e %b %Y}
${color slate grey}EST${alignr}${color}${time %I:%M %P}
${color slate grey}Uptime:${alignr}${color}$uptime
${color slate grey}Kern:${alignr}${color}$kernel
${color slate grey}BATTERY${hr 1}
${color slate grey}Power:${alignr}${color}${acpiacadapter}
${color slate grey}Status:${alignr}${color}${battery BAT1}
${color slate grey}Time:${alignr}${color}${battery_time BAT1}
${color slate grey}CPU${hr 1}
${color slate grey}Temp:${alignr}${color}${acpitemp}C
${color slate grey}Speed:${alignr}${color}${freq}MHz
${color slate grey}Load:${alignr}${color}${loadavg}
$cpu%${alignr}${cpubar 3,100}
${color slate grey}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 slate grey}MEM:${alignr}${color}$mem/$memmax
$memperc%${alignr}${membar 3,100}
${color slate grey}SWAP:${alignr}${color}$swap/$swapmax
$swapperc%${alignr}${swapbar 3,100}
${color slate grey}ROOT: ${color }${fs_free /}/${fs_size /}
${fs_used /}${alignr}${fs_bar 3,100 /}
${color slate grey}HOME: ${color }${fs_free /home}/${fs_size /home}
${fs_used /home}${alignr}${fs_bar 3,100 /home}
${color slate grey}NET${hr 1}
${color slate grey}IP:${alignr}${color}${addr eth1}
${color slate grey}Host:${alignr}${color}$nodename
${color}Up: ${color }${upspeed eth1} k/s
${upspeedgraph eth1 20,150 0b1a72 1834de}
${color}Down: ${color }${downspeed eth1} k/s${color}
${downspeedgraph eth1 20,150 0b1a72 1834de}

tigerpants
March 7th, 2007, 10:49 PM
Check my conky badboy out. :)

th3gh05t
March 8th, 2007, 09:58 PM
Hi,

I can't get the gmail.py script to work in my conky.

Here is .conkyrc:


# 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 1.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 200 5
maximum_width 300

# 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 5

# border widt5
border_width 6

# 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}System ${hr 2}
${color #e5e5e5}Ubuntu $sysname $kernel on $nodename
${color #e5e5e5}Uptime $alignr $uptime
${color #e5e5e5}Cpu $color $alignr $cpu%
${color #e5e5e5}Load $alignr $loadavg
${color #e5e5e5}Ram $color $memperc% ${color #98c2c7}${membar 6}${color #98c2c7}
${color #e5e5e5}Swap $color $swapperc% ${color #98c2c7}${swapbar 6}${color #98c2c7}
${color #e5e5e5}Processes $color $processes Running$color $running_processes
${color #e5e5e5}Ram $mem $alignr Swap $swap

${color #ffcb48}Processes ${hr 2}
${color #98c2c7}NAME PID CPU% MEM%
${color #e5e5e5}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #e5e5e5}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #e5e5e5}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #e5e5e5}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}

${color #ffcb48} Memory ${hr 2}
${color #98c2c7}NAME PID CPU% MEM%
${color #e5e5e5}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #e5e5e5}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #e5e5e5}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #e5e5e5}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}

${color #ffcb48}Networking ${hr 2}
${color #e5e5e5}ip address: $color${addr eth0}
${color #e5e5e5}down: $color${downspeed eth0}k/s
${color #e5e5e5}up: $color${upspeed eth0}k/s

${color #ffccaa}derekstormed@gmail.com
${color #e5e5e5}${texeci 120 python ~/gmail.py}

Here is my gmail.py:


import feedparser
from sys import stdout
d=feedparser.parse("https://derekstormed:password@gmail.google.com/gmail/feed/atom")
stdout.write(str(len(d['entries'])))

How do I make it work?

STREETURCHINE
March 9th, 2007, 05:03 AM
i would like to resize my conky but don,t realy know which lines to edit,have fiddled with it but i just seem to enlarge it or spread it all over the place...lol



background yes
use_xft yes
xftfont Terminus:size=8
xftalpha 0.8
update_interval 2.0
total_run_times 0
own_window no
double_buffer yes
minimum_size 100 5
draw_shades yes
draw_outlines no
draw_borders no
stippled_borders 0
border_margin 4
border_width 3
default_color white
default_shade_color black
default_outline_color white
#alignment bottom_right
#alignment bottom_left
alignment top_right
#alignment top_left
gap_x 15
gap_y 15
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacebar yes

TEXT

${color steel blue}SYSTEM${hr 1}
${color steel blue}${time %a,} ${alignr}${color}${time %e %b %Y}
${color steel blue}EST${alignr}${color}${time %I:%M %P}
${color steel blue}Uptime:${alignr}${color}$uptime
${color steel blue}Kern:${alignr}${color}$kernel

${color cd4d00}HARDDRIVE ${hr 5}$color
Total: ${fs_used /} / ${fs_size /}
${fs_free_perc /}% ${fs_bar 6 /}$color
${color #0077ff}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color lightgrey}${freq_dyn}Mhz
${color #0077ff}Usage: ${color lightgrey}${cpu}% ${color #FCFF00}${cpubar}
${color #0077ff}${cpugraph 000000 FCFF00}
${color #0077ff}Processes:${color lightgrey} $processes ${color #0077ff}Run:${color lightgrey} $running_processes
${color #0077ff}CPU Usage PID CPU% MEM%
${color steel blue} ${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 steel blue}CPU${hr 1}
${color steel blue}Temp:${alignr}${color}${acpitemp}C
${color steel blue}Speed:${alignr}${color}${freq}MHz
${color steel blue}Load:${alignr}${color}${loadavg}
$cpu%${alignr}${cpubar 3,100}
${color steel blue}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 steel blue}MEM:${alignr}${color}$mem/$memmax
$memperc%${alignr}${membar 3,100}
${color steel blue}SWAP:${alignr}${color}$swap/$swapmax
$swapperc%${alignr}${swapbar 3,100}
${color steel blue}ROOT: ${color }${fs_free /}/${fs_size /}
${fs_used /}${alignr}${fs_bar 3,100 /}
${color steel blue}HOME: ${color }${fs_free /home}/${fs_size /home}
${fs_used /home}${alignr}${fs_bar 3,100 /home}
${color steel blue}NET${hr 1}
${color steel blue}IP:${alignr}${color}${addr eth0}
${color steel blue}Host:${alignr}${color}$nodename
${color}Up: ${color }${upspeed eth0} k/s
${upspeedgraph eth0 20,150 0b1a72 1834de}
${color}Down: ${color }${downspeed eth0} k/s${color}
${downspeedgraph eth0 20,150 0b1a72 1834de}

${color steel blue}FORTUNE ${hr 2}$color
${execi 3600 fortune -s | fold -w50}

so can anyone show me what lines to edit,it currently takes up about a quarter or the sceen.wold like it to be around 1/5 - or 1/6 of the screen...thank you

OffHand
March 9th, 2007, 08:25 AM
i would like to resize my conky but don,t realy know which lines to edit,have fiddled with it but i just seem to enlarge it or spread it all over the place...lol

so can anyone show me what lines to edit,it currently takes up about a quarter or the sceen.wold like it to be around 1/5 - or 1/6 of the screen...thank you

# Minimum size of text area
minimum_size 260
maximum_width 260

Pugwash
March 9th, 2007, 08:51 AM
Hi,

Sorry, whats conkyrc? Is it like a desktop widget?I checked my /usr/share/doc/conky/examples/conkyrc.sample.gz , but its empty? How do I set it up?

Cheers

~LoKe
March 9th, 2007, 08:54 AM
Hi,

Sorry, whats conkyrc? Is it like a desktop widget?I checked my /usr/share/doc/conky/examples/conkyrc.sample.gz , but its empty? How do I set it up?

Cheers


sudo apt-get install conky
~/.conkyrc is the configuration file. It's called ".conkyrc" and it's located in your home folder. Typing "gksudo gedit ~/.conkyrc" will let you edit the configuration file.

Pugwash
March 9th, 2007, 09:05 AM
Thanks for the info Loke :) . Just set mine up, very nice. I stole the code from PartisanEntity. I love linux.

OffHand
March 9th, 2007, 09:35 AM
sudo apt-get install conky
~/.conkyrc is the configuration file. It's called ".conkyrc" and it's located in your home folder. Typing "gksudo gedit ~/.conkyrc" will let you edit the configuration file.

sudo isn't needed ;)

~LoKe
March 9th, 2007, 09:37 AM
sudo isn't needed ;)

Quite right. I have a bad habit of using sudo, mainly because most other files I edit require super user permissions, and I hate having to close, reopen and modify again.

STREETURCHINE
March 9th, 2007, 10:46 AM
# Minimum size of text area
minimum_size 260
maximum_width 260

thanks that got it sorted a simple thing like size instead of width.
no wonder i could not get it to go down

~LoKe
March 10th, 2007, 09:00 AM
Maybe someone can help. I'm trying to get color to work with my weather script.

Here's a little snip from weather.xslt:

Humidity: </xsl:text><xsl:value-of select="hmid"/><xsl:text>%</xsl:text>
I'd like the values after "Humidity:" to have a color, say, #95956B. How would I go about doing this?

Darko Beta
March 12th, 2007, 08:53 AM
Here is mine... Conky rules, by the way.


# 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 yes
xftfont Domestic Manners

# Update interval in seconds
update_interval 3.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
#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 001831

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 350
gap_y 40

# stuff after 'TEXT' will be formatted on screen

TEXT
$Uptime: $uptime | Memory: $memperc% | Home: ${fs_used /home} / ${fs_size /home} | External HDD: ${fs_used /media/My Book} / ${fs_size /media/My Book}





${time %A}
${time %B %e, %G}

${execi 300 /home/bbolender/.weather/weather.sh 52240}

mertle
March 14th, 2007, 02:49 AM
Here's mine. I'll tell ya... fiddlin' with Conky has become almost an obsession- be warned. It may be addictive. :D

- mertle


own_window yes
own_window_type desktop
own_window_transparent yes
double_buffer yes
use_spacer no
update_interval 1.5
draw_shades no
maximum_width 200
minimum_size 200
use_xft yes
draw_outline no
draw_borders no
draw_graph_borders yes
uppercase no
default_color grey
font Sans Serif:size=8
alignment top_right
gap_x 5
gap_y 30
xmms_player infopipe

################################################## ########

TEXT
$hr
${color white}${voffset -6}$alignr SYSTEM$color
${voffset -5}$hr
${color white}${offset 5}User ${offset 5}:$color mertle@$nodename
${color white}${offset 5}Kernel ${offset 1}:$color $kernel ($machine)
${color white}${offset 5}KDE ${offset 5}:$color ${execi 43200 kde-config --version | grep KDE | sed -e 's/.*: //'}
${color white}${offset 5}Uptime :$color $uptime
$hr
${color white}${voffset -6}$alignr CPU & MEMORY$color
${voffset -5}$hr
$alignc $acpitempf° F ($acpitemp° C)
$alignc ${cpugraph 25,150 ab2881 2885ab}
$alignc $cpu% @ $freq MHz

${color white}${offset 5}Ram${offset 9}:$color ${membar 5,110}${offset 5}: $memperc%
${color white}${offset 5}Swap :$color ${swapbar 5,110}${offset 5}: $swapperc%
$hr
${color white}${voffset -6}$alignr NETWORK$color
${voffset -5}$hr
${color white}$alignc ::: Wireless :::$color
${voffset 3}$alignc Signal : ${linkstatus eth1}%
${offset 20}${voffset 3}Dn : ${downspeedf eth1} k/s${alignr 20}Up : ${upspeedf eth1} k/s

${color white}$alignc ::: Modem :::$color
${offset 20}${voffset 3}Dn : ${downspeedf ppp0} k/s${alignr 20}Up : ${upspeedf ppp0} k/s
$hr
${color white}${voffset -6}$alignr PARTITIONS$color
${voffset -5}$hr
${color white}${offset 5}Kubuntu ${offset 4}: $color${fs_bar 5,95 /}${offset 5}: ${fs_free_perc /}%
${color white}${offset 5}Windows : $color${fs_bar 5,95 /media/win/}${offset 5}: ${fs_free_perc /media/win/}%
$hr
${color white}${voffset -6}$alignr MUSIC$color
${voffset -5}$hr
${color white}$alignc ::: $xmms_status :::$color
${voffset 3}$alignc $xmms_title

bonzodog
April 8th, 2007, 09:49 AM
I have just installed conky and want a script for a one line conky with up/down, ddate, and the time.

This will mean I can do away with my dockapp clock.

~LoKe
April 8th, 2007, 10:07 AM
http://img187.imageshack.us/img187/2037/040807th6.th.jpg (http://img187.imageshack.us/img187/2037/040807th6.jpg)

#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent no
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager

#borders
draw_borders no
border_margin 1

#shades
draw_shades no

#position
gap_x 0
gap_y 0
alignment top_left

#behaviour
update_interval 1

#colour
default_color bfbfbf
#default_shade_color 000000
## own_window_colour 484432
own_window_colour 000000

#font
use_xft yes
xftfont DejaVu Sans:pixelsize=9

#to prevent window from moving
use_spacer no
##minimum_size 1276 0
minimum_size 2560 0

#mpd
mpd_host localhost
mpd_port 6600

TEXT
${voffset -1} ${color FFFFFF}Blackbox @ ${color 95956B}${freq_dyn}MHz ${color FFFFFF} | Core1: ${color 95956B}${font}${cpu cpu1}% ${color FFFFFF}Core2: ${color 95956B}${font}${cpu cpu2}% ${color FFFFFF} Mem: ${color 95956B}${font}${mem} ${color FFFFFF} | ${color FFFFFF} Up: ${color 95956B}${font}${uptime_short}${color FFFFFF} | ${color FFFFFF} Net: ${color 95956B}${font}${downspeed eth0} Kb/s ${color FFFFFF} ${totaldown eth0} down${color FFFFFF} | ${color FFFFFF} ${color 95956B}${upspeed eth0} Kb/s ${color FFFFFF} ${totalup eth0} up${color FFFFFF} | ${color FFFFFF}Root: ${color 95956B}${font}${fs_free /} ${color FFFFFF} Home: ${color 95956B}${font}${fs_free /home} ${color FFFFFF} | Email: ${color 95956B}${execi 300 python ~/.conky/gmail.py} ${color FFFFFF} | ${color FFFFFF} Mpd: ${color 95956B}${font}${mpd_smart} ${color FFFFFF} | ${execi 60 ~/.conky/weather.sh CAXX0255} | ${color 95956B}Give them nothing, but take from them, EVERYTHING!

bonzodog
April 8th, 2007, 11:20 AM
Have sorted it out, got conky just how I want it.

Based the rc file on KMandla's, nice, clean, and simple.



background yes
use_xft yes
xftfont HeldustryFTVBasic:size=8
xftalpha 0.8
update_interval 2
own_window yes
own_window_colour white
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type override
double_buffer yes
draw_shades no
draw_outline no
stippled_borders no
border_margin 0
border_width 1
default_color black
#default_shade_color white
alignment bottom_right
maximum_size 1262
gap_x 9
gap_y 9
use_spacer no
no_buffers yes
uppercase yes

TEXT
${alignr}${color #000000} down: ${downspeed eth0}Kb/s | up ${upspeed eth0}Kb/s | ${exec ddate "+%A,%e of %B,%Y"} | ${time %T}

http://xs514.xs.to/xs514/07140/openzen7.png.xs.jpg (http://xs.to/xs.php?h=xs514&d=07140&f=openzen7.png)

PartisanEntity
April 8th, 2007, 12:33 PM
something just occurred to me, conky will ping the processor perhaps every second or a little more, doesn't that put unnecessary load on the processor? How does this constant pinging of the system affect system health? Hard disks for example, etc?

StarscreamD
April 10th, 2007, 06:56 PM
This is conky playing nice with beryl, thanks to this thread and its contributions.


# UBUNTU-CONKY-EditedbyStarscreamD
# A comprehensive conky script, configugold 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 (requigold in nautilus)
own_window no
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (golduces 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 250 4

minimum_size 220
maximum_width 220

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
#font Sans Serif:
uppercase no # set to yes if you want all text to be in uppercase
# Xft font when Xft is enabled
xftfont Sans-Serif:size=7

# Stippled borders?
stippled_borders 3

# border margins
border_margin 5

# border width
border_width 2b0

# Default colors and also border colors, grey90 == #e5e5e5
default_color black

own_window_colour black
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 70

# stuff after 'TEXT' will be formatted on screen

TEXT
$color
${color black}SYSTEM ${hr 2}$color

$nodename $sysname $kernel on $machine

Uptime: ${uptime}

${color black}CPU ${hr 2}$color

${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'}

${freq}MHz Load: ${loadavg}

$cpubar

${cpugraph FFFFFF 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}

${color black}MEMORY / DISK ${hr 2}$color

RAM: $memperc% ${membar 6}$color

Swap: $swapperc% ${swapbar 6}$color

Root: ${fs_free_perc /}% ${fs_bar 6 /}$color

Shared: ${fs_free_perc /media/shared}% ${fs_bar 6 /media/shared}$color

${color black}NETWORK (${addr eth0}) ${hr 2}$color

Down: $color${downspeed eth0} k/s

${downspeedgraph FFFFFF ffffff}

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}
http://i37.photobucket.com/albums/e71/starscreamd/dtwbc.jpg

StarscreamD
April 10th, 2007, 07:12 PM
My download speed graph isn't working, anybody diagnose from the code why that is? Thanks again!

OffHand
April 10th, 2007, 07:54 PM
My download speed graph isn't working, anybody diagnose from the code why that is? Thanks again!

remove: $color

grte
April 10th, 2007, 08:06 PM
http://img230.imageshack.us/img230/8321/200704101259541280x1024om3.th.png (http://img230.imageshack.us/my.php?image=200704101259541280x1024om3.png)

PartisanEntity
April 10th, 2007, 08:13 PM
something just occurred to me, conky will ping the processor perhaps every second or a little more, doesn't that put unnecessary load on the processor? How does this constant pinging of the system affect system health? Hard disks for example, etc?

Anyone care to tackle this question?

jfinkels
April 10th, 2007, 09:03 PM
# 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 Bitstream Vera Sans Mono-9
#xftfont Andale Mono-9
#xftfont Clean-9
#xftfont cubicfive10:pixelsize=10
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=12

# Text alpha when using Xft
xftalpha 0.65

mail_spool $MAIL

# Update interval in seconds
update_interval 1.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 230
maximum_width 320

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no # amplifies text

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 4

# border width
border_width 1

# 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 10
gap_y 25

# 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

## IF I WANT TO ADD THE WEATHER BACK IN...
#${color #ffcb48}WEATHER$color ${color #ffcb48}${hr 2}$color
# ${execi 1800 /home/jeff/.conky-weather/weather.sh 02155}
##

## IF I WANT THE HDD TEMPERATURE BACK IN...
# temp:$color ${hddtemp /dev/sda}
##

## IF I WANT BATTERY STATE BACK IN...
#${color #ffcb48}BATTERY STATE$color ${color #ffcb48}${stippled_hr}$color
# $battery (time left: ${battery_time})
##

TEXT

${color #ffffff}$nodename$color
$alignc ${color #ffffff}$sysname $kernel on $machine$color
$alignr ${color #ffffff}Uptime:$uptime$color
$stippled_hr

${color #ffcb48}CPU$color (${freq_g}GHz) ${color #ffcb48}$stippled_hr$color
${color #98c2c7}usage:$color $cpu% $alignr ${color #98c2c7}temp:$color $acpitemp
${cpugraph 7b1d16 ca7f1a}$color
${color #98c2c7}NAME PID CPU% MEM%
${color #e5e5e5}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #d4d4d4}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #cacaca}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #c0c0c0}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color #bababa}${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color #ffcb48}HDD$color ${color #ffcb48}${stippled_hr}$color
${color #98c2c7}used:$color ${fs_used_perc /}% ($fs_used/$fs_size) $alignr ${color #98c2c7}
${color #c2c798}${fs_bar 6 /}$color
${color #98c2c7}disk IO:$color $diskio
${color #c2c798}${diskiograph 161d7b 1a7fca}$color

${color #ffcb48}RAM$color ${color #ffcb48}${stippled_hr}$color
${color #98c2c7}RAM used:$color $memperc% ($mem/$memmax)
${color #c2c798}${membar 6}$color
${color #98c2c7}swap used:$color $swapperc% ($swap/$swapmax)
${color #c2c798}${swapbar 6}$color

${color #ffcb48}NETWORKING$color ${color #ffcb48}${stippled_hr}$color
${color #98c2c7}eth0 (${addr eth0})$color $alignr ${color #98c2c7}eth1 (${addr eth1}|${linkstatus eth1}%)$color
download ${color green}${downspeed eth0}kb/s$color $alignr download ${color green}${downspeed eth1}kb/s$color
${color #c2c798}${downspeedgraph eth0 25,140 1d761b 5faa00}$alignr${downspeedgraph eth1 25,140 1d761b 7fca1a}$color
upload ${color red}${upspeed eth0}kb/s$color $alignr upload ${color red}${upspeed eth1}kb/s$color
${color #c2c798}${upspeedgraph eth0 25,140 760d0b ca3f1a}$alignr${upspeedgraph eth1 25,140 761d1b ca7f1a}$color

${if_running mpd}
${color #ffcb48}MUSIC$color ($mpd_status) ${color ffcb48}${stippled_hr}$color
$alignr shuffle[$mpd_random] repeat[$mpd_repeat]
$alignc${color 98c2c7}$mpd_artist$color::${color c2c798}$mpd_album$color
$alignc${mpd_track} $mpd_title
$mpd_elapsed ${mpd_bar 5,222} $alignr $mpd_length
$endif


How come everybody else's conky always looks better than your own? The grass is always greener...

EDIT: By the way, brownie points if you know who's on my desktop!

StarscreamD
April 11th, 2007, 04:28 AM
remove: $color

Great Offhand, thanks again all. After a lil tweaking, check me out now!

http://i37.photobucket.com/albums/e71/starscreamd/dtwbcupdate.png

OffHand
April 11th, 2007, 07:11 AM
something just occurred to me, conky will ping the processor perhaps every second or a little more, doesn't that put unnecessary load on the processor? How does this constant pinging of the system affect system health? Hard disks for example, etc?
Conky (or any other system monitor) does not harm your computer ;)

GSF1200S
April 12th, 2007, 09:50 AM
$nodename - $sysname $kernel on $machine
$stippled_hr
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}CPU Usage:${color red} ${cpu}% ${cpubar}
${color black}${cpugraph 000000 5000a0}
${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}CPU Usage PID CPU% MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 3} ${top mem 4}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color lightgrey} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color lightgrey} ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
$color$stippled_hr
${color lightgrey}File systems:
Ext3: ${fs_free_perc /}% ${fs_bar 6 /}$color
NTFS: ${fs_free_perc /media/desktop}% ${fs_bar 6 /media/desktop}$color
$color$stippled_hr
${color lightgrey}Networking: ${color lightgrey}Address: ${color #lightgrey}${addr ath0}${alignr}${color lightgrey}
Download:${color #8844ee} ${downspeed ath0} k/s${color lightgrey} ${offset 60}Upload:${color #22ccff} ${upspeed ath0} k/s
${color black}${downspeedgraph ath0 32,150 ff0000 0000ff} $alignr${color black}${upspeedgraph ath0 32,150 0000ff ff0000}
${color lightgrey}Tot: ${color}${totaldown ath0} ${alignr}${offset -85}${color lightgrey}Tot:${color} ${totalup ath0}
${color lightgrey}Wireless: ${color} ${linkstatus ath0}% Signal Strength
$color$stippled_hr
${color lightgrey}Now Playing: ${color} ${exec rhythmbox-client --no-start --print-playing}

Sorry its so long... I still dont know how to do text boxes...

banditti
April 13th, 2007, 08:55 PM
Thanks for the mini howto on weater featherking. I like it alot.

tokyo
April 17th, 2007, 09:53 PM
modified the default .conkyrc setup

(click for full size)
http://picsorban.com/upload/conky.thumb.png (http://picsorban.com/upload/conky.png)



# 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 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
font sans
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

Ubuntu $sysname
${loadavg} ${alignr}uptime $uptime
$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}
${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}

root ${fs_free_perc /} % ${fs_bar 6 /}$color
media ${fs_free_perc /media/media} % ${fs_bar 6 /media/media}
windows ${fs_free_perc /media/windows} % ${fs_bar 6 /media/windows}$color

RAM $memperc% ${membar 6}$color
swap $swapperc% ${swapbar 6}$color

eth1
down $color${downspeed eth1} k/s ${alignr}up ${upspeed eth1} k/s
${downspeedgraph eth1 25,140 000000 5a5a5a} ${alignr}${upspeedgraph eth1
25,140 000000 5a5a5a}$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}

${execi 120 fortune -s | fold -w50}


simple, but i like it :)

pawelq
April 18th, 2007, 04:51 PM
Here is mine config:

http://pastebin.ca/446567

screen:

http://img114.imageshack.us/img114/3328/conky5sf1.th.png (http://img114.imageshack.us/my.php?image=conky5sf1.png)

Angry penguin
April 19th, 2007, 09:30 PM
# 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 3.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
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 orange}SYSTEM ${hr 2}$color
$nodename $sysname $kernel on $machine

${color orange}CPU ${hr 2}$color
${freq}MHz Load: ${loadavg} Temp: ${acpitemp}
$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}
${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7}

${color orange}MEMORY / DISK ${hr 2}$color
RAM: $memperc% ${membar 6}$color
Swap: $swapperc% ${swapbar 6}$color

Root: ${fs_free_perc /}% ${fs_bar 6 /}$color
hdd1: ${fs_free_perc /media/hdd1}% ${fs_bar 6 /media/hdd1}$color

${color orange}NETWORK (${addr wlan0}) ${hr 2}$color
Down: $color${downspeed wlan0} k/s ${alignr}Up: ${upspeed wlan0} k/s
${downspeedgraph wlan0 25,140 000000 ff0000} ${alignr}${upspeedgraph wlan0
25,140 000000 00ff00}$color
Total: ${totaldown wlan0} ${alignr}Total: ${totalup wlan0}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}

${color orange}LOGGING ${hr 2}$color
${execi 30 tail -n3 /var/log/messages | fold -w50}

bimmerd00d
April 19th, 2007, 09:54 PM
Conky > *. Best application i've found yet. Thanks to everyone on here who I got some ideas for my conkyrc from.

freduardo
April 20th, 2007, 12:38 PM
Hope you guys (and galls!) don't mind "a debian one". (its just that I prefer these forums and I use xubuntu on my laptop).
Anyway here it is:


# CONKY

# 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 Dejavu Sans Mono:size=9

# Update interval in seconds
update_interval 1.0

# Minimum size of text area
minimum_size 300 5
maximum_width 300

# 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, grey90 == #e5e5e5
default_color 004500

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 darkblue}LOCATION ${hr 2}$color
WhereYouAt?${alignr}Leuven, Belgium
Date${alignr}${time %a,}${color}${time %e %b %Y}
Time${alignr}${color}${time %I:%M %P}

${color darkblue}SYSTEM ${hr 2}$color
Debian GNU/Linux - Lenny (testing)
$nodename $sysname $kernel on $machine
Uptime: ${uptime}

${color darkblue}CPU ${hr 2}$color
${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'}
${freq}MHz Load: ${loadavg} Temp: ${acpitemp}°C
$cpubar
${cpugraph}
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 darkblue}MEMORY ${hr 2}$color
RAM: $memperc% ${membar 6}$color
Swap: $swapperc% ${swapbar 6}$color

${color darkblue}DISKS ${hr 2}$color
Root: Used ${fs_used /} of ${fs_size /} ${alignr}${fs_free_perc /}%
${fs_bar 6 /}$color

Win: Used ${fs_used /media/Windows} of ${fs_size /media/Windows} ${alignr}${fs_free_perc /media/Windows}%
${fs_bar 6 /media/Windows}$color

Data: Used ${fs_used /media/Data} of ${fs_size /media/Data} ${alignr}${fs_free_perc /media/Data}%
${fs_bar 6 /media/Data}

${color darkblue}NETWORK ${hr 2}$color
INTERNET (${addr eth1})
Down: $color${downspeed eth1} k/s ${alignr}Up: ${upspeed eth1} k/s
${downspeedgraph eth1 25,140} ${alignr}${upspeedgraph eth1
25,140}$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}

LOCAL (${addr eth2})
Down: $color${downspeed eth2} k/s ${alignr}Up: ${upspeed eth2} k/s
${downspeedgraph eth2 25,140} ${alignr}${upspeedgraph eth2
25,140}$color
Total: ${totaldown eth2} ${alignr}Total: ${totalup eth2}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}

${color darkblue}MEDIA ${hr 2}$color
Now Playing: ${color} ${exec rhythmbox-client --no-start --print-playing}



I pretty much made it out of other people's conky configs posted here. (So a big thanks for the "inspiration" ;) ).

Marsan
April 22nd, 2007, 06:59 PM
Here is my conky setup. Its pretty light and got nothing spetacular though. The conky window tend to flicker some times, i dont know how to fix that..suggestions sombody?




update_interval 5
#use_xft yes
#xftfont
default_color white
draw_shades no

TEXT

SYSTEM ${hr 2}
$nodename
$time
Uptime: $uptime_short
$kernel on $machine

CPU ${hr 2}
CPU: $freq_g Ghz
CPU temp: $acpitemp C
CPU use: $cpu % $alignc${cpubar 8}
Processes: $running_processes/$processes

MEMORY ${hr 2}
Memorey usage: $mem/$memmax
$memperc % $alignc${membar 8}

NAME CPU% MEM%
${top name 1}${top cpu 1} ${top mem 1}
${top name 2}${top cpu 2} ${top mem 2}

DISKS ${hr 2}
Home: ${fs_free /home} ${fs_used_perc /home}% ${fs_bar 8 /home}
NTFS: ${fs_free /media/ntfs} ${fs_used_perc /media/ntfs}% ${fs_bar 8 /media/ntfs}

NETWORK ${hr 2}
IP: ${addr ra0}
Signal: ${linkstatus ra0}%
Down: ${downspeed ra0} Kb/s ${alignr}Up: ${upspeed ra0} Kb/s
${downspeedgraph ra0 15,50 ffffff ffffff} ${alignr}${upspeedgraph ra0 15,50 ffffff ffffff}$color
Total: ${totaldown ra0} ${alignr}Total: ${totalup ra0}

ceil420
April 22nd, 2007, 07:34 PM
Designed when I was using a dark theme (including wallpaper), so it's kinda hard to make out the "CPU Monsters" and such right now :x But here it is:


#Ceil's Conkeh

alignment top_right
background true
border_margin 4
border_width 1

cpu_avg_samples 2
net_avg_samples 2

default_color white
default_outline_color white
default_shade_color white

double_buffer yes

draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no

font -adobe-courier-bold-r-normal-*-0-0-100-100-m-0-iso8859-1

gap_x 12
gap_y 38

maximum_width 420

no_buffers yes

own_window no
own_window_transparent no
own_window_color orange

pad_percents 2

stippled_borders 2

total_run_times 0
update_interval 1

use_xft yes
xft_alpha 0.75
xftfont Bitstream Vera Sans Mono:size=8

#NEEDS TO BE FIXED AND PLACED BELOW
#${color #f8f8ff}XMMS2: $xmms2_status $xmms2_artist - $xmms2_title from $xmms2_album
#Progress: $xmms2_bar

#${color black} ${upspeedgraph eth0 32,280 40e0d0 7fffd4} $alignr${color black}${downspeedgraph eth0 32,180 f08080 ff6347}

TEXT
${color #f8f8ff}$nodename - $sysname $kernel on $machine
$hr
${color #f8f8ff}Uptime: $uptime Localtime: $time
${color #f8f8ff}RAM Usage: $mem/$memmax - $memperc% ${color blue} ${membar 4}
${color #f8f8ff}Swap Usage: $swap/$swapmax - $swapperc% ${color green} ${swapbar 4}
${color #f8f8ff}CPU Usage: $cpu% of ${freq}MB ${color red} ${cpubar 4}
${color black} ${cpugraph 9400d3 ff69b4}
${color #f8f8ff}Processes:$color $processes ${color #f8f8ff}Running:$color $running_processes
$hr
${color #f8f8ff}Disk Space: $color${fs_free /}/${fs_size /} ${color orange}${fs_bar 6 /}
${color #f8f8ff}Zen Space: $color${fs_free /media/zen}/${fs_size /media/zen} ${color #6AE3AD}${fs_bar 6 /media/zen}
${color #f8f8ff}${alignc}Networking
${color #f8f8ff}Up:$color ${upspeedf eth0} k/s $alignr${color #f8f8ff}Down:$color ${downspeedf eth0} k/s
${color black}${upspeedgraph eth0 24,180 528b8b 7fffd4} $alignr${color black}${downspeedgraph eth0 24,180 ff4500 fafad2}$color
$hr
${color red}CPU Monsters:
${color #ff34b3}Name PID CPU% MEM%
${color #ffaeb9} ${top name 1} ${color}${top pid 1} ${top cpu 1} ${top mem 1}
${color #ffaeb9} ${top name 2} ${color}${top pid 2} ${top cpu 2} ${top mem 2}
${color #ffaeb9} ${top name 3} ${color}${top pid 3} ${top cpu 3} ${top mem 3}
${color #ffaeb9} ${top name 4} ${color}${top pid 4} ${top cpu 4} ${top mem 4}
${color #ffaeb9} ${top name 5} ${color}${top pid 5} ${top cpu 5} ${top mem 5}
$stippled_hr
${color #8666ff}RAM Monsters:
${color #a666ff}Name PID CPU% MEM%
${color #b9aeff} ${top_mem name 1} $color${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #b9aeff} ${top_mem name 2} $color${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #b9aeff} ${top_mem name 3} $color${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #b9aeff} ${top_mem name 4} $color${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color #b9aeff} ${top_mem name 5} $color${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
$hr
${color}$audacious_title
${color}$audacious_bar
${color}$audacious_status [${audacious_position}/${audacious_length}] ${audacious_bitrate}bps ${audacious_frequency}Hz
$hr

stalker145
April 23rd, 2007, 12:06 PM
The conky window tend to flicker some times, i dont know how to fix that..suggestions sombody?

I used this HowTo (http://ubuntuforums.org/showpost.php?p=1194508&postcount=1) in my setup and it fixed the blinking. Basically you're enabling "double_buffer" in the .conkyrc file and "load dbe" in xorg.conf. Those two items stopped the blinking on my computers, so hopefully it fixes your's as easily.

Marsan
April 23rd, 2007, 06:56 PM
I used this HowTo (http://ubuntuforums.org/showpost.php?p=1194508&postcount=1) in my setup and it fixed the blinking. Basically you're enabling "double_buffer" in the .conkyrc file and "load dbe" in xorg.conf. Those two items stopped the blinking on my computers, so hopefully it fixes your's as easily.

Thanks for the tip..ill try that :)

dutch_gecko
April 24th, 2007, 03:34 AM
Thanks for the tip..ill try that :)
Like so many others, a mix'n'match of what's already been posted, plus some of my own fiddling.

It's in the bottom right if you can't find it at first ;)
http://img413.imageshack.us/img413/5429/conkymq2.th.png (http://img413.imageshack.us/img413/5429/conkymq2.png)


background yes
use_xft yes
xftfont AvantGarde Bk BT:size=8
xftalpha 0.5
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 424 5
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color 6c6c6c
default_shade_color 6c6c6c
default_outline_color 6c6c6c
alignment bottom_left
gap_x 848
gap_y 0
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer yes

TEXT
$mpd_status - $mpd_artist - $mpd_title ${alignr 1}${mpd_bar 8,150}
$hr
${color 6c6c6c}Uptime: $uptime - CPU: $cpu% - Load: $loadavg - RAM: $mem - $memperc%${alignr 1}${cpugraph cpu1 8,30} ${memgraph mem 8,30}
Swap: $swap - $swapperc% - Disk: ${fs_used /bin/bash} - ${fs_free_perc /bin/bash}% Free - Down: ${downspeed eth0} k/s Up: ${upspeed eth0} k/s${alignr 1}${downspeedgraph eth0 8,30} ${upspeedgraph eth0 8,30}

dannyboy79
April 24th, 2007, 10:07 AM
can anyone give me a hand. I want to switch from gdesklets to conky but in most of the examples I see there is normally only 1 or 2 hard drive monitors. I have 4 or 5 I want to monitor. I have attached a picture of my current gdesklets setup and would like a similat conky. the colors as well if that's possible. can anyone help maybe???

diskotek
April 24th, 2007, 05:37 PM
# CONKY

# 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 Dejavu Sans Mono:size=9

# Update interval in seconds
update_interval 1.0

# Minimum size of text area
minimum_size 300 5
maximum_width 200

# 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, grey90 == #182D47
default_color 182D47

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 25

# stuff after 'TEXT' will be formatted on screen

TEXT

${color black}Diskötek v 2.0 ${hr 2}$color
Ubuntu Edgy Eft
$nodename $sysname
$kernel on $machine
${color black}İşlemci ${hr 2}$color
${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'}
${freq}MHz Load: ${loadavg}
$cpubar
${top name 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top cpu 4} ${top mem 4}
${color black}Bellek ${hr 2}$color
RAM: $memperc% ${membar 6}$color
Swap: $swapperc% ${swapbar 6}$color
${color black}Ağ ${hr 2}$color
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,95} ${alignr}${upspeedgraph eth0
25,95}$color



quite simple & small, because my screen is small :)
by the way i couldn't make my acpitemp get worked, any ideas?

stalker145
April 25th, 2007, 01:03 AM
My new and, ummm, improved (?) Conky for my server. Dunno why, probably because my laptop is almost dead and now I have to sit in front of a desktop and need something to look at ;)


can anyone give me a hand... would like a similat conky. the colors as well if that's possible. can anyone help maybe???

Well, mine sure has a few HDD monitors. As for the colors, it's all guessing (to me) anyway.

Edit: Bah, can't believe i can't upload my file without a file extension :( well, it was an easy enough change :)

chomafin
April 25th, 2007, 04:00 AM
Here is mine, it has been shameless stolen from this thread and then modified from many googlings.
Gmail Script was taken from Brohan's Blog (http://brohan.ca/archives/281)

For Gmail script to work, few things need to be done
You need to have python & ruby installed, then also need to create an empty file for the ruby script, then because I'm lazy wget the files from brohan, and get the feedparser python module.

note: you will need to go into the .gmail.py script and change your user/password.


sudo apt-get install ruby python
touch /tmp/.gmailcount
sudo chmod +x /tmp/.gmailcount
wget http://brohan.ca/wp-content/uploads/2006/11/gmail | mv gmail ~/.gmail
wget http://brohan.ca/wp-content/uploads/2006/11/conkyhelper | mv conkyhelper ~/.conkyhelper.rb | sudo chmod +x .conkyhelper.rb
wget http://feedparser.googlecode.com/files/feedparser-4.1.zip | unzip feedparser-4.1.zip | sudo mv feedparser.py /usr/lib/python2.5/
My .conkyrc


# 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 Sans:size=8

# Text alpha when using Xft
xftalpha 0.2

# Print everything to console?
# out_to_console no

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 0.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,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}CPU:${color } $alignr$cpu%
${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}Home: $alignr${color }${fs_free /home}/${fs_size /home}
${fs_bar 3,100 /home}
${color #9fb6cd}LVMFTP: $alignr${color }${fs_free /lvmftp}/${fs_size /lvmftp}
${fs_bar 3,100 /lvmftp}

${color #9fb6cd}Eth0 IP: (${color}${addr eth0}${color #9fb6cd})
${color}Up: ${color }$alignr${upspeed eth0} kB/s
${upspeedgraph eth0 20,130 000000 ffffff}
${color}Down: ${color }$alignr${downspeed eth0}kB/s${color}
${downspeedgraph eth0 20,130 000000 ffffff}
${texeci 30 python ~/.gmail.py | ~/.conkyhelper.rb}${color #9fb6cd}GMail Messages: $color${if_existing /tmp/.gmailnew}${color red}$endif${exec cat /tmp/.gmailcount}

crimesaucer
April 25th, 2007, 06:43 AM
Edit.

ceil420
April 25th, 2007, 08:19 AM
Changed some stuph ^^ Mostly the colours, but a couple other details here and there.


#Ceil's Conkeh

alignment top_right
background true
border_margin 4
border_width 1

cpu_avg_samples 2
net_avg_samples 2

default_color white
default_outline_color white
default_shade_color white

double_buffer yes

draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no

font -adobe-courier-bold-r-normal-*-0-0-100-100-m-0-iso8859-1

gap_x 12
gap_y 38

maximum_width 420

no_buffers yes

own_window yes
own_window_transparent yes
own_window_type override
own_window_color orange

pad_percents 2

stippled_borders 2

total_run_times 0
update_interval 1

use_xft yes
xft_alpha 0.75
xftfont Bitstream Vera Sans Mono:size=8

TEXT
${color #BFBFBF}${nodename}${color} $sysname $kernel ${color #BFBFBF}on${color} $machine
$hr
${color #BFBFBF}Uptime:${color} $uptime ${color #BFBFBF}Localtime:${color} $time
${color #BFBFBF}RAM Usage:${color} $mem/$memmax - $memperc% ${color #249FD5} ${membar 4}
${color #BFBFBF}Swap Usage:${color} $swap/$swapmax - $swapperc% ${color #24D5A3} ${swapbar 4}
${color #BFBFBF}CPU Usage:${color} $cpu% of ${freq}MB ${color #E7A4AD} ${cpubar 4}
${color black} ${cpugraph 00a8a8 ffffff}
${color #BFBFBF}Processes:$color $processes ${color #f8f8ff}Running:$color $running_processes
$hr
${color #BFBFBF}Disk Space: $color${fs_free /}/${fs_size /} ${color orange}${fs_bar 6 /}
${color #BFBFBF}Zen Space: $color${fs_free /media/zen}/${fs_size /media/zen} ${color #6AE3AD}${fs_bar 6 /media/zen}
${color #BFBFBF}${alignc}Networking
${color #BFBFBF}Up:$color ${upspeedf eth0} k/s $alignr${color #f8f8ff}Down:$color ${downspeedf eth0} k/s
${color black}${upspeedgraph eth0 24,180 00a8a8 ffffff} $alignr${color black}${downspeedgraph eth0 24,180 00a8a8 ffffff}$color
$hr
${color #ff0000}CPU Monsters:
${color #ff007f}Name PID CPU% MEM%
${color #ff7f00} ${top name 1} ${color}${top pid 1} ${top cpu 1} ${top mem 1}
${color #ff7f00} ${top name 2} ${color}${top pid 2} ${top cpu 2} ${top mem 2}
${color #ff7f00} ${top name 3} ${color}${top pid 3} ${top cpu 3} ${top mem 3}
${color #ff7f00} ${top name 4} ${color}${top pid 4} ${top cpu 4} ${top mem 4}
${color #ff7f00} ${top name 5} ${color}${top pid 5} ${top cpu 5} ${top mem 5}
$stippled_hr
${color #0000ff}RAM Monsters:
${color #7f00ff}Name PID CPU% MEM%
${color #007fff} ${top_mem name 1} $color${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #007fff} ${top_mem name 2} $color${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #007fff} ${top_mem name 3} $color${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #007fff} ${top_mem name 4} $color${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color #007fff} ${top_mem name 5} $color${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
$hr
${color #BFBFBF}${audacious_status}$color $audacious_title
${color}$audacious_bar
${color #BFBFBF}Stats: [${color}${audacious_position}${color #BFBFBF}/${color}${audacious_length}${color #BFBFBF}]${color} ${audacious_bitrate}${color #BFBFBF}bps${color} ${audacious_frequency}${color #BFBFBF}Hz
$hr

ephman
April 29th, 2007, 01:18 AM
# 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 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
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 black}Host: ${color grey}$nodename
${color black}Uptime: ${color grey}$uptime
${color black}Kernel: ${color grey}$kernel
${color black}Freq: ${color grey}${freq}MHz ${color black}
Load: ${color grey}${loadavg}
${color black}CPU Temp: ${color grey}${i8k_cpu_temp}C
${color black}HDD Temp: ${color grey}${execi 300 nc localhost 7634 | cut -c54-55 ;}C
${color black}CPU: ${color grey}${cpu}%
${color black}Proc: ${color grey}$processes ${color black}Run: ${color grey}$running_processes
${cpugraph 25,140 000000}
${color black}CPU %
${color grey}${top name 1} ${top cpu 1}
${color grey}${top name 2} ${top cpu 2}
${color grey}${top name 3} ${top cpu 3}
${color grey}${top name 4} ${top cpu 4}

${color black}MEM %
${color grey}${top_mem name 1} ${top_mem mem 1}
${color grey}${top_mem name 2} ${top_mem mem 2}
${color grey}${top_mem name 3} ${top_mem mem 3}
${color grey}${top_mem name 4} ${top_mem mem 4}

${color black}RAM: ${color grey}$mem/$memmax $memperc%
${membar 25,140 6}$color
${color black}Swap: ${color grey}$swap/$swapmax $swapperc%
${swapbar 25,140}

${color black}HOME: ${color }${fs_free /home}/${fs_size /home}
${fs_bar 25,140 /}$color

${color black}HD IO: ${color grey}${diskio}
$color${diskiograph 25,140 000000}

${color black}Host: ${color grey}${addr eth1} @${linkstatus eth1}%
${color black}TCP Connections: ${color grey}${tcp_portmon 1 65535 count}

${color black}Total Up: ${color grey}${totalup eth1}
${color black}Up: ${color grey}${upspeed eth1}k/s
${upspeedgraph eth1 25,140 000000}

${color black}Total Down: ${color grey}${totaldown eth1}
${color black}Down: ${color grey}$color${downspeed eth1}k/s
${downspeedgraph eth1 25,140 000000}

K.Mandla
April 29th, 2007, 03:05 AM
Minimalistic.

http://xs114.xs.to/xs114/07170/clearlooks-conky.jpg.xs.jpg (http://xs.to/xs.php?h=xs114&d=07170&f=clearlooks-conky.jpg)


double_buffer yes
update_interval 3.0
background yes

own_window no

use_xft yes
override_utf8_locale no
xftfont Dejavu Sans:size=9
xftalpha 0.8
draw_shades no
draw_outline no
draw_borders no
uppercase no
use_spacer no

border_margin 9
border_width 0

default_color white
default_outline_color black

alignment bottom_left
gap_x 9
gap_y 9

TEXT
${font Dejavu Sans:bold:size=24}${time %H:%M}${font}
${stippled_hr}
${nodename} | ${kernel} | ${addr eth0} | cpu ${cpu}% | ram ${memperc}%
That's all. :KS

Spike-X
April 29th, 2007, 07:49 AM
Here's mine at the moment. I'll probably tweak the colours a bit, maybe play around with fonts.

Does anyone know how I can get rid of that weird accented "A" character in my CPU temp readout? Or, failing that, How I can get acpitemp to work?


# 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}$sysname ${color }$kernel $machine
${offset 240}${color slate grey}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color lightgrey}${freq_dyn}Mhz
${offset 240}${color slate grey}CPU:${color } $cpu% ${execi 30 sensors |grep "CPU" |cut -d " " -f6}
${offset 240}${cpugraph 20,130 000000 ffffff}
${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}RAM Usage: ${color } $memperc% $mem/$memmax
${offset 240}${memgraph 20,130 000000 ffffff}
${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}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}STORAGE 1: ${color }${fs_free /media/sdb1}/${fs_size /media/sdb1}
${offset 240}${fs_bar 3,100 /media/sdb1}
${offset 240}${color slate grey}STORAGE 2: ${color }${fs_free /media/sda1}/${fs_size /media/sda1}
${offset 240}${fs_bar 3,100 /media/sda1}
${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}

http://img.photobucket.com/albums/v235/Spike-X/Screenshot-1.png

WiFi Ed
May 3rd, 2007, 02:57 AM
Current Conky with HD and GPU temps:

http://img363.imageshack.us/img363/5963/conkyym6.th.png (http://img363.imageshack.us/my.php?image=conkyym6.png)

Oh, and to reiterate Spike-X's question: How to show degree symbol without weird accented A showing up?

GSF1200S
May 5th, 2007, 11:55 AM
Ive got one post on here with my Gnome DE and Conky. This is KDE with Conky setup for dual cores, etc.

I still cant get conky to be transparent unless I change the background once after bootup. Ive given up.. noone seems to have any ideas :(

Enjoy,,,

**EDIT** See text attachment below for conkyrc text...

GSF1200S
May 5th, 2007, 12:01 PM
The conky text...

ahaslam
May 5th, 2007, 12:02 PM
New install, new conky ;)

http://xs115.xs.to/xs115/07186/minormods.png.xs.jpg (http://xs.to/xs.php?h=xs115&d=07186&f=minormods.png)



#avoid flicker
double_buffer yes
#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorate,skip_taskbar,skip_pager
#borders
draw_borders no
#shades
draw_shades no
#position
gap_x 20
gap_y 40
alignment top_right
#behaviour
update_interval 3
#colour
default_color bfbfbf
#font
use_xft yes
xftfont Sans:size=10
#to prevent window from moving
use_spacer no
TEXT
${color FFFFFF} Core1: ${color 95956B}${font}${cpu cpu1}% ${color FFFFFF}Core2: ${color 95956B}${font}${cpu cpu2}% ${color FFFFFF} Mem: ${color 95956B}${font}${mem} ${color FFFFFF} ${color FFFFFF} Up: ${color 95956B}${font}${uptime_short}${color FFFFFF}

Short & sweet :)

PS. I wanted to include the cpu temp. Having lm-sensors installed & set up I used, "${i2c temp 2}" as I do in Zenwalk. This didn't work, am I missing something?

notwen
May 7th, 2007, 03:38 AM
http://www.notwen.org/th/th-uf_may06.png (http://www.notwen.org/img/uf_may06.png)

Here are my 3 conky configs. =]

.conkyrc


# conky config
# edited by notwen @ efnet

# 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

# 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

# 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 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 130 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 5

# border margins
border_margin 5

# 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 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 yes
#Note: doesn't work in conky 1.2 =(

TEXT

${color slate grey}$nodename - $freq_dyn_g ghz
${color slate grey}linux $kernel

${color slate grey}uptime: ${color }$uptime

${color slate grey}cpu:${color } $cpu%
${cpugraph 20,130 000000 ffffff}
${color slate grey}proc: ${color } $running_processes ${color slate grey}/${color }$processes
${color slate grey}load: ${color }$loadavg
${color slate grey}mem: ${color } $mem/$memmax
${membar 3,130}
${color slate grey}swap: ${color } $swap/$swapmax
${swapbar 3,130}

${color slate grey}net: ${alignr}total:
${color}down: ${color }${downspeed eth0}k/s ${alignr}${totaldown eth0}
${downspeedgraph eth0 20,130 000000 ffffff}
${color}up: ${color }${upspeed eth0}k/s ${alignr}${totalup eth0}
${upspeedgraph eth0 20,130 000000 ffffff}

${color slate grey}hdd${color }: ${alignr}${color slate grey}free${color }/${color slate grey}total${color }:
${color slate grey}/${alignr}$color${fs_free /}${color slate grey}/${color }${fs_size /}
${color }${fs_bar 3,130 /}
${color slate grey}/home${alignr}$color${fs_free /home}${color slate grey}/${color }${fs_size /home}
${color }${fs_bar 3,130 /home}
${color slate grey}s01${alignr}$color${fs_free /media/sda1}${color slate grey}/${color }${fs_size /media/sda1}
${color }${fs_bar 3,130 /media/sda1}
${color slate grey}s02${alignr}$color${fs_free /media/sdb2}${color slate grey}/${color }${fs_size /media/sdb2}
${color }${fs_bar 3,130 /media/sdb2}
${color slate grey}share${alignr}$color${fs_free /media/sdb1}${color slate grey}/${color }${fs_size /media/sdb1}
${color }${fs_bar 3,130 /media/sdb1}


.conkyaud


# conky config
# edited by notwen @ efnet

# 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

# 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

# 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 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 130 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 5

# border margins
border_margin 5

# 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 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 yes
#Note: doesn't work in conky 1.2 =

TEXT
${color slate grey}audacious:
${color }$audacious_title
${color }${audacious_bar 3,105}
${color }$audacious_status ${color slate grey}- ${color }${audacious_position}${color slate grey}/${color }${audacious_length} ${color slate grey}


.conkytime

# conky config
# edited by notwen @ efnet

# 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

# 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

# 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 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 130 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 5

# border margins
border_margin 5

# 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 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 yes
#Note: doesn't work in conky 1.2 =(

TEXT
${font Dejavu Sans:bold:size=12}${alignr}${color }${time %I:%M %P}
${font Dejavu Sans:bold:size=8}${alignr}${color }${time %a.} ${time %B %e, %G}

b9anders
May 7th, 2007, 11:33 AM
...

jputman01
May 7th, 2007, 06:27 PM
does anyone know how to make the time in conky display in 12 hour format instead of 24 hour format?

notwen
May 7th, 2007, 06:36 PM
does anyone know how to make the time in conky display in 12 hour format instead of 24 hour format?
Copy the code from my .conkytime config 2 posts up. =] You can reference the screen shot in the bottom right hand corner to see what the output looks like.

jputman01
May 7th, 2007, 07:54 PM
Copy the code from my .conkytime config 2 posts up. =] You can reference the screen shot in the bottom right hand corner to see what the output looks like.


great, thanks for the help!!

Biochem
May 8th, 2007, 12:20 AM
Here are my 3 conky configs. =]


3 conky on the same desktop!! I would be very interested to learn how to do that.

felicity
May 8th, 2007, 12:28 AM
Wow, conky is addictive! I started with Anonii's conky.rc file, used the gmail and weather scripts from Freak's Playground (http://vredfreak.atspace.com/projects.html), added Rhythmbox thanks to reclusivemonkey, and hopefully now I can stop editing for awhile.. must.. stop.. editing.. conkyrc... :twisted:


# 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_hints undecorated,below,skip_taskbar,skip_pager
own_window_colour black
own_window_transparent yes
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 177 1
maximum_width 177

# Draw shades?
draw_shades yes

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no

# set to yes if you want all text to be in uppercase
uppercase no

# Stippled borders?
stippled_borders 6

# 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

# 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 0
gap_y 30

# stuff after 'TEXT' will be formatted on screen

override_utf8_locale no
xftfont Terminus:size=11
xftalpha 0.8

TEXT
${color #9933ff}$stippled_hr
${color #3399FF}Kern: ${color lightgrey}$kernel
${color #3399FF}UpTime: ${color lightgrey}$uptime
${color #9933ff}$stippled_hr
${color #3399FF}CPU:${color lightgrey} $cpu% ${execi 90 sensors | grep "CPU Temp:" | cut -c12-16 ;}C
${color hot pink}${cpubar 7,100}
${color #9933ff}$stippled_hr
${color #3399FF}Processing:
${color #00CC00} ${top name 1}${top cpu 1}
${color lightgrey} ${top name 2}${top cpu 2}
${color lightgrey} ${top name 3}${top cpu 3}
${color lightgrey} ${top name 4}${top cpu 4}
${color #9933ff}$stippled_hr
${color #3399FF}RAM: ${color lightgrey}$memperc%
${color hot pink}${membar 7,100}
${color #9933ff}$stippled_hr
${color #3399FF}Memory:
${color #00CC00} ${top_mem name 1}${top_mem mem 1}
${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${color lightgrey} ${top_mem name 4}${top_mem mem 4}
${color #9933ff}$stippled_hr
${color #3399FF}Root: ${color lightgrey}${fs_free /}
${color hot pink}${fs_bar 7,100 /}
${color #3399FF}Saved: ${color lightgrey}${fs_free /media/Saved}
${color hot pink}${fs_bar 7,100 /media/Saved}
${color #3399FF}OldDrive: ${color lightgrey}${fs_free /media/OldDrive}
${color hot pink}${fs_bar 7,100 /media/OldDrive}
${color #9933ff}$stippled_hr
${color #3399FF}Rhythmbox:
${color lightgrey}${exec rhythmbox-client --no-start --print-playing}
${color #9933ff}$stippled_hr
${color #3399FF}GMail:
${color orange}${texeci 300 python /home/portis/.conky_scripts/gmail.py}
${color #9933ff}$stippled_hr
${color #3399FF}Weather:
${color lightgrey}${execi 3600 /home/portis/.conky_scripts/weather.sh}
${color #9933ff}$stippled_hr
${color #3399FF}Internet:
${color lightgrey}${addr eth0}
${color #3399FF}U: ${color lightgrey}${upspeed eth0}kbs
${color #3399FF}D: ${color lightgrey}${downspeed eth0}kbs
${color #9933ff}$stippled_hr

crimesaucer
May 8th, 2007, 05:12 AM
My newest .conkyrc:

http://i144.photobucket.com/albums/r161/crimesaucer/Screenshot-89b.png


and the desktop view:

http://i144.photobucket.com/albums/r161/crimesaucer/Screenshot-89-1.png
http://i144.photobucket.com/albums/r161/crimesaucer/Screenshot-89.png

and the cube view:

http://i144.photobucket.com/albums/r161/crimesaucer/Screenshot-91-1.png
http://i144.photobucket.com/albums/r161/crimesaucer/Screenshot-91.png


# 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:
# - battery stats, cached memory, uptime, date/time, file system stats
#
#
#
#

# Create own window instead of using desktop (required in nautilus)
# I changed the own_window yes to "no" because it kept making my Beryl start weird with a black screen. I also turned the desktop icons off. plus, I don't use a startup script anymore. Everything works perfectly.
own_window no
own_window_transparent yes
#own_window_type normal
own_window_type override
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
# I think the "use spacer" option only works with mono fonts.
use_spacer yes
use_xft yes

# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=4
xftfont Judas:size=8

# Update interval in seconds
update_interval 3.0

# Minimum size of text area

minimum_size 742 10

maximum_width 234


# Draw shades? was no
#draw_shades yes

# Text stuff
# amplifies text if yes was no
draw_outline yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase


# border margins
#border_margin 0

# border width
#border_width 0

# Default colors and also border colors
#default_shade_color a7d9a3
default_outline_color b04402
default_color f7f3e8



# 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 0
gap_y 30


# Text alpha when using Xft
xftalpha 1


# drawn 1 pixel border around graphs or not was no on screenshot guide
draw_graph_borders no

# stuff after 'TEXT' will be formatted on screen


TEXT

${time %b %d %Y}${offset 14}${font Judas:bold:size=14}${time %l:%M %p}${font}

blah@${nodename}
xubuntu 7.04 with Beryl-AiGLX
${kernel} on ${machine}
IP eth0: ${addr eth0}
wifi eth1: ${linkstatus eth1}%
* Uptime:${alignr 73}${uptime}
* Battery:${alignr 73}${battery}
* B. time:${alignr 73}${battery_time}

Thunar File System:${alignr 24}${fs_size}
--->${alignr 24}used = ${fs_used}
--->${alignr 24}free = ${fs_free}
Root File:${alignr 24}${fs_free_perc /}% free
Win Xp:${alignr 24}${fs_free_perc /media/hda1}% free
Swap File:${alignr 24}${swapperc}% of ${swapmax}
RAM:${alignr 24}${memperc}% of ${memmax}
Cache Mem:${alignr 24}${cached}

1.) ${top_mem name 1}
mem %${offset 18}${top_mem mem 1}${offset 31}${alignc}cpu %${alignr 24}${top_mem cpu 1}

2.) ${top_mem name 2}
mem %${offset 18}${top_mem mem 2}${offset 31}${alignc}cpu %${alignr 24}${top_mem cpu 2}

3.) ${top_mem name 3}
mem %${offset 18}${top_mem mem 3}${offset 31}${alignc}cpu %${alignr 24}${top_mem cpu 3}

${cpugraph 24,228 b04402 9f8372}

* Temp:${alignr 73}${acpitemp}.c
* CPU:${alignr 73}${freq_g}GHz
* Clocked:${alignr 73}${freq_dyn_g}GHz

1.) ${top name 1}
cpu %${offset 18}${top cpu 1}${offset 31}${alignc}mem %${alignr 24}${top mem 1}

2.) ${top name 2}
cpu %${offset 18}${top cpu 2}${offset 31}${alignc}mem %${alignr 24}${top mem 2}

3.) ${top name 3}
cpu %${offset 18}${top cpu 3}${offset 31}${alignc}mem %${alignr 24}${top mem 3}

${downspeedgraph eth0 24,100 b04402 9f8372}${offset 28}${upspeedgraph eth0 24,100 b04402 9f8372}
Down: ${downspeedf eth0}k/s${alignr 24}Up: ${upspeedf eth0}k/s
Down: ${totaldown eth0}${alignr 24}Up: ${totalup eth0}

${font spanky 20 second version:size=28}crimesaucer${font}

notwen
May 8th, 2007, 02:50 PM
3 conky on the same desktop!! I would be very interested to learn how to do that.

Simply create a new conky config(ie. .conkyrc2)
Then in term type conky -c .conkyrc2

I typically copy my first .conkyrc and rename the copy to keep the font/color scheme similar, then edit the placement and of course the contents below TEXT. Hope it helps and may you soon have a multiple conky desktop too. =]

You could also modify your conky startup script to start all your conky scripts every boot. =]

Biochem
May 8th, 2007, 04:16 PM
Thank you notwen



Simply create a new conky config(ie. .conkyrc2)
Then in term type conky -c .conkyrc2

I typically copy my first .conkyrc and rename the copy to keep the font/color scheme similar, then edit the placement and of course the contents below TEXT. Hope it helps and may you soon have a multiple conky desktop too. =]

You could also modify your conky startup script to start all your conky scripts every boot. =]

jputman01
May 10th, 2007, 06:44 PM
im having another issue with displaying my date and time. Here is what is happening:
If i put the code in to diplay the time as "X:XX am/pm" everything is fine

well i wanted to add the "month day year" to show up just before the time and have it all right aligned

the problem is if I add
${alignr}${font blahblahblah:size}${code for date}${code for time}

it pushed the "am/pm" off of the screen no matter what spacing I put in

but if i put
${time %b %d %Y}${font blahblahblah:bold:size}${alignr}${time %l:%M %p}

the am/pm doesnt get pushed off the screen but (as you can tell) my date will not be aligned to the right next to the time, my date will be left aligned and my time will be right aligned. anyone able to help me out as to why it keeps pushing my am/pm off of the screen?

i0ngunn3r
May 10th, 2007, 08:39 PM
http://ubuntuforums.org/attachment.php?attachmentid=32239&d=1178825915


background yes
use_xft yes
xftfont Terminus:size=8
double_buffer yes
mail_spool $MAIL
update_interval 3.0
total_run_times 0
own_window no
minimum_size 280 5
draw_shades no
draw_outline no
draw_borders no
stippled_borders 1
border_margin 1
border_width 1
default_color black
default_shade_color gray
default_outline_color black
alignment bottom_left
#gap_x 12
gap_y 66
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
use_spacer yes

TEXT
Uptime: $uptime ${alignc} ${offset 15}
Speed: ${color #008800}DL: ${downspeed eth0}kb/s${offset 26}${color #880000}UP: ${upspeed eth0} kb/s$color
Total: ${color #008800}DL: ${totaldown eth0}${offset 38}${color #880000}UP: ${totalup eth0}$color
CPU: $cpu% ${cpubar 6,40} ${offset 10}HD1: ${fs_free_perc /mnt/sda1/}% ${fs_bar 6,40 /mnt/sda1/}
RAM: $memperc% ${membar 6,40} ${offset 10}HD2: ${fs_free_perc /}% ${fs_bar 6,40 /}

${color #2222AA}[${exec dcop kmix Mixer1 masterVolume}%] [${exec audtool current-song-output-length}] ${audacious_bar 6,40} ${audacious_title}

crimesaucer
May 10th, 2007, 10:28 PM
im having another issue with displaying my date and time. Here is what is happening:
If i put the code in to diplay the time as "X:XX am/pm" everything is fine

well i wanted to add the "month day year" to show up just before the time and have it all right aligned

the problem is if I add
${alignr}${font blahblahblah:size}${code for date}${code for time}

it pushed the "am/pm" off of the screen no matter what spacing I put in

but if i put
${time %b %d %Y}${font blahblahblah:bold:size}${alignr}${time %l:%M %p}

the am/pm doesnt get pushed off the screen but (as you can tell) my date will not be aligned to the right next to the time, my date will be left aligned and my time will be right aligned. anyone able to help me out as to why it keeps pushing my am/pm off of the screen?

Hey jputman, I would try it like this:


${time %b %d %Y}${alignr}${font fontname:bold:size=12}${time %l:%M %p}${/font}

the code above should align the " ${time %l:%M %p} " part to the right side, along with it's embedded font/size/ and boldness. And hopefully, the rest of the line, (this part - " ${time %b %d %Y} ") should be aligned to your left, still using the default font and size. (I haven't tried it this way, and I don't know what your .conkyrc looks like, so I might be wrong)

But if they overlap in the middle, then you might want to adjust your maximum_width or the size of the default font and the embedded font size.


And if there is too much of a gap between your aligned right side, and the default left side, then you could try to offset it like the code below, or just use the space bar a few times before the " ${time %b %d %Y} " part to adjust it a bit.(it might be the cheating way):


${offset 12}${time %b %d %Y}${alignr}${font fontname:bold:size=12}${time %l:%M %p}${/font}

So I would guess, that the Month/Day/Year would now be 12 pixels to the right of the default left side, and your Hour/Minute/ and AM/PM would still be aligned to the right side. Now you can just adjust it by making the offset a different size.

Let me know if this works.

dannyboy79
May 11th, 2007, 01:44 PM
does anyone know why or if conky will work with using Fiesty and enabling the Desktop Effects (ie beryl or compiz or whatever is built into fiesty under system, preferences) I have a .conkyrc file that was working but as soon as I enabled the desktop effects it doesn't show up anymore and I even still have conky in my session startup programs. also, can anyone point me to a good tuturial about editing the colors, font, and adding more hard drives gauges. I have 5 total hardd drives totaling 1.52 TB. Thanks

jputman01
May 11th, 2007, 04:08 PM
Hey jputman, I would try it like this:


${time %b %d %Y}${alignr}${font fontname:bold:size=12}${time %l:%M %p}${/font}

the code above should align the " ${time %l:%M %p} " part to the right side, along with it's embedded font/size/ and boldness. And hopefully, the rest of the line, (this part - " ${time %b %d %Y} ") should be aligned to your left, still using the default font and size. (I haven't tried it this way, and I don't know what your .conkyrc looks like, so I might be wrong)

But if they overlap in the middle, then you might want to adjust your maximum_width or the size of the default font and the embedded font size.


And if there is too much of a gap between your aligned right side, and the default left side, then you could try to offset it like the code below, or just use the space bar a few times before the " ${time %b %d %Y} " part to adjust it a bit.(it might be the cheating way):


${offset 12}${time %b %d %Y}${alignr}${font fontname:bold:size=12}${time %l:%M %p}${/font}

So I would guess, that the Month/Day/Year would now be 12 pixels to the right of the default left side, and your Hour/Minute/ and AM/PM would still be aligned to the right side. Now you can just adjust it by making the offset a different size.

Let me know if this works.


crimesaucer, thanks for all your help

that code you pasted above is actualy how i have it set right now. I want the both to be aligned to the right, but when i move the {alignr} in front of the date it moved it "too far" to the right and pushes the AM/PM off of the screen, i hope this is making sense, ill will post up a screenshot when i get back to my laptop after work, thanks for all the help again

crimesaucer
May 12th, 2007, 04:54 AM
crimesaucer, thanks for all your help

that code you pasted above is actualy how i have it set right now. I want the both to be aligned to the right, but when i move the {alignr} in front of the date it moved it "too far" to the right and pushes the AM/PM off of the screen, i hope this is making sense, ill will post up a screenshot when i get back to my laptop after work, thanks for all the help again

Did you check your maximum_width setting in the upper part of your .conkyrc?


maximum_width 200

If it's set to maximum_width 200 , and if your whole line is larger (like equaling 250), then it will not show some of the line, like the AM/PM part.

You might of already done that. Also, try adjusting the sizes of your fonts. Both the default size, and the adjusted (embedded) font size.

notwen
May 12th, 2007, 06:35 AM
does anyone know why or if conky will work with using Fiesty and enabling the Desktop Effects (ie beryl or compiz or whatever is built into fiesty under system, preferences) I have a .conkyrc file that was working but as soon as I enabled the desktop effects it doesn't show up anymore and I even still have conky in my session startup programs. also, can anyone point me to a good tuturial about editing the colors, font, and adding more hard drives gauges. I have 5 total hardd drives totaling 1.52 TB. Thanks

As far as conky not displaying once you enable desktop effects, try starting conky after Beryl/Compiz starts. My conky startup script is like this to allow 20 seconds for my desktop(including Beryl) to finish loading before starting up my conky scripts.



#!/bin/bash
sleep 20 && conky && conky -c .conkyaud && conky -c .conkytime;


For just your basic conkyrc script use this below and change the 20 to whatever to suit your desktop loading time



#!/bin/bash
sleep 20 && conky;

crimesaucer
May 12th, 2007, 08:28 AM
@- notwen

That's really cool how you did Audacious and the time in the bottom corners. I might make a second script for some variables that I couldn't fit into my first script.

notwen
May 12th, 2007, 05:47 PM
@- notwen

That's really cool how you did Audacious and the time in the bottom corners. I might make a second script for some variables that I couldn't fit into my first script.

Thanks, those 2 conky configs down at the bottom corners work well w/ AWNs transparent bar along the bottom of my screen. No icons can be placed lower than my trash icon and temp folder due to the AWN transparent bar, so it works well since conky tends to cover up any icons it's placed over. I actually have /media drives under my main conky in the top right corner of my desktop. =] I expect to play w/ conky alot more, eventually find a small spot to keep the top cpu/mem processes, but I'm having issues w/ limiting the length of processes (character wise) so it's either screwing up alignment or pushing conky too far into my desktop for my liking.

picpak
May 12th, 2007, 05:59 PM
This one comes from the Arch Linux forums; I don't remember which one though.


# 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

# Xft font when Xft is enabled
xftfont Verdana:size=8:bold

# 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

# Print everything to console?
# out_to_console no

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 10.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

own_window yes
own_window_type override
own_window_transparent yes
#own_window_colour lightblue

# 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 yes

# Draw borders around text
#draw_borders yes

# Draw borders around graphs
#draw_graph_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 tan
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 12
gap_y 32

# 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
$nodename - $sysname $kernel on $machine
${color #0f0a07}$stippled_hr
${color}Uptime:${color #3399FF} $uptime ${color}- Load:${color #3399FF} $loadavg
${color tan}CPU Usage:${color #3399FF} $cpu% ${cpubar}
${color}RAM Usage:${color #3399FF} $mem/$memmax - $memperc% ${membar}
${color}Swap Usage:${color #3399FF} $swap/$swapmax - $swapperc% ${swapbar}
${color}/ ${color #3399FF}${fs_used /}/${fs_size /} ${fs_bar /}
${color}CPU Temp: ${color #3399FF}${i2c 9191-0290 temp 2}C${offset 75}${color}Motherboard: ${color #3399FF}${i2c 9191-0290 temp 1}C
${color tan}Fan 1: ${color #3399FF}${i2c 9191-0290 fan 1}${offset 85}${color tan}$mpd_artist ${color #3399FF}$mpd_title
${color #0f0a07}$stippled_hr

http://img503.imageshack.us/img503/1600/conkyqf7.th.png (http://img503.imageshack.us/my.php?image=conkyqf7.png)

You need to set up lm-sensors (http://ubuntuforums.org/showthread.php?t=2780) in order to get the CPU temp/motherboard/fan/etc.

And in case you're wondering...my hard drive's not 5GB, that's just my / partition :)

crimesaucer
May 12th, 2007, 07:38 PM
... =] I expect to play w/ conky alot more, eventually find a small spot to keep the top cpu/mem processes, but I'm having issues w/ limiting the length of processes (character wise) so it's either screwing up alignment or pushing conky too far into my desktop for my liking.

If you look at my .conkyrc, I had the same problem with application names being too long because of the font I used, so I took the PID numbers off, and then made it so that my names were above the top mem, and top cpus processes, so now, even the longest application name could be written in full without moving the mem and cpu stats off screen.

I had found that in the original default .conkyrc's font and settings that I installed with, that the names bounced the stats around so it was difficult to read. So I made it my own way and fixed my problem.

My cpu and mem stats are now in the lines below the name (numbered), and always stay in the same place. It's even easier now because if I look at Firefox, the stat I'm looking for is directly below it, in a column. I have my top memory stats up top near my RAM, cached mem, and swap, and then I have my cpu down under my cpu graph, temp, and clocked speeds of cpu.

For example: Look at my number 2.) mem process. It's xfce4-screensho, that name would of bounced my stats out of the column and off the screen using the old way, but written like this:


2.) ${top_mem name 2}
mem %${offset 18}${top_mem mem 2}${offset 31}${alignc}cpu %${alignr 24}${top_mem cpu 2}

...I am able to read my stats in a perfect column under my app name.


As for my next script (like your multiple scripts), I'm trying to find out info about the tcp_portmon. I want to find out about the bit torrent settings and maybe make a separate conky file for just the bit torrent ports. Or maybe I'll do something else. I haven't used bit torrent on my xubuntu yet, but I'm planning on making the switch form my Xp's utorrent soon, I just have my utorrent on Windows super fast with my TCPsys patched and configured with a TCP/IP optimizer and I'm trying to find out how to have as fast of a torrent in Linux, then I'll put my stats on my desktop, using a conky script.

OffHand
May 12th, 2007, 09:21 PM
Thanks, those 2 conky configs down at the bottom corners work well w/ AWNs transparent bar along the bottom of my screen. No icons can be placed lower than my trash icon and temp folder due to the AWN transparent bar, so it works well since conky tends to cover up any icons it's placed over. I actually have /media drives under my main conky in the top right corner of my desktop. =] I expect to play w/ conky alot more, eventually find a small spot to keep the top cpu/mem processes, but I'm having issues w/ limiting the length of processes (character wise) so it's either screwing up alignment or pushing conky too far into my desktop for my liking.

use

# 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

dannyboy79
May 12th, 2007, 10:20 PM
i posted his once, can onyone answer please or at least inform me if anyone else is using fiesty and conky and desktop effects??

does anyone know why or if conky will work with using Fiesty and enabling the Desktop Effects (ie beryl or compiz or whatever is built into fiesty under system, preferences) I have a .conkyrc file that was working but as soon as I enabled the desktop effects it doesn't show up anymore and I even still have conky in my session startup programs. also, can anyone point me to a good tuturial about editing the colors, font, and adding more hard drives gauges. I have 5 total hardd drives totaling 1.52 TB. Thanks
__________________

crimesaucer
May 12th, 2007, 11:23 PM
i posted his once, can onyone answer please or at least inform me if anyone else is using fiesty and conky and desktop effects??

does anyone know why or if conky will work with using Fiesty and enabling the Desktop Effects (ie beryl or compiz or whatever is built into fiesty under system, preferences) I have a .conkyrc file that was working but as soon as I enabled the desktop effects it doesn't show up anymore and I even still have conky in my session startup programs. also, can anyone point me to a good tuturial about editing the colors, font, and adding more hard drives gauges. I have 5 total hardd drives totaling 1.52 TB. Thanks
__________________

do you have this part in your top part of you .conkyrc?


# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes


I have Beryl, and have used effects with this for Edgy, and Feisty. It was explained in this old "HOWTO": http://ubuntuforums.org/showthread.php?t=205865

I use xubuntu xfce4.4, and Berly AiGLX, so make sure you do what's right for your desktop that you use.

notwen
May 13th, 2007, 01:15 AM
i posted his once, can onyone answer please or at least inform me if anyone else is using fiesty and conky and desktop effects??

does anyone know why or if conky will work with using Fiesty and enabling the Desktop Effects (ie beryl or compiz or whatever is built into fiesty under system, preferences) I have a .conkyrc file that was working but as soon as I enabled the desktop effects it doesn't show up anymore and I even still have conky in my session startup programs. also, can anyone point me to a good tuturial about editing the colors, font, and adding more hard drives gauges. I have 5 total hardd drives totaling 1.52 TB. Thanks
__________________

I answered your question a couple of posts up, you will need to make sure your desktop effects are running before you start conky. Enabling your desktop effects after conky is already started will cover conky. You will need to make a startup script using the code in my post from earlier. Do you leave your desktop effects enabled 24/7 or do you only use them every so often? Compiz/Beryl will have to be started before conky everytime, or you will need to 'killall conky' and restart conky after you enable your Desktop effects.

jputman01
May 13th, 2007, 05:00 PM
here are some shots of my issue

the first one is how it is set right now with this conkyrc
# 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 9
gap_y 9

# stuff after 'TEXT' will be formatted on screen

override_utf8_locale no
xftfont Dejavu Sans:size=8
xftalpha 0.8

TEXT
${font Dejavu Sans:size=12}${time %b %d %y}${font Dejavu Sans:bold:size=20}${alignr}${time %l:%M %p}${font}
${stippled_hr}
${alignr}${nodename} | ${kernel} | cpu ${cpu}% ${acpitemp}C | ram ${memperc}% | Up ${upspeed eth1}k/s Down ${downspeed eth1}k/s

the second one shows how the am/pm gets pushed off the screen if i try to align it all to the right with this conkyrc
# 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 9
gap_y 9

# stuff after 'TEXT' will be formatted on screen

override_utf8_locale no
xftfont Dejavu Sans:size=8
xftalpha 0.8

TEXT
${font Dejavu Sans:size=12}${alignr}${time %b %d %y}${font Dejavu Sans:bold:size=20}${time %l:%M %p}${font}
${stippled_hr}
${alignr}${nodename} | ${kernel} | cpu ${cpu}% ${acpitemp}C | ram ${memperc}% | Up ${upspeed eth1}k/s Down ${downspeed eth1}k/s

crimesaucer
May 13th, 2007, 05:23 PM
here are some shots of my issue

the first one is how it is set right now with this conkyrc
# 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 9
gap_y 9

# stuff after 'TEXT' will be formatted on screen

override_utf8_locale no
xftfont Dejavu Sans:size=8
xftalpha 0.8

TEXT
${font Dejavu Sans:size=12}${time %b %d %y}${font Dejavu Sans:bold:size=20}${alignr}${time %l:%M %p}${font}
${stippled_hr}
${alignr}${nodename} | ${kernel} | cpu ${cpu}% ${acpitemp}C | ram ${memperc}% | Up ${upspeed eth1}k/s Down ${downspeed eth1}k/s

the second one shows how the am/pm gets pushed off the screen if i try to align it all to the right with this conkyrc
# 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 9
gap_y 9

# stuff after 'TEXT' will be formatted on screen

override_utf8_locale no
xftfont Dejavu Sans:size=8
xftalpha 0.8

TEXT
${font Dejavu Sans:size=12}${alignr}${time %b %d %y}${font Dejavu Sans:bold:size=20}${time %l:%M %p}${font}
${stippled_hr}
${alignr}${nodename} | ${kernel} | cpu ${cpu}% ${acpitemp}C | ram ${memperc}% | Up ${upspeed eth1}k/s Down ${downspeed eth1}k/s

On both of your scripts, you don't end your first font with a closing "${font}"

On the first one, your code looks like this:


${font Dejavu Sans:size=12}${time %b %d %y}${font Dejavu Sans:bold:size=20}${alignr}${time %l:%M %p}${font}

I think it should look like this, all though it won't look aligned to the right, it will still be one part on the left side, and the last part aligned on the right side:


${font Dejavu Sans:size=12}${time %b %d %y}${font}${alignr}${font Dejavu Sans:bold:size=20}${time %l:%M %p}${font}

On your second one, your code looks like this:


${font Dejavu Sans:size=12}${alignr}${time %b %d %y}${font Dejavu Sans:bold:size=20}${time %l:%M %p}${font}

I think it should maybe look like this:


${alignr}${font Dejavu Sans:size=12}${time %b %d %y}${font}${font Dejavu Sans:bold:size=20}${time %l:%M %p}${font}

Try the second one (above this), with the ${alignr} starting it, first. That hopefully should work. The first one is not going to do what you want it to do, I just was showing where you need to close your font bracket at.

mailbox
May 14th, 2007, 07:59 AM
i had the same problem, and closing the tags worked for me.
i'm facepalming right now, going 'i should have known that.'

dannyboy79
May 14th, 2007, 01:47 PM
As far as conky not displaying once you enable desktop effects, try starting conky after Beryl/Compiz starts. My conky startup script is like this to allow 20 seconds for my desktop(including Beryl) to finish loading before starting up my conky scripts.



#!/bin/bash
sleep 20 && conky && conky -c .conkyaud && conky -c .conkytime;


For just your basic conkyrc script use this below and change the 20 to whatever to suit your desktop loading time



#!/bin/bash
sleep 20 && conky;

thank you VERY much for answering my question. I'll give it a try.

walterego
May 19th, 2007, 03:28 PM
# 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 3.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
font impact
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 orange}SYSTEM ${hr 2}$color
$nodename $sysname $kernel on $machine
Uptime: $uptime

${color orange}CPU ${hr 2}$color
${freq}MHz Load: ${loadavg} Temp: ${acpitemp}
$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}

${color orange}MEMORY / DISK ${hr 2}$color
RAM: $memperc% ${membar 6}$color
Swap: $swapperc% ${swapbar 6}$color

Root: ${fs_free_perc /}% ${fs_bar 6 /}$color
Motherbrain: ${fs_free_perc /media/Motherbrain}% ${fs_bar 6 /media/Motherbrain}
Storage: ${fs_free_perc /media/storage}% ${fs_bar 6 /media/storage}
Storage2: ${fs_free_perc /media/storage2}% ${fs_bar 6 /media/storage2}

${color orange}FOLDING@HOME ${hr 3}$color
${execi 30 tail -n6 /home/jocke/foldingathome/CPU1/unitinfo.txt | fold -w50}
${execibar 600 grep % /home/jocke/foldingathome/CPU1/unitinfo.txt | cut -c 10-12}

${color orange}NETWORK (${addr eth1}) ${hr 2}$color
Down: $color${downspeed eth1} k/s ${alignr}Up: ${upspeed eth1} k/s
${downspeedgraph eth1 25,140 000000 ff0000} ${alignr}${upspeedgraph eth1
25,140 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 orange}LOGGING ${hr 2}$color
${execi 30 tail -n4 /var/log/messages | fold -w50}

${color orange}mpd status ${hr 2}$color
${mpd_smart} ${mpd_elapsed} / ${mpd_length}



http://pici.se/thumbs/t_shTneXHzT.gif (http://pici.se/60656)

B00R4dL3y
May 20th, 2007, 06:48 PM
Here's what I use. It's an edited version of someone else's that I found somewhere (probably from someone in this thread)



use_xft yes
xftfont FreeSans:size=12
xftalpha 0.8
out_to_console no
update_interval 3.0
total_run_times 0
own_window yes
own_window_hints undecorated,below,skip_taskbar,sticky
background no
own_window_colour blue
own_window_transparent yes
double_buffer yes
minimum_size 260 5
maximum_width 260
draw_shades yes
draw_outline no
draw_borders no
stippled_borders 3
border_margin 9
border_width 10
default_color white
default_shade_color black
default_outline_color white
alignment top_right
gap_x 24
gap_y 48
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no

TEXT
${color #ddaa00}$nodename$alignr${color #9fb6cd}Kernel: $alignr${color }$kernel
${color #9fb6cd}${time %Z,} ${color }${time %H:%M:%S}$alignr${color #9fb6cd}${time %a, } $alignr${color }${time %e %B %G}
${color #9fb6cd}CPU:${color } $cpu%$alignr${color #9fb6cd}UpTime: ${color }$uptime
${color }${cpugraph 15,100 000000 ffffff}$alignr${color #9fb6cd}Load: ${color }$loadavg
${color #9fb6cd}Processes: ${color }$processes $alignr${color #9fb6cd}Running: ${color }$running_processes

${color #ddaa00}${top name 1} $alignr${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey}${top name 2} $alignr${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey}${top name 3} $alignr${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey}${top name 4} $alignr${top pid 4} ${top cpu 4} ${top mem 4}

${color #9fb6cd}MEM: ${color }$memperc%$alignr$mem/$memmax
${membar 3,260}
${color #9fb6cd}SWAP: ${color }$swapperc%$alignr$swap/$swapmax
${swapbar 3,260}
${color #9fb6cd}ROOT: $alignr${color }${fs_free /}/${fs_size /}
${fs_bar 3,260 /}
${color #9fb6cd}sda1: $alignr${color }${fs_free /media/sda1}/${fs_size /media/sda1}
${fs_bar 3,260 /media/sda1}
${color #9fb6cd}sdc1: $alignr${color }${fs_free /media/sdc1}/${fs_size /media/sdc1}
${fs_bar 3,260 /media/sdc1}
${color #9fb6cd}sdd1: $alignr${color }${fs_free /media/sdd1}/${fs_size /media/sdd1}
${fs_bar 3,260 /media/sdd1}

${color #9fb6cd}LAN $alignr eth0 ($color${addr eth0}${color #9fb6cd})
${color #9fb6cd}Down: $color${downspeed eth0} kB/s ${alignr}${color #9fb6cd}Up: ${color}${upspeed eth0} kB/s
${downspeedgraph eth0 15,125 000000 ffffff} ${alignr}${upspeedgraph eth0 15,125 000000 ffffff}
${color #9fb6cd}Total: ${color}${totaldown eth0} ${alignr}${color #9fb6cd}Total: ${color}${totalup eth0}

${color #9fb6cd}WLAN $alignr eth1 ($color${addr eth1}${color #9fb6cd})
${color #9fb6cd}Down: $color${downspeed eth1} kB/s ${alignr}${color #9fb6cd}Up: ${color}${upspeed eth1} kB/s
${downspeedgraph eth1 15,125 000000 ffffff} ${alignr}${upspeedgraph eth1 15,125 000000 ffffff}
${color #9fb6cd}Total: ${color}${totaldown eth1} ${alignr}${color #9fb6cd}Total: ${color}${totalup eth1}

${color #9fb6cd}WLAN $alignr eth2 ($color${addr eth2}${color #9fb6cd})
${color #9fb6cd}Down: $color${downspeed eth2} kB/s ${alignr}${color #9fb6cd}Up: ${color}${upspeed eth2} kB/s
${downspeedgraph eth2 15,125 000000 ffffff} ${alignr}${upspeedgraph eth2 15,125 000000 ffffff}
${color #9fb6cd}Total: ${color}${totaldown eth2} ${alignr}${color #9fb6cd}Total: ${color}${totalup eth2}

HotShot
May 26th, 2007, 01:59 PM
Here ist my config with stolen parts from around the world.
Thank you for them ;)



# 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?
use_xft yes

# Xft font when Xft is enabled
xftfont Monospace:size=7

# Text alpha when using Xft
xftalpha 0.8

# 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

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 15

# stuff after 'TEXT' will be formatted on screen

TEXT
$color
${color white}SYSTEM ${hr 2}$color
$nodename ($sysname $kernel on $machine)
Uptime: $uptime

${color white}CPU ${hr 2}$color
Core1 ${cpu cpu1}% ${freq 1}MHz ${cpubar cpu1}
${cpugraph cpu1 000000 ff0000}
Core2 ${cpu cpu2}% ${freq 2}MHz ${cpubar cpu2}
${cpugraph cpu2 000000 ff0000}

CPU Temp: ${i2c 9191-0290 temp 1}°C
CPU Fan : ${i2c 9191-0290 fan 1} RPM

${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 ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}

System load average: ${loadavg}

${color white}MEMORY ${hr 2}$color
RAM: $mem/$memmax ${membar 6}
Swap: $swap/$swapmax ${swapbar 6}

${color}Name PID CPU% MEM%
${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 ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
$color ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}

${color white}DISKS ${hr 2}$color
/dev/sda (WDC WD740ADFD): ${execi 300 nc localhost 7634 | cut -c32-33 ;}°C
/dev/sdb (WDC WD2500YS) : ${execi 300 nc localhost 7634 | cut -c67-68 ;}°C

I/O: $diskio
${diskiograph 000000 ff0000}

/ ${fs_free /} (${fs_size /}) ${fs_bar 6 /}
/boot ${fs_free /boot} (${fs_size /boot}) ${fs_bar 6 /boot}
/home ${fs_free /home} (${fs_size /home}) ${fs_bar 6 /home}
/media/files ${fs_free /media/files} (${fs_size /media/files}) ${fs_bar 6 /media/files}
/media/virtualos ${fs_free /media/virtualos} (${fs_size /media/virtualos}) ${fs_bar 6 /media/virtualos}

${color white}EXTERNAL IP (${execi 600 curl 'http://www.whatismyip.org'}) ${hr 2}$color

${color white}LOCAL NETWORK (${addr eth0}) ${hr 2}$color
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,140 000000 00ff00} ${alignr}${upspeedgraph eth0
25,140 000000 ff0000}$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}

${color white}LOCAL WEATHER ${hr 2}$color
${execi 1800 /home/djahan/scripts/weather/weather.sh GMXX0051}

nanotube
May 27th, 2007, 07:36 PM
Conky > *. Best application i've found yet. Thanks to everyone on here who I got some ideas for my conkyrc from.

you have a semicolon after "right fan" instead of colon. :) looking good otherwise, though. :)

nanotube
May 27th, 2007, 07:40 PM
can anyone give me a hand. I want to switch from gdesklets to conky but in most of the examples I see there is normally only 1 or 2 hard drive monitors. I have 4 or 5 I want to monitor. I have attached a picture of my current gdesklets setup and would like a similat conky. the colors as well if that's possible. can anyone help maybe???

you can monitor as many drives as you want, just add the appropriate lines in the config file.
read the configs people have posted, and you'll figure it out. "man conky" might help, too. :)

nanotube
May 27th, 2007, 07:58 PM
Here's mine.
thanks to everyone who posted before, as i have certainly used a lot of your configs for ideas. :)

# 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

#use_xft yes
#xftfont HandelGotD:size=9
#xftfont Courier:size=9
#xftalpha 0.5

# Update interval in seconds
update_interval 3.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
font arial
uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 8

# border margins
border_margin 9

# border width
border_width 1

# 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 25

# hdb3: ${fs_free_perc /media/hdb3}% ${fs_bar 6 /media/hdb3}
# ${time %a,}${time %e %B %G} ${color #00ff00}${time %H:%M:%S}
# stuff after 'TEXT' will be formatted on screen

TEXT
${color blue}SYSTEM ${hr 2}$color
$nodename $sysname $kernel on $machine
Uptime: ${uptime} Battery: $battery
${color blue}CPU ${hr 2}$color
${color #00ff00}Temp: ${i8k_cpu_temp} ${alignr}Fan: ${i8k_right_fan_rpm} ${i8k_right_fan_status}${color}
${freq}MHz Avg Load: ${loadavg}
Load: ${cpu}% $cpubar
${color}${cpugraph 000000 ffffff}
NAME ${alignr}PID CPU% MEM%
${color #92ff9a} By CPU Usage
${color}${top name 1} ${alignr}${top pid 1} ${top cpu 1} ${top mem 1}
${color}${top name 2} ${alignr}${top pid 2} ${top cpu 2} ${top mem 2}
${color}${top name 3} ${alignr}${top pid 3} ${top cpu 3} ${top mem 3}
${color}${top name 4} ${alignr}${top pid 4} ${top cpu 4} ${top mem 4}
${color #92ff9a} By Mem Usage
${color}${top_mem name 1} ${alignr}${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color}${top_mem name 2} ${alignr}${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color}${top_mem name 3} ${alignr}${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color}${top_mem name 4} ${alignr}${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}

Processes: $processes ${alignr}Running: $running_processes
${color blue}MEMORY / DISK ${hr 2}$color
RAM: $mem/$memmax ${alignr 80}- ${memperc}% ${membar 6}$color
Swap: $swap/$swapmax ${alignr 80}- $swapperc% ${swapbar 6}$color
/: ${fs_used /}/${fs_size /} ${alignr 80}- ${fs_used_perc /} % ${fs_bar 6 /}$color
/home: ${fs_used /home}/${fs_size /home} ${alignr 80}- ${fs_used_perc /home} % ${fs_bar 6 /home}$color

HDD I/O: $diskio
${diskiograph 000000 ffffff}
${color blue}NETWORK ${hr 2}$color
${color #000000}eth0 (${addr eth0})
${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}

${color #000000}eth1 (${addr eth1}) Link status: ${linkstatus eth1}
${color}Down: $color${downspeed eth1} k/s ${alignr}Up: ${upspeed eth1} k/s
${downspeedgraph eth1 25,140 000000 ff0000} ${alignr}${upspeedgraph eth1
25,140 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}
$stippled_hr
${color blue}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 blue}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 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}
$stippled_hr
${color blue}LOGGING ${hr 2}$color
${color black}Messages:
$color${execi 30 tail -n 3 /var/log/messages | fold -w50}
${color black}Security:
$color${execi 30 tail -n 3 /var/log/auth.log | fold -w50}

${color blue}FORTUNE ${hr 2}$color
${execi 120 fortune -s | fold -w50}

energiya
May 27th, 2007, 08:19 PM
http://pix.nofrag.com/b5/4f/cbcd4cd640d5cf657c83c8245632t.jpg (http://pix.nofrag.com/b5/4f/cbcd4cd640d5cf657c83c8245632.html)


background yes
use_xft yes
xftfont Bitstream Vera Sans Mono:size=9
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 12
gap_y 5
no_buffers yes
uppercase no
cpu_avg_samples 3
net_avg_samples 3
override_utf8_locale yes
use_spacer no
TEXT
${alignc}${color grey}Uptime:${color white} $uptime ${color grey} CPU Usage:${color yellow} ${cpu}% ${color grey} CPU Temp:${color white} ${i2c 9191-0290 temp 2}°C ${color grey}RAM Usage:${color white}$mem/$memmax - $memperc% ${color grey}Swap Usage:${color white} $swap/$swapmax ${color grey}Disk:${color white} ${fs_free /}, ${fs_free /home} Free ${color grey}Down: ${color white}${downspeed eth0} k/s ${color grey}Up:${color white} ${upspeed eth0} k/s
${alignc}${color grey}MPD: ${color black}$mpd_smart ${color grey}Time: ${color black}$mpd_elapsed ${color grey}/${color black} $mpd_length ${color grey}Volume: ${color black}$mpd_vol

notwen
May 27th, 2007, 08:34 PM
http://pix.nofrag.com/b5/4f/cbcd4cd640d5cf657c83c8245632t.jpg (http://pix.nofrag.com/b5/4f/cbcd4cd640d5cf657c83c8245632.html)


That is a extremely simple & clean desktop. =] Very nice.

ukripper
May 28th, 2007, 12:11 AM
Here is mine without using beryl or compiz:




# 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 3.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
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 red}Acer Aspire 3003LMi SYSTEM ${hr 2}$color
$nodename $sysname $kernel on $machine

${color yellow}Sempron processor 3000+ CPU ${hr 2}$color
Processes: $cpu now running at: ${freq}mhz Max:1.8Ghz Temp: ${acpitemp}
$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}

${color green}MEMORY ${hr 2}$color
RAM: $memperc% ${membar 6}$color
Swap: $swapperc% ${swapbar 6}$color

${color orange}DISKS ${hr 2}$color
Root: ${fs_free_perc /}% ${fs_bar 6 /}$color
hda2 NTFS: ${fs_free_perc /media/hda2}% ${fs_bar 6 /media/hda2}$color
hda4 ext3: ${fs_free_perc /media/hda4}% ${fs_bar 6 /media/hda4}$color
hda5 ext3: ${fs_free_perc /storage}% ${fs_bar 6 /storage}$color
hda1 FAT32: ${fs_free_perc /media/hda1}% ${fs_bar 6 /media/hda1}$color
cdrom0 DVD-RW: ${fs_free_perc /media/cdrom0}% ${fs_bar 6 /media/cdrom0}$color
sda usbdisk: ${fs_free_perc /media/usbdisk}% ${fs_bar 6 /media/usbdisk}$color
${color lightgrey}HDD I/O:$color $diskio${color red}${diskiograph 0000ff 00ff00}

${color blue}Wireless Network -BCM4318 (${addr eth1}) ${hr 2}$color
Down: $color${downspeed eth1} k/s ${alignr}Up: ${upspeed eth1} k/s
${downspeedgraph eth1 25,140 000000 ff0000} ${alignr}${upspeedgraph eth1
25,140 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}

nanotube
May 28th, 2007, 02:27 AM
That is a extremely simple & clean desktop. =] Very nice.

how can you see anything in that tiny tiny thumbnail (which is what i see when i click on the link)?

energiya
May 28th, 2007, 04:44 AM
That is a extremely simple & clean desktop. =] Very nice.

Thank you!


how can you see anything in that tiny tiny thumbnail (which is what i see when i click on the link)?

My desktop resolution is 800x600 (the image when you click the thumb should have this resolution). It's an old computer, but it loads firefox in max 2 seconds so I'm very happy :)

ukripper
May 28th, 2007, 10:53 AM
I would like to add daemons to my monitor as well. As I am running AMPP stack, would like to know what services are currently running which should show up in conky.

Any one who knows how to add services or deamons in conkyrc would be appreciated greatly.

Thanks in advance guys/girls.

brodiepearce
May 28th, 2007, 02:48 PM
Hello,

I have set Conky to start on login through System => Preferences => Session. Conky appears on my desktop as expected at first, everything is fine. However, it seems once my icons, taskbars and wallpaper appear (I'm guessing this is when GDM starts up), Conky disappears behind the wallpaper, though it's process continues to run. This happens with both forked to desktop, window set to desktop, and window set to override:



# 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 yes
own_window_transparent no
own_window_type override
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 no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
#minimum_size 280 5
#maximum_width 150

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 10

# 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 13
gap_y 13
#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

# 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,
#${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
# stuff after 'TEXT' will be formatted on screen
#${font Grunge:size=12}${time %a %b %d}${alignr -25}${time %k:%M}

TEXT
$nodename - $sysname $kernel on $machine
$stippled_hr
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}CPU Usage:${color #5000a0} ${cpu}% ${cpubar}
${color black}${cpugraph 000000 5000a0}
${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:
Down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 70}Up:${color #22ccff} ${upspeed eth0} k/s
${color black}${downspeedgraph eth0 32,150 ff0000 0000ff} $alignr${color black}${upspeedgraph eth0 32,150 0000ff ff0000}
${color lightgrey}File systems:
root $color${fs_used /}/${fs_size /} ${fs_bar /}
hdc1 $color${fs_used /media/hdc1}/${fs_size /media/hdc1} ${fs_bar /media/hdc1}
sda1 $color${fs_used /media/sda1}/${fs_size /media/sda1} ${fs_bar /media/sda1}
${color lightgrey}Temperatures:
CPU:$color ${i2c temp 2}C${color grey} - MB:$color ${i2c temp 1}C
${font Dungeon:style=Bold:pixelsize=12}${color #88aadd}MPD: ${alignc}$mpd_artist - $mpd_title
${color #88aadd}$mpd_bar
${color #88aadd}${alignc}$mpd_status
${color}Name PID CPU% MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
$stippled_hr
${color #ddaa00}Port(s)${alignr}#Connections
$color Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
${color #ddaa00}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 #ddaa00}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 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}
$stippled_hr
${color darkgrey}F@H
${execi 600 grep % /home/brodiepearce/.FAH/unitinfo.txt | cut -c 10-12}% ${alignr}${execi 600 /home/brodiepearce/.FAH/fah2conky_simple.sh}
${execibar 600 grep % /home/brodiepearce/.FAH/unitinfo.txt | cut -c 10-12}


Anyone have any ideas on this? Finally got the F@H output working, just really want to get this running at startup now. :D

notwen
May 28th, 2007, 03:29 PM
# set to yes if you want Conky to be forked in the background
background no

Not positive and I'm currently at work, but you may want to try changing this and restarting X.

---EDIT---
If you happen to be running Beryl or Compiz you'll need to create a conky startup script that will load conky after your composite manager loads(ie Beryl/Compiz). Here's a quote from m.musashi from his compiling conky thread. Refer to it if you have any issues.


To have conky autostart on login create a small bash script called .conky_start.sh and save it to your /home.


gedit .conky_start.sh
copy the code below and past into the file. Save and close


#!/bin/bash
sleep 10 && conky;

This would start conky after 10 seconds after you login. The delay can be changed. Some sort of delay is desirable if you autostart beryl as well since conky works best if started after beryl. Make sure the script is executable:


chmod a+x .conky_start.sh

Now, add it to your startup programs (menu: system->preferences->session->startup programs).

ukripper
May 28th, 2007, 06:48 PM
Made some more changes to my conky, looks really high detailed monitor now. runing GTK only themes works very well with the contrasts. Wish someone could show me how to add services in conky would be great.

:p

yabbadabbadont
May 28th, 2007, 07:14 PM
Made some more changes to my conky, looks really high detailed monitor now. runing GTK only themes works very well with the contrasts. Wish someone could show me how to add services in conky would be great.

:p

OOOOOOOhhhh..... it's a pretty rainbow. :D

(Looks nice)

ukripper
May 28th, 2007, 07:24 PM
OOOOOOOhhhh..... it's a pretty rainbow. :D

(Looks nice)

Thanks mate,

nanotube
May 29th, 2007, 01:28 AM
My desktop resolution is 800x600 (the image when you click the thumb should have this resolution).

well, that's the thing, it doesn't. when i click on your link (just to be clear, this is the one: http://pix.nofrag.com/b5/4f/cbcd4cd640d5cf657c83c8245632t.jpg)
i see a 150x113 px image. nothing happens when i click on it. it's just small and unreadable. :)

is that not the case for you?? hmm... very weird.

yabbadabbadont
May 29th, 2007, 01:52 AM
well, that's the thing, it doesn't. when i click on your link (just to be clear, this is the one: http://pix.nofrag.com/b5/4f/cbcd4cd640d5cf657c83c8245632t.jpg)
i see a 150x113 px image. nothing happens when i click on it. it's just small and unreadable. :)

is that not the case for you?? hmm... very weird.

Try this one and see if it works. http://pix.nofrag.com/b5/4f/cbcd4cd640d5cf657c83c8245632.jpeg

(Notice that my link doesn't have the "t" - for thumbnail probably)

nanotube
May 29th, 2007, 04:01 AM
Try this one and see if it works. http://pix.nofrag.com/b5/4f/cbcd4cd640d5cf657c83c8245632.jpeg

(Notice that my link doesn't have the "t" - for thumbnail probably)

yea, the one without the t works. :)
but why did you post one with the 't' in the first place? just to confuse me? :)

yabbadabbadont
May 29th, 2007, 04:41 AM
yea, the one without the t works. :)
but why did you post one with the 't' in the first place? just to confuse me? :)

I didn't post one at all. I just figured out the problem... ;)

(I use gkrellm personally)

tact
May 29th, 2007, 06:02 AM
My system, like many others, has more than one network interface. For me its just eth0 (wired) and eth1 (wireless).

Currently I have the following snippet in my config and it displays two bar graphs for each ethernet adapter (total 4 bar graphs)

===
${color darkgrey}Wired 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}

${color darkgrey}Wireless Network (${addr eth1}) ${hr 2}$color
Down: $color${downspeed eth1} k/s ${alignr}Up: ${upspeed eth1} k/s
${downspeedgraph eth1 25,140 000000 ff0000} ${alignr}${upspeedgraph eth1
25,140 000000 00ff00}$color
Total: ${totaldown eth1} ${alignr}Total: ${totalup eth1}
===

Only one ethernet adapter is live at any one time so - Is there any way test which ethernet adapter is live and display only the relevant information on just two bar graphs?

brodiepearce
May 29th, 2007, 07:48 AM
# set to yes if you want Conky to be forked in the background
background no

Not positive and I'm currently at work, but you may want to try changing this and restarting X.

---EDIT---
If you happen to be running Beryl or Compiz you'll need to create a conky startup script that will load conky after your composite manager loads(ie Beryl/Compiz). Here's a quote from m.musashi from his compiling conky thread. Refer to it if you have any issues.

OK I implemented musashi's fix and it starts after GDM now so all peachy there, however, if I fork it to background then it overrides anything else on my background, I can see them if I mouse over them or highlight them, but they disappear once conky updates.

Also, if I set it to start with it's own window, and set that window to desktop, occasionally if I click drag over the conky output, it disappears from that workspace.

*edit*
OK it's running fine now, bit the bullet and just adapted ukripper's (http://ubuntuforums.org/showpost.php?p=2732308&postcount=221) .conkyrc file to my needs:

tact
May 29th, 2007, 10:03 AM
My system, like many others, has more than one network interface. For me its just eth0 (wired) and eth1 (wireless).
[...]
Only one ethernet adapter is live at any one time so - Is there any way test which ethernet adapter is live and display only the relevant information on just two bar graphs?

Solved it myself...
===
${if_running wpa_supplicant}
${color darkgrey}WIFI: ${color }(${addr eth1})
${color darkgrey}Up: ${color }${upspeed eth1} k/s
${upspeedgraph eth1 20,130 000000 ffffff}
${color darkgrey}Down: ${color }${downspeed eth1}k/s${color}
${downspeedgraph eth1 20,130 000000 ffffff}
${else}
${color darkgrey}WIRED: ${color }(${addr eth0})
${color darkgrey}Up: ${color }${upspeed eth0} k/s
${upspeedgraph eth0 20,130 000000 ffffff}
${color darkgrey}Down: ${color }${downspeed eth0}k/s${color}
${downspeedgraph eth0 20,130 000000 ffffff}
${endif}
===

Now only the active network connection displays.

dannyboy79
May 29th, 2007, 01:41 PM
it may already be answered but my conky shows up as my computer is starting but then goes away? I don't have a desktop background, I have set the Horizontal Variant thingy so it's like a two-tone affect of colors. Is this the problem? I have read that if I have conky wait a few seconds before it starts that should solve it but I thought I already tried that. Also, I have Desktop Effects (compiz) running, is that a problem. BUT I thinik I am going to try out Beryl because I have heard that's better and I can't figure out how to change compiz's settings which is built into feisty if you enable the desktop effects. Thanks for any help anyone can provide. To prodiepearce, I like your config, I might steal it if you don't mind. :-)

nanotube
May 29th, 2007, 07:54 PM
I didn't post one at all. I just figured out the problem... ;)

(I use gkrellm personally)

oh hehe sorry. :)

brodiepearce
May 30th, 2007, 12:37 AM
To brodiepearce, I like your config, I might steal it if you don't mind. :-)

haha, no worries mate. In all honesty I just adapted it from ukripper's original config. ;)

I'm now working on a script to output the completion time for current work units in F@H. If anyone has any ideas, or actually has such a script, gimme! I'm still pretty new to scripts, and have no idea how I would go about getting it to calculate something...

*edit*
A friend on IRC helped me out and made a smallish perl script, I've managed to get it's output working nicely with conky, just need to figure out how to supress some of it from within the original script:

dannyboy79
May 30th, 2007, 03:54 PM
so are you using compiz or beryl? and if so, how do you get it to stay on the desktop because my conky shows up as the desktop is booting but then it goes away once everything is done loading or whatever. as I said earlier, I am not currently using a desktop background, I am just using a color scheme and it's the horizontal varient or is it vertical varient? it allows you to chose 2 colors and it kind a mixes them together with the main color on 1 side and the other color on the other side or above and below. Any thoughts?

brodiepearce
June 1st, 2007, 01:03 PM
so are you using compiz or beryl? and if so, how do you get it to stay on the desktop because my conky shows up as the desktop is booting but then it goes away once everything is done loading or whatever.

I'm just using the standard Gnome manager that ships with Feisty. To get Conky to come up correctly with GDM you need to delay it, so I'm using a script that was posted earlier in the thread:



#!/bin/bash
sleep 10 && conky;


Save that in your home folder or something, and then set it to start on boot using 'System -> Preferences -> Sessions'.

I also have a question now though... Now when running conky, if I move a window over it, or even mouse over the menu at the top so that the description goes over the conky display, it blacks it out, and conky then freezes for about 10 seconds or so. Has anyone else had this issue? It was working perfectly the first time I had it running, but now even after reinstalling Feisty it's still crapping itself.

dannyboy79
June 1st, 2007, 02:43 PM
I'm just using the standard Gnome manager that ships with Feisty. To get Conky to come up correctly with GDM you need to delay it, so I'm using a script that was posted earlier in the thread:



Save that in your home folder or something, and then set it to start on boot using 'System -> Preferences -> Sessions'.

I also have a question now though... Now when running conky, if I move a window over it, or even mouse over the menu at the top so that the description goes over the conky display, it blacks it out, and conky then freezes for about 10 seconds or so. Has anyone else had this issue? It was working perfectly the first time I had it running, but now even after reinstalling Feisty it's still crapping itself.
Yeah, I treid that already and it didn't work (don't know if it was related to using compiz (desktop effects) though hence why I am asking) BUT I have since done a reinstall due to all my apps started with gksudo would freeze and just havn't done the conky thing yet.

So are you using compiz or Beryl? These are compostition managers and give you really cool effects for your desktop, like rain drops if you want them, a 3d cube to switch workspaces, wobbly windows, etc etc. I am guessing that you aren't using either because when I asked you stated that you were using the Gnome Desktop which didn't answer my question. I am only curious if Conky works with composition?

I can't answer your question as you can imagine since I am less experienced within conky than you, sorry. Thank you for answering most of my questions.

khardbored
June 2nd, 2007, 01:57 AM
I'm very new to Linux and subsequently, conky as well. Just a quick question, I'm testing a demo out and it needs to load up three different scripts. I can load one just fine with conky -c path/to/script - How the heck do I load multiple scripts? Thanks guys. Conky is the way to go. I can finally get away from my applets...

Karl S.
June 2nd, 2007, 09:12 PM
Yeah, I treid that already and it didn't work

Did you make the conky.sh file executable?

coarse.sand
June 3rd, 2007, 02:41 AM
Im a pretty new user to Ubuntu, but I've been beating GNOME into something appealing for the past few days and I just finished up a Conky theme. It's based around a high res cap from FLCL that I nabbed to use as a wallpaper from 4chan.org.


background yes
use_xft yes
xftfont Freesans:size=9
xftalpha 0.8
update_interval 1.7
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour hotpink
double_buffer yes
minimum_size 200 5
maximum_width 210
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
stippled_borders 0
default_color white
default_shade_color black
default_outline_color black
alignment top_left
gap_x 12
gap_y 44
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no

TEXT
${color #bac7c7}$sysname $kernel${alignr}${color}$machine
${color #bac7c7}AMD Athlon 64 3500+${alignr}${color}${freq_g cpu0} Ghz
${color #bac7c7}ATi Xpress 200m${alignr}${color}${execi 3600 fglrxinfo | tail -n2 | tail -c19}
${color #bac7c7}Uptime: ${color}$uptime
${color #bac7c7}Battery: ${color}${battery BAT1}
${color #bac7c7}Weather: ${color}${execi 1800 weatherget -f ~/.conkyweatherrc --station-id=CAXX0343 --metric }
${color #bac7c7}E-mail: ${color}${execi 300 python ~/.gmail.py}

${color #bac7c7}Processor Usage:
${cpugraph 30,180 3E3A39 f17f1f}${alignr}${color}$cpu%

${color #bac7c7}Disk Space:${alignr}$color${fs_used /} Used
${alignr}${color #f17f1f}${fs_bar 3,115 /}
${color #bac7c7}System Memory:${alignr}$color$memperc%
${alignr}${color #f17f1f}${membar 3,115}
${color #bac7c7}Virtual Memory:${alignr}$color$swapperc%
${alignr}${color #f17f1f}${swapbar 3,115}

${color #bac7c7}$processes processes ($running_processes running)

${color #bac7c7}Processor${alignr}% Used${color}
${top name 1} ${alignr}${top cpu 1}
${top name 2} ${alignr}${top cpu 2}
${top name 3} ${alignr}${top cpu 3}

${color #bac7c7}Memory${alignr}% Used${color}
${top_mem name 1} ${alignr}${top_mem mem 1}
${top_mem name 2} ${alignr}${top_mem mem 2}
${top_mem name 3} ${alignr}${top_mem mem 3}

${color #bac7c7}ESSID: ${color}${exec iwconfig eth1 | sed 's/ /\n/g' | grep ESSID | sed 's/ESSID:"//'| sed 's/"//'}${alignr}${color bac7c7}Signal: ${color}${linkstatus eth1}%

${color #bac7c7}In: ${color}${downspeed eth1} kb/s${offset 58}${color #bac7c7}Out: ${color}${upspeed eth1} kb/s
${color}${downspeedgraph eth1 20,105 3E3A39 f17f1f}${alignr}${upspeedgraph eth1 20,105 3E3A39 f17f1f}

${color #bac7c7}${tcp_portmon 1 65535 count} connections

${color #bac7c7}Outbound${alignr}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 2}${alignr}${tcp_portmon 32768 61000 rservice 2}

${color #bac7c7}Inbound${alignr}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}

It started as the example that conky supplies you with, and generally degenerated from there once I found this thread and began piecing things together from other people's configs ;). It uses the gmail and weatherget scripts (and much beating from me) that come with lyrae's conky script (http://www.gnome-look.org/content/show.php/Another+conky+scripts?content=58555). Quite a bit of it is probably redundant, I just wanted to make sure nothing would break.

notwen
June 3rd, 2007, 02:50 AM
I'm very new to Linux and subsequently, conky as well. Just a quick question, I'm testing a demo out and it needs to load up three different scripts. I can load one just fine with conky -c path/to/script - How the heck do I load multiple scripts? Thanks guys. Conky is the way to go. I can finally get away from my applets...

Lets say your script names are all in your home folder. The following commands would load them all.


conky -c .script1
conky -c .script2
conky -c .script3


If you're wanting them all to load at ocne on startup, I have a post earlier in the thread(a couple of pages up) that should give you info on how to do such a thing. I am running 3 different conky configs 24/7. =] Call me a fan or something. =p

Watcher
June 4th, 2007, 12:52 PM
And here is my conk setup. Hopefully some people find this interesting!

# Conky rc
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 Trebuchet MS:size=10
xftalpha 0.9
update_interval 1.5
total_run_times 0
draw_shades no
draw_outline no
draw_borders no
uppercase no
stippled_borders 3
border_margin 9
border_width 10
default_color white
minimum_size 340
own_window_colour brown
alignment top_right
gap_x 10
gap_y 35

TEXT
${color orange}$nodename ${color white}
$sysname $kernel (Uptime: $uptime)

${color orange}CPU ${hr 1}$color
${color orange} Load:${color white} ${loadavg}
${color orange} Processes:${color white} $processes ${color orange}Running:${color white} $running_processes
${color orange} CPU Load:${color white} ${cpu}%
${cpugraph orange ffffff}
${color orange} NAME $alignr PID CPU% MEM%${color white}
${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}
${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 orange} RAM:${color white} $alignr $memperc% ${membar 3,115}
${color orange} Swap:${color white} $alignr $swapperc% ${swapbar 3,115}
${color orange} Root:${color white} $alignr ${fs_free_perc /}% ${fs_bar 3,115 /}
${color orange} Backup:${color white} $alignr ${fs_free_perc /media/backup}% ${fs_bar 3,115 /media/backup}

${color orange}NETWORK ${hr 1}$color
${color orange} eht0:${color white} $alignc IP: ${addr eth0} | Down: ${totaldown eth0} | Up: ${totalup eth0}
${downspeedgraph eth0 20,155} $alignr ${upspeedgraph eth0 20,155}
${color orange} eth1:${color white} $alignc IP: ${addr eth1} | Down: ${totaldown eth1} | Up: ${totalup eth1}
${downspeedgraph eth1 20,155} $alignr ${upspeedgraph eth1 20,155}
${color orange} ra0:${color white} $alignc IP: ${addr ra0} | Down: ${totaldown ra0} | Up: ${totalup ra0}
${downspeedgraph ra0 20,155} $alignr ${upspeedgraph ra0 20,155}

${color orange} Connections:${color white} ${tcp_portmon 1 32767 count} inbound / ${tcp_portmon 32768 61000 count} outbound
${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}

tturrisi
June 5th, 2007, 12:26 PM
# 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 180 5

# Maximum width
maximum_width 180

# 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 ffffff
# 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 yes

# 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
# Signal:$alignr${linkstatus ath0}
# Current:$alignr${execi 20 /root/scripts/.conky_ath0} Mbits/sec
# Reading,PA:
# {execi 60 /usr/bin/pymetar KRDG}
# Dulles:
# {execi 60 /usr/bin/pymetar KIAD}
# DC/Reagan:
# ${execi 60 /usr/bin/pymetar KDCA}

TEXT
$sysname$alignr$kernel-smp
Hostname:$alignr$nodename
Uptime:$alignr$uptime
${time %A}$alignr${time %F}

wan:$alignr${execi 7200 /root/scripts/.wan-ip}
ath0:$alignr${addr ath0}
wlan0:$alignr${addr wlan0}
eth1:$alignr${addr eth1}
eth2:$alignr${addr eth2}

RAM: $mem/$memmax ${color c8c4c2}$membar$color
CPU0 ${cpu cpu1}% ${color c8c4c2}${cpubar cpu1}$color
CPU1 ${cpu cpu2}% ${color c8c4c2}${cpubar cpu2}$color
Processes: $processes ${alignr}Running: $running_processes

HD Temp:$alignr${execi 300 /root/scripts/.hdtemp}
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

DC/Reagan:
${execi 60 /usr/bin/pymetar KDCA}

brodiepearce
June 6th, 2007, 03:38 PM
I can't seem to get my top processes list to align neatly and correctly:

I've been using ukripper's format till now, but for some reason it wont display the same on my machine:



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}


But this is what it comes out as (see attachment). Ukripper's screenshot shows that the entire list moves to the right to accomodate long process names, on mine however, each line moves individually. :S

nanotube
June 6th, 2007, 04:13 PM
I can't seem to get my top processes list to align neatly and correctly:

I've been using ukripper's format till now, but for some reason it wont display the same on my machine:



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}


But this is what it comes out as (see attachment). Ukripper's screenshot shows that the entire list moves to the right to accomodate long process names, on mine however, each line moves individually. :S

try this:

NAME ${alignr}PID CPU% MEM%
${top name 1} ${alignr}${top pid 1} ${top cpu 1} ${top mem 1}
${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}
the ${alignr} variable makes everything after it right-justified. that ought to line things up for you. :)