Not ever so portable; there's references to particular sensors and images that people wouldn't necessarily have. And there's a whole bunch of alignment stuff that would probably change. Fits in with my desktop nicely, though.
Code:
# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat shows number of connections from your computer and application/PID making it. Kill spyware!
#
# -- Pengo
#
# Run Conky in the background
background yes
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_colour F7F6F5
# own_window_type override
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 255
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 right
# Use Xft?
use_xft yes
xftfont Bitstream Vera Sans:size=9
#xftfont Futura Md BT Medium:size=9
xftalpha 1.0
text_buffer_size 2048
# Update interval in seconds
update_interval 1
# Minimum size of text area
# minimum_size 200 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_inner_margin 0
border_outer_margin 0
# border width
border_width 2
# Default colors and also border colors
#default_color 333333
default_color F7F6F5
# 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 12
gap_y 26
top_cpu_separate yes
top_name_width 30
cpu_avg_samples 2
net_avg_samples 2
# stuff after 'TEXT' will be formatted on screen
TEXT
$color
${color #DD4814}SYSTEM ${hr 2}$color
${voffset 2}${exec cat /etc/issue.net}$alignr$sysname $kernel
${exec cat /etc/os-release | cut -d, -f2 -s | awk '{print substr($0,2,length($0)-2)}'}$alignr$machine
${offset 30}${voffset 8}$nodename${alignr}Uptime: $uptime_short
${image /usr/share/icons/oxygen/22x22/devices/computer.png -p 0,68}
${voffset -4}${color #DD4814}CPU ${hr 2}$color
${voffset 2}$alignr${pre_exec cat /proc/cpuinfo | grep 'model name' | sed -e 's/.*: //' | uniq}
${image /usr/share/icons/oxygen/22x22/devices/cpu.png -p 0,110}
#Load:$alignr$loadavg
${voffset -8}${loadgraph 10,301 333333 DD4814 4}
${voffset 3}${freq_g 1}GHz:
$alignr${voffset -15}${offset -207}${cpu cpu1}%
${voffset -15}${offset 153}${freq_g 3}GHz:
$alignr${voffset -15}${offset -55}${cpu cpu3}%
${voffset -14}${offset 98}${cpubar cpu1 6,50}$alignr${cpubar cpu3 6,50}
${freq_g 2}GHz:
$alignr${voffset -15}${offset -207}${cpu cpu2}%
${voffset -15}${offset 153}${freq_g 4}GHz:
$alignr${voffset -15}${offset -55}${cpu cpu4}%
${voffset -14}${offset 98}${cpubar cpu2 6,50}$alignr${cpubar cpu4 6,50}
${voffset -10}${color #DD4814}PROCESSES ${hr 2}$color
${voffset 4}
$alignr${voffset -14}${offset -116}PID
$alignr${voffset -14}${offset -58}%CPU
$alignr${voffset -14}${offset -3}%MEM
${top name 1}
${font Inconsolata Medium:size=9}$alignr${voffset -14}${offset -116}${top pid 1}
$alignr${voffset -14}${offset -60}${top cpu 1}
$alignr${voffset -14}${offset -4}${top mem 1}$font
${top name 2}
${font Inconsolata Medium:size=9}$alignr${voffset -14}${offset -116}${top pid 2}
$alignr${voffset -14}${offset -60}${top cpu 2}
$alignr${voffset -14}${offset -4}${top mem 2}$font
${top name 3}
${font Inconsolata Medium:size=9}$alignr${voffset -14}${offset -116}${top pid 3}
$alignr${voffset -14}${offset -60}${top cpu 3}
$alignr${voffset -14}${offset -4}${top mem 3}$font
${voffset -10}${color #DD4814}MEMORY / DISK ${hr 2}$color
${image /usr/share/icons/oxygen/22x22/devices/gnome-dev-memory.png -p 0,302}
${image /usr/share/icons/oxygen/22x22/devices/drive-harddisk.png -p 278,302}
${voffset -4}RAM:${offset 30}$memperc% $alignr${offset -58}/: ${fs_used_perc /}%
${voffset -14}${offset 98}${membar 6,50}$alignr${fs_bar 6,50 /}
Swap:${offset 23}$swapperc% $alignr${offset -58}/home: ${fs_used_perc /home}%
${voffset -14}${offset 98}${swapbar 6,50}$alignr${fs_bar 6,50 /home}
${voffset -10}${color #DD4814}TEMPERATURES ${hr 2}$color
${voffset 4}Processor: ${offset 33}${hwmon 0 temp 1}°C ${alignr}${hwmon 1 fan 2} RPM
${alignr}${voffset -15}${offset -85}CPU Fan:
Graphics card: ${offset 6}${nvidia temp}°C${alignr}${hwmon 1 fan 1} RPM
${alignr}${voffset -15}${offset -85}Case Fan:
Hard drive: ${offset 27}${hddtemp /dev/sdb}°C${alignr}${tail /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor 1}
${alignr}${voffset -15}${offset -85}Governor:
${voffset -8}${color #DD4814}NETWORK ${hr 2}$color
${offset 90}${voffset 2}local address:$alignr${addr eth1}
${offset 89}${voffset 2}public address:$alignr${pre_exec wget -q -O /dev/stdout http://checkip.dyndns.org/ | cut -d : -f 2- | cut -d \< -f -1}
#${offset 82}${voffset 2}public address: $alignr${pre_exec wget -O - http://www.whatismyip.org}
${image /usr/share/icons/oxygen/22x22/devices/network-wired.png -p 0,458}
${voffset -10}Down: ${downspeed eth1}/s${alignr}Up: ${upspeed eth1}/s
${downspeedgraph eth1 10,130 333333 FF0000 1024}${alignr}${upspeedgraph eth1 10,130 333333 00FF00 256}$color
Total: ${totaldown eth1}${alignr}Total: ${totalup eth1}
Bookmarks