I've almost got this conky thing working, I just have a few minor issues.
First, I have some extra fonts that will eventually go where the random letters are at the beginning of the headers. Where do I put them so conky can find them? Second, is there a way to get the logging and fortune to align like the rest of the text? Third, the last line under memory hogs is not quite aligned to the right like it's supposed to be. What's up with that?
Sorry about the text file. It's been cobbled together from a few different sources and it's kind of a mess.
Code:
# maintain spacing between certain elements
use_spacer right
# 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-8
#xftfont Andale Mono-8
#xftfont Clean-8
#xftfont cubicfive10:pixelsize=8
xftfont Sans-Serif:size=9:pixelsize=11
#xftfont swf!t_v02:pixelsize=11
# Text alpha when using Xft
xftalpha 1
#mail_spool $MAIL
# Update interval in seconds
update_interval 3.0
# Create own window instead of using desktop (required in nautilus) normal desktop or override
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_hints below
# 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?
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 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
TEXT
${voffset 8}${font OpenLogos:regular:size=18}${color #ffa500}u ${voffset -8}${font Verdana:bold:size=10}${color #f8f8ff}System Information
${voffset -10}${color #f8f8ff}${hr 1}$font$color
${font Verdana:regular:size=9}${color #f8f8ff}${execi 99999 uname -o} ${color #f8f8ff}${execi 99999 lsb_release -d -s -c | tr -s "\n" " "}
${color}$kernel $machine ${color}${execi 99999 uname -v | cut -c -15}
${voffset 8}Up Time: ${color}$uptime
${font Your Keys:regular:18}${color white}W ${font Verdana:bold:size=10}${color #f8f8ff}System Stats
${voffset -10}${color #f8f8ff}${hr 1}$font$color
${font Verdana:regular:size=8}${color #f8f8ff}${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}$font$color
${font Verdana:regular:size=8}${color #f8f8ff}Video Card: ${font Verdana:regular:size=9}${color #f8f8ff}${execi 20 glxinfo | grep "OpenGL renderer" | cut -c 25-39}$color$font
2D/3D Clock: ${color #f8f8ff}${execi 20 nvidia-settings -q GPUCurrentClockFreqs | grep "Attribute" | cut -d" " -f6 | tr -s "," "/" | tr -d "."
} MHz${color} Temp: ${color #f8f8ff}${execi 20 nvidia-settings -q gpucoretemp | grep "Attribute" | cut -d" " -f6 | cut -c -2}ᵒC
${freq_g 1}GHz ${color #f8f8ff}${execi 20 sensors |grep "Core0 Temp" | cut -d" " -f4}$font$color$alignr${freq_g 2}GHz ${color #f8f8ff}${execi 20 sensors |grep "Core1 Temp" | cut -d" " -f4} $color
${voffset -6}${cpugraph cpu1 25,115 000000 9932cc } ${cpugraph cpu2 25,115 000000 9932cc}
${color #f8f8ff}${voffset -25} ${cpu cpu1}%$alignr${cpu cpu2}% ${color #f8f8ff}
${voffset 3}$alignr${cpubar cpu1 6,115} ${color #f8f8ff}${cpubar cpu2 6,115}$color
${font Verdana:regular:size=10}CPU Hogs $alignr$CPU%
${font Verdana:regular:size=9}$color ${top name 1} $alignr${top cpu 1}
$color ${top name 2} $alignr${top cpu 2}
$color ${top name 3} $alignr${top cpu 3}
${font Verdana:regular:size=10}${color}Memory Hogs $alignr$MEM
${font Verdana:regular:size=9}${color white} ${top_mem name 1} $alignr${top_mem mem 1}
$color ${top_mem name 2} $alignr${top_mem mem 2}
$color ${top_mem name 3} $alignr${top_mem mem 3}
${font Your Keys:regular:18}${color white}W ${font Verdana:bold:size=10}${color #f8f8ff}System Storage
${voffset -10}${color #f8f8ff}${hr 1}$font$color
${color #f8f8ff}A.N.A. ${fs_free_perc /}% ${fs_bar 6, / }$color
${font Verdana:regular:size=9}RAM: $mem/$memmax ${color #f8f8ff}${membar 6}
${color #f8f8ff}$Swap: $swap/$swapmax ${color #f8f8ff}${swapbar 6}
${color #f8f8ff}Really_Big_HDD: ${fs_free_perc /Really_Big_HDD}% ${fs_bar 6 /Really_Big_HDD}$color
${color #f8f8ff}Windows ${fs_free_perc /windows}% ${fs_bar 6, /windows}$color
${font Your Keys:regular:18}${color white}W ${font Verdana:bold:size=10}${color #f8f8ff}Logging
${voffset -10}${color #f8f8ff}${hr 1}$font$color
${font Verdana:regular:size=9}${color white}Messages:
$color${execi 30 tail -n 3 /var/log/messages | fold -w50}
$endif${voffset 3}${font Wingdings 3:regular:size=18}${color #f8f8ff}F${voffset -3}${font Verdana:bold:size=10}${color #f8f8ff} Network
${voffset -10}${color #f8f8ff}${hr 1}$font$color
${color #f8f8ff}WAN: $color${execi 240 host tuhost.myvnc.com | cut -d" " -f4}$alignr${color #f8f8ff}LAN: $color${addr eth0}
${downspeedgraph eth0 25,115 c71585 9932cc} ${alignr}${upspeedgraph eth0 25,115 c71585 9932cc}
${voffset -25}${color #f8f8ff} Download: ${color white}${downspeed eth0}k/s ${alignr}${color #f8f8ff}Upload: ${color white}${upspeed eth0}k/s ${voffset 15}
${font Verdana:regular:size=9}${color #f8f8ff}Total: ${color white}${totaldown eth0} ${color #f8f8ff}Total: ${color white}${totalup eth0}
${color #f8f8ff}Inbound: ${color white}${tcp_portmon 1 32767 count} ${color #f8f8ff}Outbound: ${color white}${tcp_portmon 32768 61000 count}
${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}
${font Your Keys:regular:18}${color white}W ${font Verdana:bold:size=10}${color #f8f8ff}FORTUNE
${voffset -10}${color #f8f8ff}${hr 1}$font$color
${font Verdana:regular:size=9}${color white}${execi 120 fortune -s | fold -w50}
As always, any help is much appreciated. Thanks.
Bookmarks