Here's my conky setup. It has three parts, two of which display system information and the third displays rss feeds and stock information.
Code:
# UBUNTU-CONKY
#my conky
# Create own window instead of using desktop (required in nautilus)
own_window yes
#own_window_type desktop
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background yes
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer no
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
#font arial
xftfont arial-08
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
# 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
#?: ${i2c 9191-0290 in 1}
#?: ${i2c 9191-0290 in 2}
#?: ${i2c 9191-0290 in 3}
#?: ${i2c 9191-0290 in 4}
#?: ${i2c 9191-0290 in 5}
#?: ${i2c 9191-0290 in 6}
#?: ${i2c 9191-0290 in 7}
#?: ${i2c 9191-0290 in 8}
#?: ${i2c 9191-0290 in 0}
#?: ${voltage_mv 1}
#${voltage_mv 2}
#${voltage_mv 3}
#${voltage_mv 4}
#${color orange}FORTUNE ${hr 2}$color
#${execi 120 fortune -s | fold -w50}
#${color orange}Inbound Connection ${alignr} Local Service/Port$color
#${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
#${color orange}LOGGING ${hr 2}$color
#${execi 30 tail -n3 /var/log/messages | fold -w50}
#HD Temp 2: ${hddtemp /dev/sda}
TEXT
$color
${color orange}SYSTEM ${hr 2}$color
$sysname $kernel on $machine
${color}Intel Quad Core Q6600
${memmax}/4GiB
${color orange}CPU/Hardware ${hr 2}$color
${freq}MHz Load: ${loadavg}
$cpubar
${color lightgrey}core 1 @ ${execi 15 cat /sys/class/hwmon/hwmon1/device/temp1_input | cut -c1-2}°C :
${color} ${cpu cpu1}% ${cpugraph 15,165 000000 A47E5A cpu1}
${color lightgrey}core 2 @ ${execi 15 cat /sys/class/hwmon/hwmon2/device/temp1_input | cut -c1-2}°C :
${color} ${cpu cpu2}% ${cpugraph 15,165 000000 FF1B00 cpu2}
${color lightgrey}core 3 @ ${execi 15 cat /sys/class/hwmon/hwmon3/device/temp1_input | cut -c1-2}°C :
${color} ${cpu cpu3}% ${cpugraph 15,165 000000 0000ff cpu3}
${color lightgrey}core 4 @ ${execi 15 cat /sys/class/hwmon/hwmon4/device/temp1_input | cut -c1-2}°C :
${color} ${cpu cpu4}% ${cpugraph 15,165 000000 00ff00 cpu4}
MB: ${i2c 9191-0290 temp 1}°C
CPU: ${i2c 9191-0290 temp 2}°C
CPU FAN: ${i2c 9191-0290 fan 2} RPM
HD Temp: ${hddtemp /dev/sdb}
GPU Temp: ${execi 15 nvclock -T | tail -n1 | cut -c21-22}°C
Code:
# UBUNTU-CONKY
# my conky
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
background yes
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer no
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
#font arial
xftfont arial-08
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 1
# 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 orange}CPU% MEM% NAME$color
${top cpu 1} ${top mem 1} ${top name 1 | cut -c1-10}
${top cpu 2} ${top mem 2} ${top name 2 | cut -c1-10}
${top cpu 3} ${top mem 3} ${top name 3 | cut -c1-10}
${top cpu 4} ${top mem 4} ${top name 4 | cut -c1-10}
${color orange}MEMORY / DISK ${hr 2}$color
RAM: $memperc% ${membar 6}$color
Swap: $swapperc% ${swapbar 6}$color
ktissexy: ${fs_free_perc /home/ktissexy}% ${fs_bar 6 /home/ktissexy}$color
windows: ${fs_used /windows}/${fs_size /windows} ${fs_bar 6 /windows}
${color orange}NETWORK (${addr eth1}) ${hr 2}$color
Down: $color${downspeed eth1} k/s ${alignr}Up: ${upspeed eth1} k/s
${downspeedgraph eth1 15,80 000000 ff0000} ${alignr}${upspeedgraph eth1
15,80 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}
Code:
# Create own window instead of using desktop (required in nautilus)
own_window yes
#own_window_type desktop
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background yes
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer no
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
#font arial
xftfont arial-08
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
# 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 20
gap_y 45
# stuff after 'TEXT' will be formatted on screen
#?: ${i2c 9191-0290 in 1}
#?: ${i2c 9191-0290 in 2}
#?: ${i2c 9191-0290 in 3}
#?: ${i2c 9191-0290 in 4}
#?: ${i2c 9191-0290 in 5}
#?: ${i2c 9191-0290 in 6}
#?: ${i2c 9191-0290 in 7}
#?: ${i2c 9191-0290 in 8}
#?: ${i2c 9191-0290 in 0}
#?: ${voltage_mv 1}
#${voltage_mv 2}
#${voltage_mv 3}
#${voltage_mv 4}
#${color orange}FORTUNE ${hr 2}$color
#${execi 120 fortune -s | fold -w50}
#${color orange}Inbound Connection ${alignr} Local Service/Port$color
#${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
#${color orange}LOGGING ${hr 2}$color
#${execi 30 tail -n3 /var/log/messages | fold -w50}
#HD Temp 2: ${hddtemp /dev/sda}
TEXT
$color
${color orange}RSS feeds ${hr 2}$color
${color orange}WSJ Asian Technology:
${color lightgrey}${execi 120 /home/ktissexy/conky-rss.sh http://online.wsj.com/xml/rss/3_7097.xml 5 2}
${color orange}WSJ Economy:
${color lightgrey}${execi 120 /home/ktissexy/conky-rss.sh http://online.wsj.com/xml/rss/3_7086.xml 5 2}
${color orange}ha:
${color lightgrey}${execi 120 /home/ktissexy/conky-rss.sh http://www.comedycentral.com/rss/jokes/index.jhtml 5 2}
${color orange}STOCKS ${hr 2}$color
${color lightgrey}${execi 60 yahooquote --verbose fast | head -n3 | tail -n2}
${color lightgrey}${execi 60 yahooquote --verbose fast | grep "Change"}
${color lightgrey}${execi 60 yahooquote --verbose ptwzx | head -n3 | tail -n2}
${color lightgrey}${execi 60 yahooquote --verbose ptwzx | grep "Change"}
${color lightgrey}${execi 60 yahooquote --verbose vmx | head -n3 | tail -n2}
${color lightgrey}${execi 60 yahooquote --verbose vmx | grep "Change"}
${color lightgrey}${execi 60 yahooquote --verbose intc | head -n3 | tail -n2}
${color lightgrey}${execi 60 yahooquote --verbose intc | grep "Change"}
Bookmarks