Conky Showoff thread

Forum rules
Before you post please read this

Conky Showoff thread

Postby Joejc on Tue Jul 28, 2009 9:16 am

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}


Attachments
Screenshot.png
Screenshot.png (45.52 KiB) Viewed 20916 times
Last edited by Oscar799 on Tue Feb 28, 2012 11:29 am, edited 2 times in total.
Reason: Made sticky
Joejc
Level 2
Level 2
 
Posts: 72
Joined: Sat Feb 21, 2009 4:43 pm

Linux Mint is funded by ads and donations.
 

Re: Conky Showoff thread

Postby lagagnon on Tue Jul 28, 2009 9:57 am

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}
Attachments
Screenshot-1.png
Screenshot-1.png (139.33 KiB) Viewed 20316 times
User avatar
lagagnon
Level 7
Level 7
 
Posts: 1888
Joined: Wed Jun 17, 2009 7:38 pm
Location: an island in the Pacific...

Re: Conky Showoff thread

Postby dogbert176 on Wed Jul 29, 2009 3:30 pm

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/
Attachments
Schermafdruk.png
Schermafdruk.png (598.73 KiB) Viewed 20271 times
dogbert176
Level 1
Level 1
 
Posts: 14
Joined: Wed May 13, 2009 1:06 pm

Re: Conky Showoff thread

Postby Kaye on Wed Jul 29, 2009 11:24 pm

I feel like I need my desktop to get the feel of my Conky across, so here it is:
Image
"In somnis veritas"
Antivirus or defragging?
Image
User avatar
Kaye
Level 5
Level 5
 
Posts: 942
Joined: Fri Feb 06, 2009 5:05 pm
Location: Boston College

Re: Conky Showoff thread

Postby Helix the II on Sun Aug 02, 2009 1:04 pm

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/My-Linux-Desktop-Screenshot-131791603. I'd enjoy the visitation! :D
Linux Mint Gloria MAIN X64 | Antec Nine Hundred | Intel DX58SO | Intel i7 950 | Corsair DDR3 6GB | Thermaltake SpinQ | Nvidia 8800GT | BFG ATX12v 550WATT | ASUS VH236H - 23" |
Helix the II
Level 2
Level 2
 
Posts: 65
Joined: Tue Apr 28, 2009 5:55 pm

Re: Conky Showoff thread

Postby tinca on Thu Aug 06, 2009 5:14 am

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
Attachments
conky.png
conky.png (35.35 KiB) Viewed 20054 times
Case Antec 900 | Motherboard Abit ip35 Pro | CPU Q6600 (GO) | PSU Zippy P5L-6720P | Graphic Card XFX 7300 GS | Cooler Corsair T50 water cooled cpu | Ram 2x1GB sticks | Monitor Samsung Syncmaster 323t
tinca
Level 4
Level 4
 
Posts: 316
Joined: Sun Jan 11, 2009 9:23 am
Location: England U.K.

Re: Conky Showoff thread

Postby coffee-n-cream on Sat Aug 08, 2009 2:21 am

Hello there.Great thread! i would like to share my screenshot here and hopefully fix some problems.The time displayed in conky doesnt match with the time in Time and Date settings as shown below.It updates itself every 20mins or so.Also,whenever i change a wallpaper,conky retains the old wallpaper.How do i fix these 2 problems? thanx alot!

Image

here is my code
Code: Select all
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# 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 yes
own_window_transparent yes
own_window_type override
#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 180 0
#maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color white
own_window_colour white

# 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
# same thing as passing -x at command line
gap_x 35
gap_y 50

# 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
a
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none

TEXT
SYSTEM ${hr 2}
${voffset 2}${font OpenLogos:size=16}u${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}   CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font StyleBats:size=16}q${font}   Uptime: ${alignr}${uptime}

DATE ${hr 2}
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${alignc}${time %A %d %B}
${voffset 4}${font RsbillsDng:size=14}O${font}${font DejaVu Sans Mono:size=8}${execpi 3600 DJS=`date +%_d`; cal -m | sed '1d' | sed '/./!d' | sed 's/$/                     /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color FCAF3E}'"$DJS"'${color0}'" "/}${font}

HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Root:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}


NETWORK ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font}   Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth1}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth1}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr eth1}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Network Unavailable
${endif}
WEATHER ${hr 2}
${if_existing /proc/net/route eth0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=SNXX0001 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SNXX0001 --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=USOH0212 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SNXX0001 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SNXX0001 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=USOH0212 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SNXX0001 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SNXX0001 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SNXX0001 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SNXX0001 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SNXX0001 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SNXX0001 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SNXX0001 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SNXX0001 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SNXX0001 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${else}${if_existing /proc/net/route eth0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=SNXX0001 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SNXX0001 --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SNXX0001 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SNXX0001 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SNXX0001 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location= SNXX0001--datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SNXX0001 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SNXX0001 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SNXX0001 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SNXX0001 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SNXX0001 --datatype=LT --imperial --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SNXX0001 --datatype=HT --imperial --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SNXX0001 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SNXX0001 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SNXX0001 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=SNXX0001 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SNXX0001--datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SNXX0001 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SNXX0001 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SNXX0001 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --locationSNXX0001= --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SNXX0001 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SNXX0001--datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SNXX0001 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SNXX0001 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SNXX0001 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SNXX0001 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SNXX0001 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SNXX0001 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SNXX0001 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Weather Unavailable
${endif}
RSS ${HR 2}
${voffset 4}BBC (USA)
${offset 4}$color2 >$color4${rss http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml 60 item_title 0}
${offset 4}$color2 >$color4${rss http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml 60 item_title 1}
${offset 4}$color2 >$color4${rss http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml 60 item_title 2}
${offset 4}$color2 >$color4${rss http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml 60 item_title 3}
${offset 4}$color2 >$color4${rss http://newsrss.bbc.co.uk/rss/newsonline_world_edition/americas/rss.xml 60 item_title 4}
${voffset 4}BBC (UK)
${offset 4}$color2 >$color4${rss http://newsrss.bbc.co.uk/rss/newsonline_world_edition/uk_news/rss.xml 60 item_title 0}
${offset 4}$color2 >$color4${rss http://newsrss.bbc.co.uk/rss/newsonline_world_edition/uk_news/rss.xml 60 item_title 1}
${offset 4}$color2 >$color4${rss http://newsrss.bbc.co.uk/rss/newsonline_world_edition/uk_news/rss.xml 60 item_title 2}
${offset 4}$color2 >$color4${rss http://newsrss.bbc.co.uk/rss/newsonline_world_edition/uk_news/rss.xml 60 item_title 3}
${offset 4}$color2 >$color4${rss http://newsrss.bbc.co.uk/rss/newsonline_world_edition/uk_news/rss.xml 60 item_title 4}
coffee-n-cream
Level 1
Level 1
 
Posts: 1
Joined: Sat Aug 08, 2009 2:11 am

Re: Conky Showoff thread

Postby optimize me on Sat Aug 08, 2009 12:20 pm

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}
AMD Phenom II X6 1045T 2.8GHz 8GB DDR3 RAM ATI Radeon HD6970
User avatar
optimize me
Level 5
Level 5
 
Posts: 639
Joined: Wed Jun 03, 2009 5:25 pm

Re: Conky Showoff thread

Postby Helix the II on Mon Aug 10, 2009 10:04 pm

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 :?:
Linux Mint Gloria MAIN X64 | Antec Nine Hundred | Intel DX58SO | Intel i7 950 | Corsair DDR3 6GB | Thermaltake SpinQ | Nvidia 8800GT | BFG ATX12v 550WATT | ASUS VH236H - 23" |
Helix the II
Level 2
Level 2
 
Posts: 65
Joined: Tue Apr 28, 2009 5:55 pm

Re: Conky Showoff thread

Postby fwc on Thu Aug 13, 2009 10:26 am

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
Attachments
conky.png
conky.png (86.39 KiB) Viewed 19833 times
User avatar
fwc
Level 4
Level 4
 
Posts: 249
Joined: Sun Feb 15, 2009 12:23 am

Re: Conky Showoff thread

Postby aim on Fri Aug 14, 2009 5:37 pm

Image
User avatar
aim
Level 1
Level 1
 
Posts: 5
Joined: Tue Aug 11, 2009 5:56 am

Re: Conky Showoff thread

Postby Kaye on Fri Aug 14, 2009 6:08 pm

aim wrote:Image

You have so many hard drives!
"In somnis veritas"
Antivirus or defragging?
Image
User avatar
Kaye
Level 5
Level 5
 
Posts: 942
Joined: Fri Feb 06, 2009 5:05 pm
Location: Boston College

Re: Conky Showoff thread

Postby aim on Fri Aug 14, 2009 6:23 pm

Kaye wrote:You have so many hard drives!

They used to be all full too
Image
(click for bigger picture)
User avatar
aim
Level 1
Level 1
 
Posts: 5
Joined: Tue Aug 11, 2009 5:56 am

Re: Conky Showoff thread

Postby tawan on Wed Aug 19, 2009 7:53 pm

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
User avatar
tawan
Level 4
Level 4
 
Posts: 405
Joined: Thu Apr 03, 2008 2:45 am

Re: Conky Showoff thread

Postby exploder on Wed Aug 19, 2009 8:07 pm

tawan, that looks extremely cool!
exploder
Level 15
Level 15
 
Posts: 5815
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Re: Conky Showoff thread

Postby Helix the II on Sun Aug 23, 2009 4:31 pm

I concur with exploder.
Linux Mint Gloria MAIN X64 | Antec Nine Hundred | Intel DX58SO | Intel i7 950 | Corsair DDR3 6GB | Thermaltake SpinQ | Nvidia 8800GT | BFG ATX12v 550WATT | ASUS VH236H - 23" |
Helix the II
Level 2
Level 2
 
Posts: 65
Joined: Tue Apr 28, 2009 5:55 pm

Re: Conky Showoff thread

Postby tawan on Sun Aug 30, 2009 8:10 pm

Ok, it is sort of the same but still worth a post

Image
User avatar
tawan
Level 4
Level 4
 
Posts: 405
Joined: Thu Apr 03, 2008 2:45 am

Re: Conky Showoff thread

Postby dannymichel on Mon Aug 31, 2009 3:33 pm

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
dannymichel
Level 1
Level 1
 
Posts: 42
Joined: Mon Aug 19, 2013 5:32 pm

Re: Conky Showoff thread

Postby optimize me on Mon Aug 31, 2009 4:35 pm

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...
AMD Phenom II X6 1045T 2.8GHz 8GB DDR3 RAM ATI Radeon HD6970
User avatar
optimize me
Level 5
Level 5
 
Posts: 639
Joined: Wed Jun 03, 2009 5:25 pm

Re: Conky Showoff thread

Postby vrkalak on Mon Aug 31, 2009 8:18 pm

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.
Image
:: LinuxMint-Debian-Edition (Fluxbox) :: Manjaro/Arch (Xfce) ::
Registered Linux User: #497031 :: DeviantART Page
User avatar
vrkalak
Level 10
Level 10
 
Posts: 3049
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Linux Mint is funded by ads and donations.
 
Next

Return to Compiz, Conky, Docks, & Widgets

Who is online

Users browsing this forum: No registered users and 5 guests