Two setups, old and new. Compare, discuss, etc.
Code:
# .conkyrc configuration
# Tristam Green, 11-21-2007
# Revision 0.1123 11-23-2007
# Revision 1.0131 01-31-2008
# *****ALL EXTRA/REMOVED CODE*****
# USB drive text: Displays "not mounted" when device name_of_device is not mounted.
#
# +${if_mounted /media/"name_of_device"} ${color white}usb ${fs_free /media/SCOTT4GB} (${fs_free_perc /media/SCOTT4GB}%) ${color white}free of ${fs_size /media/"name_of_device"}
# ${fs_bar /media/"name_of_device"}${else} usb ${color #ff0000}not mounted${endif}
# Rhythmbox execution text: displays "not playing" in all fields if rhythmbox is not running.
# All Rhythmbox formatting can be found lower in the configuration file.
#
# ${color white}${font Trebuchet MS:size=7}Music ${font}${hr 1}
# ${if_running rhythmbox} ${color white}status $alignr {${color #00ff00}active${color white}}
# +${color white}title ${execi 1 rhythmbox-client --print-playing-format "%aA - %tT"}
# +${color white}album ${execi 1 rhythmbox-client --print-playing-format "%aT (%ay)"} $alignr track ${exec rhythmbox-client --print-playing-format "%tn"}
# +${color white}time ${exec rhythmbox-client --print-playing-format "%te / %td"}${else} ${color white}status $alignr {${color #ff0000}inactive${color white}}
# +${color white}title Not playing
# +${color white}album Not playing $alignr track Not playing
# +${color white}time Not playing${endif}
# *****END EXTRA/REMOVED CODE*****
# maintain spacing between certain elements
use_spacer yes
# set to yes if you want tormo to be forked in the background
#background yes
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans:size=6
#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 250
# Draw shades?
draw_shades no
# Draw outlines?
# amplifies text
draw_outline yes
# 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 == white
default_color grey90
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
# 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
# *** RHYTHMBOX FORMAT SETTINGS ***
# ${rhythmbox-client --print-playing}
# Print the title and artist of the playing song
# ${rhythmbox-client --print-playing-format}
# Print formatted details of the song
# *** PARAMETERS ***
# %at Album title
# %aT Album title in lowercase
# %aa Album artist
# %aA Album artist in lowercase
# %ay Release year of album
# %an Album disc number
# %aN Album disc number with leading zero
# %ag Album genre
# %aG Album genre in lowercase
# %tt Track title
# %tT Track title in lowercase
# %ta Track artist
# %tA Track artist in lowercase
# %tn Track number
# %tN Track number with leading zero
# %td Track duration
# %te Elapsed time of track
# Variables can be combined using quotes. For example "%tn %aa %tt", will
# print the track number followed by the artist and the title of the
# track.
# stuff after 'TEXT' will be formatted on screen
TEXT
${font OpenLogos:size=13}${color #fff000}T ${color #ff6800}u${font}${font Nimbus Sans L:size=10}${color white}$alignr ${time %a}, ${time %b %e %Y} ${time %T}${font}
${color white}${execi 30 whoami} @ $nodename $alignr $sysname $machine $kernel
${hr 2}
${color white}${font Trebuchet MS:size=7}System${font} ${hr 1}
+${color white}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} $alignr${freq_g}GHz
+${color white}uptime $uptime_short $alignr ${color white}temp ${acpitempf}F
+${color white}usage $cpu% $alignr load $loadavg
${color white}${font Trebuchet MS:size=7}Power${font} ${hr 1}
+${color white}ac status $alignr ${acpiacadapter}
+${color white}battery $alignr ${battery_time BAT1} ${battery_percent BAT1}%
${battery_bar BAT1}
${color white}${font Trebuchet MS:size=7}Processes${font} ${hr 1}
+${color white}total $alignr $processes
+${color white}running $alignr $running_processes
${color white}${font Trebuchet MS:size=7}Memory${font} ${hr 1}
+${color white}physical $alignr ${mem} / ${memmax} ${memperc}%
+${color white}swap $alignr ${swap} / ${swapmax} ${swapperc}%
${color white}${font Trebuchet MS:size=7}Wireless (${color #00ff66}${addr eth1}${color white}) ${font}${color white} ${hr 1}
+${color white}ssid ${wireless_essid eth1} $alignr ${wireless_ap eth1}
+${color white}mode ${wireless_mode eth1} $alignr Bitrate: ${wireless_bitrate eth1}
+${color white}down ${color #ff9900}${downspeedf eth1} ${color white}k/s ${alignr}${color white}up ${color #00ff66}${upspeedf eth1} ${color white}k/s
+${color white}total down: ${totaldown eth1} $alignr total up: ${totalup eth1}
${color white}${font Trebuchet MS:size=7}Wired ${color white}(${color #00ff66}${addr eth0}${color white}) ${font}${color white}${hr 1}
+${color white}down ${color #ff9900}${downspeedf eth0} ${color white}k/s ${alignr}${color white}up ${color #00ff66}${upspeedf eth0} ${color white}k/s
+${color white}total down: ${totaldown eth0} $alignr total up: ${totalup eth0}
${color white}${font Trebuchet MS:size=7}File Systems ${font}${hr 1}
+${color white}root ${fs_free /} (${fs_free_perc /}%) ${color white}free of ${fs_size /}
+${color white}vista ${fs_free /media/sda3} (${fs_free_perc /media/sda3}%) ${color white}free of ${fs_size /media/sda3}
Code:
# .conkyrc-minimal
# Latest Modification - January 31, 2008
# author - Tristam Green
#Following code when inserted with the installed "OpenLogos" font displays
#an Ubuntu and GNOME logo
#${font OpenLogos:size=13}${color #fff000}T ${color #ff6800}u${font}
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
default_outline_color black
draw_outline yes
use_xft yes
update_interval 0.5
draw_shades no
draw_borders no
use_xft yes
xftfont Sans:size=6
minimum_size 1280 0
border_margin 1
default_color white
#own_window_colour 181717
alignment top_left
gap_x 0
gap_y 24
use_spacer no
#Everything displayed after TEXT is shown onscreen
TEXT
${execi 30 whoami} @ $nodename ${color green}|${color} ac adapter ${acpiacadapter} :|: battery ${battery_time BAT1} ${battery_percent BAT1}% ${color green}|${color} wired (${color #BAC0E2}${addr eth0}${color}) ${color green}|${color} wireless (${wireless_essid eth1}) (${color #BAC0E2}${addr eth1}${color}) ${color green}|${color} public (${color #BAC0E2}${execi 3600 wget -O - http://whatismyip.org/ | tail}${color}) ${font}${color white}${alignr}${time %B %e %Y %R:%S}
cpu: freq ${freq_g}GHz usage ${cpu}% temp ${acpitempf}F
Screenshot#1 - old .conkyrc, clogs my screen.
Blurred section - username@hostname
Screenshot#2 - new .conkyrc-minimal, no clog!
Blurred section 1 - username@hostname
Blurred section 2 - Public IP
ninja edit: no idea about the black slash through the upper panel on image 2, I probably messed something up when editing.
Bookmarks