Page 1 of 32

Conky Showoff thread

Posted: Tue Jul 28, 2009 9:16 am
by Joejc
heres my conky





Image
the calenders off but im waiting till next month to see if it works better.

here my .conkyrc

Code: Select all

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

# border width
border_width 2

# 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
${color #dc0e0e}System ${hr 2}$color
${color white}$nodename $sysname $kernel on $machine 
Uptime:$uptime
${color white}${time %A %B %e, %G} ${color #00ff00}${time %I:%M:%S}${time %p} ${time %Z}

${color #dc0e0e}Cpu ${hr 2}$color
${color white}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'}
${color green}${freq_dyn_g}Ghz
 
${color white}Usage:${color green}${cpu}% ${color #DFDFDF}${cpubar}
${color #DFDFDF}${cpugraph} ${color #DFDFDF}
${color white}Processes:${color green} $processes ${color white}Running:${color green} $running_processes ${color white}Cpu:${color green} ${acpitemp}C${color white}

${color #dc0e0e}HDD ${hr 2}$color
 ${color white}used:${color green} ${fs_used_perc /}% ($fs_used/$fs_size) $alignr ${color white}
 ${color #DFDFDF}${fs_bar 6 /}$color
 ${color white}disk IO:${color green} $diskio
 ${color #DFDFDF}${diskiograph #DFDFDF}$color
${color #dc0e0e}RAM ${hr 2}$color
 ${color white}RAM used:${color green} $memperc% ($mem/$memmax)
 ${color #DFDFDF}${membar 6}$color
 ${color white}swap used:${color green} $swapperc% ($swap/$swapmax)
 ${color #DFDFDF}${swapbar 6}$color

${color #dc0e0e}NETWORKING ${hr 2}$color
${color white}Down: ${color green}${downspeed eth0} k/s ${alignr}${color white}Up:${color green} ${upspeed eth0} k/s
${color #DFDFDF}${downspeedgraph eth0 25,140 FF8200 ff0000} ${alignr}${upspeedgraph eth0 
25,140 FF0000 FF9900}$color
${color white}Total: ${color green}${totaldown eth0} ${alignr}${color white}Total:${color green} ${totalup eth0}
${color white}Inbound:${color green} ${tcp_portmon 1 32767 count} 
${color white}Outbound:${color green} ${tcp_portmon 32768 
61000 count}${alignr}${color white}Total:${color green} ${tcp_portmon 1 65535 count}
${color #dc0e0e}TIME ${hr 2}$color
${font LCDMono:size=56}${time %R}${font LCDMono:size=10}:${time %S}${font}
${voffset -63}${font Zekton:size=20}${alignr 5}${time %b}${font}
${font Zekton:size=20}${alignr 5}${time %y}${font}

${color #dc0e0e}CALANDAR ${hr 2}$color
${font LCDMono:size=19}${color2}${pre_exec ~/Conky/scripts/calendario.sh semana}
${color 888888}${pre_exec ~/Conky/scripts/calendario.sh pasado}${color2}${pre_exec ~/Conky/scripts/calendario.sh hoy}${color 888888}${pre_exec ~/Conky/scripts/calendario.sh futuro}${font}



Re: Conky Showoff thread

Posted: Tue Jul 28, 2009 9:57 am
by lagagnon
and mine is below and here is the .conkyrc file

Code: Select all

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

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

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

# 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

# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256

# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512

# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384

# 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
$stippled_hr
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}CPU Usage:${color #cc2222} $cpu% ${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 lightgrey}CPU Temp:${execi 60 sensors | grep M/B | cut -c 15-16}C
$color$stippled_hr
${color lightgrey}Networking:
 Down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed eth0} k/s
${color #0000ff}${downspeedgraph eth0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph eth0 32,150 0000ff ff0000}
$color$stippled_hr
${color lightgrey}File systems:
 / $color${fs_used /}/${fs_size /} ${fs_bar /}
 /home $color${fs_used /home}/${fs_size /home} ${fs_bar /home}
$stippled_hr
${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 lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${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}

Re: Conky Showoff thread

Posted: Wed Jul 29, 2009 3:30 pm
by dogbert176
OK - here's my conky.

System monitor:

Code: Select all

update_interval 1.0

own_window yes
own_window_type override #try also 'normal' or 'desktop' 
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

double_buffer yes

text_buffer_size 6100 # large buffer needed

max_specials 512
max_user_text 10000

# Minimum size of text area
minimum_size 240 5
maximum_width 240

draw_shades no
draw_outline no # amplifies text if yes
draw_borders no
draw_graph_borders no

use_xft yes
xftalpha 0.9
xftfont Candera:size=8
uppercase no
override_utf8_locale yes
use_spacer no
short_units yes

stippled_borders 3
border_margin 9
border_width 10

default_bar_size 228 5

gap_x 5
gap_y 10

default_color grey40
color1 grey60
color2 firebrick4
color3 firebrick4
color4 red
color5 grey40

#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right


TEXT
${execpi 7200 /home/frank/Programmas/Conky/configuraties/scripts/conkytemplate/conkytemplate7.sh}
${voffset -85}${font Radio Space:size=14}${alignc}${time %a %d %b %Y}
${font openlogos:size=40}${color2} Z${color}${voffset -15}${font Radio Space:size=27}${time %I:%M}${font}${color2}${voffset -22}${font openlogos:size=35}u${font}${color}
${font Bitstream Vera Sans Mono:style=Bold:size=10}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/                     /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color2}'"$DJS"'${color }'" "/}${color}$font

${voffset -20}${font Candera:bold:size=11}SYSTEEM${alignr 12}${cpubar cpu3 1,140}$font
${voffset 10}Kernel:${alignr 12}$sysname $kernel
Editie:${alignr 12}${color}${pre_exec cat /etc/issue.net |cut -c 1-19}
Aantal updates: ${alignr 12}${color5}${execi 3600 aptitude search "~U" | wc -l | tail}${color }
UpTime: ${alignr 12}${color5}${uptime}${color }
Systeem temperatuur: ${alignr 12}${color5}${execi 30 hddtemp /dev/sda7 |cut -c 33-36}C${color }

${font Candera:bold:size=11}PROCESSOR${alignr 12}${cpubar cpu3 1,122}$font
${voffset 5}$font${color }${alignr 6}${cpugraph cpu1 85,225 000000 8B1A1A}  
${voffset -98}${color }${alignr 6}${cpugraph cpu2 85,225 000000 FF0000}   
${voffset -97}${color }Intel Core2 Duo CPU E6750 @2.66GHz
${color }Frequentie: ${alignr 12}${color5}${freq_g cpu0}Ghz${color }
${color }CPU1${goto 60}${color3}${cpu cpu1}%${alignr 12}${color }${cpubar cpu1 8,100}	
${color }CPU2${goto 60}${color3}${cpu cpu2}%${alignr 12}${color }${cpubar cpu2 8,100}
Temp CPU1/2: ${alignr 12}${color5}${execpi 10 sensors | grep "Core 0:" | paste -s | cut -c15-21 | sed "/^$/d"} ${color }/${color5}${execpi 10 sensors | grep "Core 1:" | cut -c15-21 | sed "/^$/d"}${color }
${color }CPU Historiek: ${alignr 12}${color5}${loadavg}${color }
${color }Processen: ${alignr 12}${color5}${processes} (${running_processes} lopend)${color }

${color }${font Candera:bold:size=8}Top CPU Processen: ${alignr 12} CPU%$font
${color5}${top name 1}${alignr 12}${top cpu 1}
${top name 2}${alignr 12}${top cpu 2}
${top name 3}${alignr 12}${top cpu 3}${color }

${font Candera:bold:size=11}GEHEUGEN${alignr 12}${cpubar cpu3 1,130}$font
${voffset 10}RAM${goto 60}${color3}${memperc}%${alignr 12}${color }${membar 8,100}
${color }Swap${goto 60}${color3}${swapperc}%${alignr 12}${color }${swapbar 8,100}

${color }${font Candera:bold:size=8}Top Mem Processen: ${alignr 12}MEM%$font
${color }${top_mem name 1}${alignr 12}${top_mem mem 1}
${color }${top_mem name 2}${alignr 12}${top_mem mem 2}
${color }${top_mem name 3}${alignr 12}${top_mem mem 3}

${font Candera:bold:size=11}HARDE SCHIJVEN${alignr 12}${cpubar cpu3 1,85}$font
${alignr 12}${diskiograph_read /dev/sda7 15,100 000000 2B60DE}
${voffset -28}${color }${alignr 12}${diskiograph_write /dev/sda7 15,100 000000 8B1A1A}
${voffset -18}${color }home${color3}${goto 60}${fs_used_perc /home}%${color }${alignr 12}${fs_bar 8,100 /home}
${voffset -10}${alignr 12}${diskiograph_read /dev/sda2 15,100 000000 2B60DE}
${voffset -28}${color }${alignr 12}${diskiograph_write /dev/sda2 15,100 000000 8B1A1A}
${voffset -18}root${color3}${goto 60}${fs_used_perc /}%${color }${alignr 12}${fs_bar 8,100 /}
${voffset -10}${alignr 12}${diskiograph_read /dev/sda5 15,100 000000 2B60DE}
${voffset -28}${color }${alignr 12}${diskiograph_write /dev/sda5 15,100 000000 8B1A1A}
${voffset -18}doc${color3}${goto 60}${fs_used_perc /media/DOCUMENTEN}%${color }${alignr 12}${fs_bar 8,100 /media/DOCUMENTEN}
${voffset -10}${alignr 12}${diskiograph_read /dev/sda6 15,100 000000 2B60DE}
${voffset -28}${color }${alignr 12}${diskiograph_write /dev/sda6 15,100 000000 8B1A1A}
${voffset -18}brol${color3}${goto 60}${fs_used_perc /media/BROL}%${color }${alignr 12}${fs_bar 8,100 /media/BROL}${if_existing /media/WIN_XP}
${voffset -10}${alignr 12}${diskiograph_read /dev/sda1 15,100 000000 2B60DE}
${voffset -28}${color }${alignr 12}${diskiograph_write /dev/sda1 15,100 000000 8B1A1A}
${voffset -18}xp${color3}${goto 60}${fs_used_perc /media/WIN_XP}%${color }${alignr 12}${fs_bar 8,100 /media/WIN_XP}${endif}${if_existing /media/HD3-MUZIEK}
${voffset -10}${alignr 12}${diskiograph_read /dev/sdb1 15,100 000000 2B60DE}
${voffset -28}${color }${alignr 12}${diskiograph_write /dev/sdb1 15,100 000000 8B1A1A}
${voffset -18}muziek${goto 60}${color3}${fs_used_perc /media/HD3-MUZIEK}%${color }${alignr 12}${fs_bar 8,100 /media/HD3-MUZIEK}
${voffset -10}${alignr 12}${diskiograph_read /dev/sdb2 15,100 000000 2B60DE}
${voffset -28}${color }${alignr 12}${diskiograph_write /dev/sdb2 15,100 000000 8B1A1A}
${voffset -18}backup${goto 60}${color3}${fs_used_perc /media/HD3-BACKUP}%${color }${alignr 12}${fs_bar 8,100 /media/HD3-BACKUP}${endif}

${font Candera:bold:size=11}NETWERK${alignr 12}${cpubar cpu3 1,142}$font
${alignr 12}${downspeedgraph eth0 40,225 000000 8B1A1A} 
${voffset -33}${alignr 12}${upspeedgraph eth0 20,225 000000 FF0000}
${voffset -47}${color }LAN (eth0) IP: ${alignr 12}${addr eth0}
Down: ${downspeed eth0}k/s${alignr 12}Up:${upspeed eth0}k/s
Downloaded: ${totaldown eth0}${alignr 12}Uploaded: ${totalup eth0}

${font Candera:bold:size=10}WEER${alignr 12}${cpubar cpu3 1,178}$font
${color1}${execpi 1800 conkyForecast --location=BEXX0022 --template=/home/frank/Programmas/Conky/configuraties/scripts/conkyforecast/script04/conkyForecast.template}
RSS-conky:

Code: Select all

update_interval 60

own_window yes
own_window_type override #try also 'normal' or 'desktop' 
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

double_buffer yes

text_buffer_size 6100 # large buffer needed

max_specials 512
max_user_text 10000

# Minimum size of text area
minimum_size 500
maximum_width 500

draw_shades no
draw_outline no # amplifies text if yes
draw_borders no
draw_graph_borders no

use_xft yes
xftalpha 0.9
xftfont Candera:size=9
uppercase no
override_utf8_locale yes
use_spacer no
short_units yes

stippled_borders 3
border_margin 9
border_width 10


gap_x 25
gap_y 10

default_color grey40
color1 grey60
color2 firebrick4
color3 firebrick4
color4 red
color5 grey40

alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right

TEXT
${color 990000}${font ae_AlMothnna:size=10:weight=bold}${rss http://feeds.feedburner.com/dso-snelnieuws?format=xml;action=.xml 5 feed_title} ${hr 1}${font}$color

${rss http://feeds.feedburner.com/dso-snelnieuws?format=xml;action=.xml 5 item_titles 5}

${color 990000}${font ae_AlMothnna:size=10:weight=bold}${rss http://feeds2.feedburner.com/dsbiz-economie-nieuws?format=xml;action=.xml 5 feed_title} ${hr 1}${font}$color

${rss http://feeds2.feedburner.com/dsbiz-economie-nieuws?format=xml;action=.xml 5 item_titles 5}

${color 990000}${font ae_AlMothnna:size=10:weight=bold}${rss http://rss.feedsportal.com/c/32135/f/413342/index.rss?format=xml;action=.xml 5 feed_title} ${hr 1}${font}$color

${rss http://rss.feedsportal.com/c/32135/f/413342/index.rss?format=xml;action=.xml 5 item_titles 10}

${color 990000}${font ae_AlMothnna:size=10:weight=bold}${rss http://ubuntuforums.org/external.php?type=RSS2?format=xml;action=.xml 5 feed_title} ${hr 1}${font}$color

${rss http://ubuntuforums.org/external.php?type=RSS2?format=xml;action=.xml 5 item_titles 10}
Take a look at this site for some very good how to's
http://conky.linux-hardcore.com/

Re: Conky Showoff thread

Posted: Wed Jul 29, 2009 11:24 pm
by Kaye
I feel like I need my desktop to get the feel of my Conky across, so here it is:
Image

Re: Conky Showoff thread

Posted: Sun Aug 02, 2009 1:04 pm
by Helix the II
Here's my conky. It's simple, but it went really well with the background IMHO.

Image

If you want to see the whole desktop you can hop on over to http://helix-the-ii.deviantart.com/art/ ... -131791603. I'd enjoy the visitation! :D

Re: Conky Showoff thread

Posted: Thu Aug 06, 2009 5:14 am
by tinca
this is my "Conky".

I know nothing of "Conky", but having searched the web I have been able to find enough information to modify and be able to display what I required.

Best regards Keith

Re: Conky Showoff thread

Posted: Sat Aug 08, 2009 12:20 pm
by optimize me
And mine:
Image

.conkyrc:

Code: Select all

## Conky
background yes
out_to_console no
top_cpu_separate yes
max_port_monitor_connections 256
cpu_avg_samples 1
net_avg_samples 1
update_interval 1

# Text	
uppercase no
override_utf8_locale yes
font Bitstream Charter:style=Regular
use_xft yes
xftfont Vibrocentric:size=10
text_buffer_size=512
short_units no


# Window
own_window yes
own_window_class Conky
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type override
own_window_colour 111111

# Graphics
double_buffer yes
draw_borders no
draw_graph_borders no
draw_shades yes
draw_outline no

# Layout
alignment top_right
gap_x 2
gap_y 2
maximum_width 250
minimum_size 1000

# Colors
default_shade_color 000000
default_outline_color 000000
default_color ffffff
color1 009FBB
color2 b2b2b2
color3 0000ff
color7 00ff00
color8 ffff00
color9 ff0000

# stuff after 'TEXT' will be formatted on screen

TEXT
${font Vibrocentric:size=18}${time %k:%M:%S}${alignr}${time %a/%b/%d}
${voffset -7}${color1}${font Vibrocentric:style=bold:size=14}${pre_exec lsb_release -d | cut -c14-32}$font${color3}${voffset 1}${hr 0}$color
${color2}Kernel Version: ${color}${kernel} - ${machine}
${color2}System Updates: $color${execi 3600 aptitude search "~U" | wc -l | tail}${goto 131}${color2}Uptime:$color ${uptime}
${color2}AC Adaptor:$color ${acpiacadapter} ${color2}${goto 131}Battery: $color${battery_percent BAT1}%
${color1}${font Vibrocentric:style=bold:size=14}Processor & Memory$font${color3}${voffset 1}${hr 0}$color
$color${pre_exec cat /proc/cpuinfo | grep 'model name' | sort -u | cut -c14-33,44-60}
${color2}CPU Max:${color} ${freq_dyn_g}GHz ${goto 131}${color2}CPU:$color $cpu%
${voffset -4}${cpugraph cpu1 35,123 000033 3299cc}${alignr}${cpugraph cpu2 35,123 000033 3299cc}$font
${voffset -40}${color2}Core 0:${color}${goto 100}${cpu cpu1}%${goto 131}${color2}Core 1:${color}${goto 229}${cpu cpu2}%$color
${voffset 11}${color2}Temp: ${execpi 1 sensors | grep 'Core 0:' | paste -s | cut -c15-21 | xargs ~/Conky/colorize-temp.sh}${goto 131}${color2}Temp: ${execpi 1 sensors | grep 'Core 1:' | paste -s | cut -c15-21 | xargs ~/Conky/colorize-temp.sh}
${color2}RAM:$color $mem/$memmax  -${alignr}$memperc%
${voffset -4}${membar 3,250}
${color2}Swap:$color $swap/$swapmax -${alignr}$swapperc%
${voffset -4}${swapbar 3,250}
${color1}${font Vibrocentric:style=bold:size=14}Top Processes$font${color3}${voffset 1}${hr 0}$color
${voffset 3}${color2}${hr 0}
${voffset -17}${color2}Name${goto 125}PID${goto 172}${font Vibrocentric:style=bold:size=10}CPU%${font}${goto 220}RAM%$color
${top name 1}${goto 115}${top pid 1}${goto 165}${font Vibrocentric:style=bold:size=10}${top cpu 1}${font}${goto 215}${top mem 1}
${top name 2}${goto 115}${top pid 2}${goto 165}${font Vibrocentric:style=bold:size=10}${top cpu 2}${font}${goto 215}${top mem 2}
${top name 3}${goto 115}${top pid 3}${goto 165}${font Vibrocentric:style=bold:size=10}${top cpu 3}${font}${goto 215}${top mem 3}
${top name 4}${goto 115}${top pid 4}${goto 165}${font Vibrocentric:style=bold:size=10}${top cpu 4}${font}${goto 215}${top mem 4}
${top name 5}${goto 115}${top pid 5}${goto 165}${font Vibrocentric:style=bold:size=10}${top cpu 5}${font}${goto 215}${top mem 5}
${voffset 5}${color2}${hr 0}
${voffset -17}${color2}Name${goto 125}PID${goto 172}CPU%${goto 218}${font Vibrocentric:style=bold:size=10}RAM%
$color${font}${top_mem name 1}${goto 115}${top_mem pid 1}${goto 165}${top_mem cpu 1}${goto 215}${font Vibrocentric:style=bold:size=10}${top_mem mem 1}${font}
${top_mem name 2}${goto 115}${top_mem pid 2}${goto 163}${top_mem cpu 2}${goto 215}${font Vibrocentric:style=bold:size=10}${top_mem mem 2}${font}
${top_mem name 3}${goto 115}${top_mem pid 3}${goto 163}${top_mem cpu 3}${goto 215}${font Vibrocentric:style=bold:size=10}${top_mem mem 3}${font}
${top_mem name 4}${goto 115}${top_mem pid 4}${goto 163}${top_mem cpu 4}${goto 215}${font Vibrocentric:style=bold:size=10}${top_mem mem 4}${font}
${top_mem name 5}${goto 115}${top_mem pid 5}${goto 163}${top_mem cpu 5}${goto 215}${font Vibrocentric:style=bold:size=10}${top_mem mem 5}${font}
${color1}${font Vibrocentric:style=bold:size=14}Disks$font${color3}${voffset 1}${hr 0}$color
${color2}Drive Temp:$color ${execpi 10 hddtemp /dev/sda | paste -s |cut -c36-40 | xargs ~/Conky/colorize-hdd.sh}${goto 131}${color2}Drive I/O: $color${diskio /dev/sda}
${color2}Root:$color ${fs_used /}/${fs_size /} - ${alignr}${fs_free_perc /}% Free
${voffset -3}${fs_bar 3,160 /}${alignr}${color2}R${color}${diskiograph_read /dev/sda5 9,30 000033 3299cc} ${color2}W${color}${diskiograph_write /dev/sda5 9,30 000033 3299cc}
${color2}/home:$color ${fs_used /home/zero}/${fs_size /home/zero} - ${alignr}${fs_free_perc /home/zero}% Free
${voffset -3}${fs_bar 3,160 /home/zero}${alignr}${color2}R${color}${diskiograph_read /dev/sda7 9,30 000033 3299cc} ${color2}W${color}${diskiograph_write /dev/sda7 9,30 000033 3299cc}${if_existing /media/SQ004286V02}
${color2}Vista: $color${fs_used /media/SQ004286V02}/${fs_size /media/SQ004286V02} -${alignr}${fs_free_perc /media/SQ004286V02}% Free
${voffset -3}${fs_bar 3,160 /media/SQ004286V02}${alignr}${color2}R${color}${diskiograph_read /dev/sda2 9,30 000033 3299cc} ${color2}W${color}${diskiograph_write /dev/sda2 9,30 000033 3299cc}${endif}${if_existing /media/disk}
${color2}Disk: $color${fs_used /media/disk}/${fs_size /media/disk} -${alignr}${fs_free_perc /media/disk}% Free
${voffset -3}${fs_bar 3,160 /media/disk}${alignr}${color2}R${color}${diskiograph_read /dev/sdb 9,30 000033 3299cc} ${color2}W${color}${diskiograph_write /dev/sdb 9,30 000033 3299cc}${endif}${if_existing /media/disk-1}
${color2}Disk-1: $color${fs_used /media/disk-1}/${fs_size /media/disk-1} -${alignr}${fs_free_perc /media/disk-1}% Free
${voffset -3}${fs_bar 3,160 /media/disk-1}${alignr}${color2}R${color}${diskiograph_read /dev/sdc 9,30 000033 3299cc} ${color2}W${color}${diskiograph_write /dev/sdc 9,30 000033 3299cc}${endif}${if_existing /media/disk-2}
${color2}Disk-2: $color${fs_used /media/disk-2}/${fs_size /media/disk-2} -${alignr}${fs_free_perc /media/disk-2}% Free
${voffset -3}${fs_bar 3,160 /media/disk-2}${alignr}${color2}R${color}${diskiograph_read /dev/sdd 9,30 000033 3299cc} ${color2}W${color}${diskiograph_write /dev/sdd 9,30 000033 3299cc}${endif}${if_existing /media/disk-3}
${color2}Disk-3: $color${fs_used /media/disk-3}/${fs_size /media/disk-3} -${alignr}${fs_free_perc /media/disk-3}% Free
${voffset -3}${fs_bar 3,160 /media/disk-3}${alignr}${color2}R${color}${diskiograph_read /dev/sde 9,30 000033 3299cc} ${color2}W${color}${diskiograph_write /dev/sde 9,30 000033 3299cc}${endif}
${if_up ath0}${color1}${font Vibrocentric:style=bold:size=14}Wireless Network$font${color3}${voffset 1}${hr 0}$color
${voffset -4}${wireless_link_bar 3,250 ath0}
${voffset -4}${color2}SSID:$color${goto 50}${wireless_essid ath0} ${goto 131}${color2}Signal: $color${goto 180}${wireless_link_qual ath0}/${wireless_link_qual_max ath0}
${color2}Local:$color${goto 50}${addr ath0}    ${color2}${goto 131}Public:$color${goto 180}${execi 300 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}
${downspeedgraph ath0 61,123 003300 6ddd00}${alignr}${upspeedgraph ath0 61,123 330000 e3170d}$color
${voffset -71}${color2}Down: $color${goto 50}${downspeedf ath0} k/s${goto 131}${color2}Up: $color${goto 180}${upspeedf ath0} k/s
${color2}Total:$color${goto 50}${totaldown ath0} ${goto 131}${color2}Total:$color${goto 180}${totalup ath0}
${color2}Today:${goto 50}$color${execi 300 vnstat -i ath0 | grep "today" | awk '{print $2 $3}'}${goto 131}${color2}Today:$color${goto 180}${execi 300 vnstat -i ath0 | grep "today" | awk '{print $5 $6}'}  
${color2}Week:${goto 50}$color${execi 300 vnstat -w -i ath0 | grep "current week" | awk '{print $3 $4}'}${goto 131}${color2}Week:$color${goto 180}${execi 300 vnstat -w -i ath0 | grep "current week" | awk '{print $6 $7}'} 
${color2}Month:$color${goto 50}${execi 300 vnstat -m -i ath0 | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}${goto 131}${color2}Month:$color${goto 180}${execi 300 vnstat -m -i ath0 | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}${else}${color1}${font Vibrocentric:style=bold:size=14}Ethernet$font${color3}${voffset 1}${hr 0}$color
${downspeedgraph eth0 75,123 003300 6ddd00}${alignr}${upspeedgraph eth0 75,123 330000 e3170d}$color
${voffset -85}${color2}Local:$color${goto 50}${addr eth0}    ${color2}${goto 131}Public:$color${goto 180}${execi 300 ~/Conky/.getip}
${color2}Down: $color${goto 50}${downspeedf eth0} k/s${goto 131}${color2}Up: $color${goto 180}${upspeedf eth0} k/s
${color2}Total:$color${goto 50}${totaldown eth0} ${goto 131}${color2}Total:$color${goto 180}${totalup eth0}
${color2}Today:${goto 50}$color${execi 300 vnstat -i eth0 | grep "today" | awk '{print $2 $3}'}${goto 131}${color2}Today:$color${goto 180}${execi 300 vnstat -i eth0 | grep "today" | awk '{print $5 $6}'}  
${color2}Week:${goto 50}$color${execi 300 vnstat -w -i eth0 | grep "current week" | awk '{print $3 $4}'}${goto 131}${color2}Week:$color${goto 180}${execi 300 vnstat -w -i eth0 | grep "current week" | awk '{print $6 $7}'} 
${color2}Month:$color${goto 50}${execi 300 vnstat -m -i eth0 | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}${goto 131}${color2}Month:$color${goto 180}${execi 300 vnstat -m -i eth0 | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}${endif}

Re: Conky Showoff thread

Posted: Mon Aug 10, 2009 10:04 pm
by Helix the II
coffee-n-cream, all I am using is:

Code: Select all

${time %H:%M}
for the hour and minutes and using

Code: Select all

${Time %A %m / %d / %Y}
for Month, day, and year :?:

Re: Conky Showoff thread

Posted: Thu Aug 13, 2009 10:26 am
by fwc
My Conky code and image attached

Code: Select all

# Use Xft?
use_xft yes
xftfont verdana:size=10
xftalpha 0.8

alignment top_right

update_interval 5.0

#maximum_width 250

#Window settings
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

double_buffer yes
draw_shades no
draw_outline no
draw_borders no

#Stippled (dashes)
stippled_borders 1

#Border Settings
border_margin 4
border_width 1

# Gap between borders of screen and text
#gap_x 3
gap_y 7


default_shade_color grey
default_outline_color black
default_color BADCDD
#use_spacer none

#no_buffers yes
uppercase no
color1 F8DF58

#original color: 5dd445

TEXT
	${color 000000}${font Radio Space:size=8} Kernel: ${color 174acb}${font Verdana:size=8}$kernel ${color 000000}${font Radio Space:size=8}System: ${color 174acb}${font Verdana:size=8}$machine

	${color 000000}${font Radio Space:size=32}${alignc}${time %H:%M:%S} 
	${color 174acb}${font Radio Space:size=16:bold}${alignc}${time %A %d %Y}
	${color 174acb}${hr 2}
	${color 000000}${font Radio Space:size=12}${alignc} CPU 1: 	${font}${cpu cpu0}% ${color 3e74ff} ${cpubar cpu0 15,50}

	${color 000000}${font Radio Space:size=12}${alignc} CPU 2: 	${font}${cpu cpu1}% ${color 3e74ff} ${cpubar cpu1 15,50}

	${color 000000}${font Radio Space:size=10:bold}${alignc}  RAM: ${color 000000}${font verdana:size=10:bold}$memperc%${color 174acb}   /${font}$memmax
	${color 174acb}${hr 2}
	${color 174acb}${font Radio Space:size=12:bold} Linux: ${color 000000}${font} ${fs_used_perc /}% ${color 174acb}${fs_bar 12,140 /}	

	${color 000000}${font Radio Space:size=10} Windows: ${font} ${fs_used_perc /mnt/windows}% ${fs_bar 12,140 /mnt/windows}
	${color 000000}${font Radio Space:size=10} Disk 2: ${font} ${fs_used_perc /mnt/disk2}% ${fs_bar 12,150 /mnt/disk2}	
	${color 000000}${font Radio Space:size=10} Disk 3: ${font} ${fs_used_perc /mnt/disk3}%${fs_bar 12,150 /mnt/disk3}
	${color 000000}${font Radio Space:size=10} Disk 4: ${font} ${fs_used_perc /mnt/disk4}% ${fs_bar 12,150 /mnt/disk4}
	
${color 174acb}
	${hr 2}
	${font Radio Space:size=12}
	NAME	       CPU%         MEM%	
	${color 000000}${font Radio Space:size=9}${top name 1}    	${font}${top cpu 1}    		${top mem 1}
	${color 000000}${font Radio Space:size=9}${top name 2}   	 ${font}${top cpu 2}    	${top mem 2}
	${color 000000}${font Radio Space:size=9}${top name 3}  	  ${font}${top cpu 3}    	${top mem 3}
	${color 000000}${font Radio Space:size=9}${top name 4}   	 ${font}${top cpu 4}    	${top mem 4}
	${color 000000}${font Radio Space:size=9}${top name 5}   	 ${font}${top cpu 5}    	${top mem 5}
	${color 174acb}${hr 2}	
	${color 000000}${font Radio Space:size=10}Uptime:${font} 	$uptime_short  		${color 3e74ff}${font OpenLogos:size=25} ${color 3e74ff}t${color 3e74ff} P${color 3e74ff} U

Re: Conky Showoff thread

Posted: Fri Aug 14, 2009 6:08 pm
by Kaye
aim wrote:Image
You have so many hard drives!

Re: Conky Showoff thread

Posted: Wed Aug 19, 2009 7:53 pm
by tawan
Image
Big

Config: Nothing special except the aptitude updater I stole and adapted from elsewhere, and a bit of colour.

oh yeah and the desktop image from deviant

Re: Conky Showoff thread

Posted: Wed Aug 19, 2009 8:07 pm
by exploder
tawan, that looks extremely cool!

Re: Conky Showoff thread

Posted: Sun Aug 23, 2009 4:31 pm
by Helix the II
I concur with exploder.

Re: Conky Showoff thread

Posted: Sun Aug 30, 2009 8:10 pm
by tawan
Ok, it is sort of the same but still worth a post

Image

Re: Conky Showoff thread

Posted: Mon Aug 31, 2009 3:33 pm
by dannymichel
optimize me wrote:And mine:
Image

.conkyrc:

Code: Select all

## Conky
background yes
out_to_console no
top_cpu_separate yes
max_port_monitor_connections 256
cpu_avg_samples 1
net_avg_samples 1
update_interval 1

# Text	
uppercase no
override_utf8_locale yes
font Bitstream Charter:style=Regular
use_xft yes
xftfont Vibrocentric:size=10
text_buffer_size=512
short_units no


# Window
own_window yes
own_window_class Conky
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type override
own_window_colour 111111

# Graphics
double_buffer yes
draw_borders no
draw_graph_borders no
draw_shades yes
draw_outline no

# Layout
alignment top_right
gap_x 2
gap_y 2
maximum_width 250
minimum_size 1000

# Colors
default_shade_color 000000
default_outline_color 000000
default_color ffffff
color1 009FBB
color2 b2b2b2
color3 0000ff
color7 00ff00
color8 ffff00
color9 ff0000

# stuff after 'TEXT' will be formatted on screen

TEXT
${font Vibrocentric:size=18}${time %k:%M:%S}${alignr}${time %a/%b/%d}
${voffset -7}${color1}${font Vibrocentric:style=bold:size=14}${pre_exec lsb_release -d | cut -c14-32}$font${color3}${voffset 1}${hr 0}$color
${color2}Kernel Version: ${color}${kernel} - ${machine}
${color2}System Updates: $color${execi 3600 aptitude search "~U" | wc -l | tail}${goto 131}${color2}Uptime:$color ${uptime}
${color2}AC Adaptor:$color ${acpiacadapter} ${color2}${goto 131}Battery: $color${battery_percent BAT1}%
${color1}${font Vibrocentric:style=bold:size=14}Processor & Memory$font${color3}${voffset 1}${hr 0}$color
$color${pre_exec cat /proc/cpuinfo | grep 'model name' | sort -u | cut -c14-33,44-60}
${color2}CPU Max:${color} ${freq_dyn_g}GHz ${goto 131}${color2}CPU:$color $cpu%
${voffset -4}${cpugraph cpu1 35,123 000033 3299cc}${alignr}${cpugraph cpu2 35,123 000033 3299cc}$font
${voffset -40}${color2}Core 0:${color}${goto 100}${cpu cpu1}%${goto 131}${color2}Core 1:${color}${goto 229}${cpu cpu2}%$color
${voffset 11}${color2}Temp: ${execpi 1 sensors | grep 'Core 0:' | paste -s | cut -c15-21 | xargs ~/Conky/colorize-temp.sh}${goto 131}${color2}Temp: ${execpi 1 sensors | grep 'Core 1:' | paste -s | cut -c15-21 | xargs ~/Conky/colorize-temp.sh}
${color2}RAM:$color $mem/$memmax  -${alignr}$memperc%
${voffset -4}${membar 3,250}
${color2}Swap:$color $swap/$swapmax -${alignr}$swapperc%
${voffset -4}${swapbar 3,250}
${color1}${font Vibrocentric:style=bold:size=14}Top Processes$font${color3}${voffset 1}${hr 0}$color
${voffset 3}${color2}${hr 0}
${voffset -17}${color2}Name${goto 125}PID${goto 172}${font Vibrocentric:style=bold:size=10}CPU%${font}${goto 220}RAM%$color
${top name 1}${goto 115}${top pid 1}${goto 165}${font Vibrocentric:style=bold:size=10}${top cpu 1}${font}${goto 215}${top mem 1}
${top name 2}${goto 115}${top pid 2}${goto 165}${font Vibrocentric:style=bold:size=10}${top cpu 2}${font}${goto 215}${top mem 2}
${top name 3}${goto 115}${top pid 3}${goto 165}${font Vibrocentric:style=bold:size=10}${top cpu 3}${font}${goto 215}${top mem 3}
${top name 4}${goto 115}${top pid 4}${goto 165}${font Vibrocentric:style=bold:size=10}${top cpu 4}${font}${goto 215}${top mem 4}
${top name 5}${goto 115}${top pid 5}${goto 165}${font Vibrocentric:style=bold:size=10}${top cpu 5}${font}${goto 215}${top mem 5}
${voffset 5}${color2}${hr 0}
${voffset -17}${color2}Name${goto 125}PID${goto 172}CPU%${goto 218}${font Vibrocentric:style=bold:size=10}RAM%
$color${font}${top_mem name 1}${goto 115}${top_mem pid 1}${goto 165}${top_mem cpu 1}${goto 215}${font Vibrocentric:style=bold:size=10}${top_mem mem 1}${font}
${top_mem name 2}${goto 115}${top_mem pid 2}${goto 163}${top_mem cpu 2}${goto 215}${font Vibrocentric:style=bold:size=10}${top_mem mem 2}${font}
${top_mem name 3}${goto 115}${top_mem pid 3}${goto 163}${top_mem cpu 3}${goto 215}${font Vibrocentric:style=bold:size=10}${top_mem mem 3}${font}
${top_mem name 4}${goto 115}${top_mem pid 4}${goto 163}${top_mem cpu 4}${goto 215}${font Vibrocentric:style=bold:size=10}${top_mem mem 4}${font}
${top_mem name 5}${goto 115}${top_mem pid 5}${goto 163}${top_mem cpu 5}${goto 215}${font Vibrocentric:style=bold:size=10}${top_mem mem 5}${font}
${color1}${font Vibrocentric:style=bold:size=14}Disks$font${color3}${voffset 1}${hr 0}$color
${color2}Drive Temp:$color ${execpi 10 hddtemp /dev/sda | paste -s |cut -c36-40 | xargs ~/Conky/colorize-hdd.sh}${goto 131}${color2}Drive I/O: $color${diskio /dev/sda}
${color2}Root:$color ${fs_used /}/${fs_size /} - ${alignr}${fs_free_perc /}% Free
${voffset -3}${fs_bar 3,160 /}${alignr}${color2}R${color}${diskiograph_read /dev/sda5 9,30 000033 3299cc} ${color2}W${color}${diskiograph_write /dev/sda5 9,30 000033 3299cc}
${color2}/home:$color ${fs_used /home/zero}/${fs_size /home/zero} - ${alignr}${fs_free_perc /home/zero}% Free
${voffset -3}${fs_bar 3,160 /home/zero}${alignr}${color2}R${color}${diskiograph_read /dev/sda7 9,30 000033 3299cc} ${color2}W${color}${diskiograph_write /dev/sda7 9,30 000033 3299cc}${if_existing /media/SQ004286V02}
${color2}Vista: $color${fs_used /media/SQ004286V02}/${fs_size /media/SQ004286V02} -${alignr}${fs_free_perc /media/SQ004286V02}% Free
${voffset -3}${fs_bar 3,160 /media/SQ004286V02}${alignr}${color2}R${color}${diskiograph_read /dev/sda2 9,30 000033 3299cc} ${color2}W${color}${diskiograph_write /dev/sda2 9,30 000033 3299cc}${endif}${if_existing /media/disk}
${color2}Disk: $color${fs_used /media/disk}/${fs_size /media/disk} -${alignr}${fs_free_perc /media/disk}% Free
${voffset -3}${fs_bar 3,160 /media/disk}${alignr}${color2}R${color}${diskiograph_read /dev/sdb 9,30 000033 3299cc} ${color2}W${color}${diskiograph_write /dev/sdb 9,30 000033 3299cc}${endif}${if_existing /media/disk-1}
${color2}Disk-1: $color${fs_used /media/disk-1}/${fs_size /media/disk-1} -${alignr}${fs_free_perc /media/disk-1}% Free
${voffset -3}${fs_bar 3,160 /media/disk-1}${alignr}${color2}R${color}${diskiograph_read /dev/sdc 9,30 000033 3299cc} ${color2}W${color}${diskiograph_write /dev/sdc 9,30 000033 3299cc}${endif}${if_existing /media/disk-2}
${color2}Disk-2: $color${fs_used /media/disk-2}/${fs_size /media/disk-2} -${alignr}${fs_free_perc /media/disk-2}% Free
${voffset -3}${fs_bar 3,160 /media/disk-2}${alignr}${color2}R${color}${diskiograph_read /dev/sdd 9,30 000033 3299cc} ${color2}W${color}${diskiograph_write /dev/sdd 9,30 000033 3299cc}${endif}${if_existing /media/disk-3}
${color2}Disk-3: $color${fs_used /media/disk-3}/${fs_size /media/disk-3} -${alignr}${fs_free_perc /media/disk-3}% Free
${voffset -3}${fs_bar 3,160 /media/disk-3}${alignr}${color2}R${color}${diskiograph_read /dev/sde 9,30 000033 3299cc} ${color2}W${color}${diskiograph_write /dev/sde 9,30 000033 3299cc}${endif}
${if_up ath0}${color1}${font Vibrocentric:style=bold:size=14}Wireless Network$font${color3}${voffset 1}${hr 0}$color
${voffset -4}${wireless_link_bar 3,250 ath0}
${voffset -4}${color2}SSID:$color${goto 50}${wireless_essid ath0} ${goto 131}${color2}Signal: $color${goto 180}${wireless_link_qual ath0}/${wireless_link_qual_max ath0}
${color2}Local:$color${goto 50}${addr ath0}    ${color2}${goto 131}Public:$color${goto 180}${execi 300 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}
${downspeedgraph ath0 61,123 003300 6ddd00}${alignr}${upspeedgraph ath0 61,123 330000 e3170d}$color
${voffset -71}${color2}Down: $color${goto 50}${downspeedf ath0} k/s${goto 131}${color2}Up: $color${goto 180}${upspeedf ath0} k/s
${color2}Total:$color${goto 50}${totaldown ath0} ${goto 131}${color2}Total:$color${goto 180}${totalup ath0}
${color2}Today:${goto 50}$color${execi 300 vnstat -i ath0 | grep "today" | awk '{print $2 $3}'}${goto 131}${color2}Today:$color${goto 180}${execi 300 vnstat -i ath0 | grep "today" | awk '{print $5 $6}'}  
${color2}Week:${goto 50}$color${execi 300 vnstat -w -i ath0 | grep "current week" | awk '{print $3 $4}'}${goto 131}${color2}Week:$color${goto 180}${execi 300 vnstat -w -i ath0 | grep "current week" | awk '{print $6 $7}'} 
${color2}Month:$color${goto 50}${execi 300 vnstat -m -i ath0 | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}${goto 131}${color2}Month:$color${goto 180}${execi 300 vnstat -m -i ath0 | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}${else}${color1}${font Vibrocentric:style=bold:size=14}Ethernet$font${color3}${voffset 1}${hr 0}$color
${downspeedgraph eth0 75,123 003300 6ddd00}${alignr}${upspeedgraph eth0 75,123 330000 e3170d}$color
${voffset -85}${color2}Local:$color${goto 50}${addr eth0}    ${color2}${goto 131}Public:$color${goto 180}${execi 300 ~/Conky/.getip}
${color2}Down: $color${goto 50}${downspeedf eth0} k/s${goto 131}${color2}Up: $color${goto 180}${upspeedf eth0} k/s
${color2}Total:$color${goto 50}${totaldown eth0} ${goto 131}${color2}Total:$color${goto 180}${totalup eth0}
${color2}Today:${goto 50}$color${execi 300 vnstat -i eth0 | grep "today" | awk '{print $2 $3}'}${goto 131}${color2}Today:$color${goto 180}${execi 300 vnstat -i eth0 | grep "today" | awk '{print $5 $6}'}  
${color2}Week:${goto 50}$color${execi 300 vnstat -w -i eth0 | grep "current week" | awk '{print $3 $4}'}${goto 131}${color2}Week:$color${goto 180}${execi 300 vnstat -w -i eth0 | grep "current week" | awk '{print $6 $7}'} 
${color2}Month:$color${goto 50}${execi 300 vnstat -m -i eth0 | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}${goto 131}${color2}Month:$color${goto 180}${execi 300 vnstat -m -i eth0 | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}${endif}
hey bro
i really like yours but my cpu temps arent showing and some things overlap.
any ideas?
Image

Re: Conky Showoff thread

Posted: Mon Aug 31, 2009 4:35 pm
by optimize me
dannymichel wrote:hey bro
i really like yours but my cpu temps arent showing and some things overlap.
any ideas?
Image
Yeah:
All my spacing is dependent on the Vibrocentric font at that particular size. For a different font, you'll have to play with all the ${voffset} and ${goto} values. Maybe drop your font size down a couple points and see where that gets you to start with.

As far as the temp sensor values, those are dependent on two packages - lm-sensors and hddtemp. Both are available in the repos.

Once you have lm-sensors installed, you have to configure it as root; i.e., sudo sensors-detect. It will ask you a series of questions.. answer 'yes' to all of them - even the last one that defaults to 'no'. After you're done, you should be able to call on lm-sensors at a terminal just by typing 'sensors' at the prompt. Since your hardware is undoubtedly different than mine and your readout will probably differ, you'll have to adjust the grep & cut values within the command. Also, I have mine xarg'd through a colorizing script to change the color of the readout depending on the value given - green for cool, yellow for mid-range, and red for hot. Unless you install that script, that segment of the command won't do anything for you and will probably cause the command to fault, leaving you without a readout. (Also, the $execpi command isn't needed and a regular $execi will suffice.)

Hddtemp is a little easier - after it's installed, you use it as simply as sudo hddtemp /dev/sdX at a terminal, where X is your drive letter. Since a sudo command won't work through Conky, you have to change permissions on hddtemp as such:

Code: Select all

sudo chmod u+s /usr/sbin/hddtemp
Now you can use it without sudo permissions. I also have that xarg'd through the colorizing script, so again, if you don't use it, you don't need the xarg command or the $execpi variable in Conky.

Any more questions, just let me know...

Re: Conky Showoff thread

Posted: Mon Aug 31, 2009 8:18 pm
by vrkalak
Image

I looked at many different screenshots of Conky, both in LinuxMint and Ubuntu Forums.

I started with optimizeme last posted Conky, and went from there (Thanks!!)
I modified and did a little compiling of my own. (That's what Linux is all about, isn't it?) :mrgreen:

I must have changed the Conky style and version I had, like 10 times, before this.
I think I have a version of Conky, that i'll stick with for a while.

Re: Conky Showoff thread

Posted: Sun Sep 06, 2009 1:51 am
by vrkalak
Image

I am so proud of myself . . :mrgreen: . . I built my own Conky from scratch.
Nothing fancy, it's simple. Only has the things I need.
Being a Linux n00bie, this took me the better part of a day.

With a lot of help from the LinuxMint and Ubuntu Forums and especially from Conky Hardcore site.

Re: Conky Showoff thread

Posted: Sun Sep 06, 2009 10:12 am
by lagagnon
vrkalak wrote:I am so proud of myself . . :mrgreen: . . I built my own Conky from scratch.
Nice work. Now show us the code!

Re: Conky Showoff thread

Posted: Mon Sep 07, 2009 3:05 am
by mzsade
I am a little out of my depth here, I installed Conky from Synaptic, then upgraded it from mintinstall, it still doesn't show in my Applications. So i ran conky from my terminal and this is what i got:

sade@sade-desktop ~ $ conky
Conky: use_spacer should have an argument of left, right, or none. 'no' seems to be some form of 'false', so defaulting to none.
Conky: desktop window (14000a6) is subwindow of root window (1a7)
Conky: window type - normal
Conky: drawing to created window (0x3200002)
Conky: drawing to single buffer
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
after 3284 requests (3216 known processed) with 0 events remaining.
Could you please tell me what it means?

Edit: Sorry about the "wrong thread", request administrators to shift it to the appropriate place as i can't delete my post. Managed to get the conkyrc from /usr/share/doc/conky/examples, gave MPD error, removed all reference to mpd in the conf, got an ugly 'something' that i would be ashamed to show in this thread. The "fatal IO error..." thing still persists when closing the application. I think i will stick with sysinfo for the moment--apologize for the intrusion, and for lacking the aesthetics to see what the fuss is all about.

Edit: Guess it was a case of 'sour grapes'. I am surprised everybody was so darned polite as to not point that out. Finally managed to plagiarize something functional from various places... :) I would like point out my success in getting hddtemp to work :D
Edit: got the font 'Garfield'