201

Re: My Conky Config

Thanks everyone for their conky setups !

202

Re: My Conky Config

http://img258.imageshack.us/img258/3443/snapshot5.th.png

My Conky. Thanks  all! smile

Last edited by nohow (2009-02-24 19:44:48)

Re: My Conky Config

wow is there any syntax on the coding for this mod i will like to see if i can add my own twist to this?
Also maybe the best way to edit it.

Last edited by Xenokite (2009-02-20 23:37:50)

Re: My Conky Config

it's simple to pick up, Xenokite.

Just use your favourite editor (mine is nano) to edit the ".conkyrc" file in your home directory.

There's tons of ideas on here, and plenty of places about conky all over the web.

if you have an idea, it can probably be implemented.

Ex-KDE user.
Collects old PC's (Coz he can't afford new ones =P)
Crunchbang @ Distrowatch
My Blog (updated infrequently, and on the #! Planet too.)

Re: My Conky Config

Xenokite wrote:

wow is there any syntax on the coding for this mod i will like to see if i can add my own twist to this?
Also maybe the best way to edit it.

I'd start by studying the examples in this thread and running man conky in a terminal. I prefer to use gedit to edit the .conkyrc file in your home directory.

Re: My Conky Config

Mehall wrote:

it's simple to pick up, Xenokite.

Just use your favourite editor (mine is nano) to edit the ".conkyrc" file in your home directory.

There's tons of ideas on here, and plenty of places about conky all over the web.

if you have an idea, it can probably be implemented.

yeah i just notice the amount of reading i have to do to catch up to the rest of the conky world.

Guide on Ubuntu Forums :http://ubuntuforums.org/showthread.php?t=867076

207

Re: My Conky Config

Hi guys,
Here's my shamelessly stolen first attempt at a conky setup:

http://i76.photobucket.com/albums/j13/Visti/conky.png

background yes

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont Trebuchet MS:size=10
xftfont Sans:size=8

# Text alpha when using Xft
xftalpha 1

# Update interval in seconds
update_interval 1.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

own_window yes
own_window_transparent yes
#own_window_type override
own_window_type override
#own_window_type normal #use this if you want a nice shadow to appear around conky

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

# Maximum width
maximum_width 240

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders no

# Stippled borders?
# stippled_borders 8

# border margins
# border_margin 2

# border width
# border_width 1

# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 4

# 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 grey
#default_shade_color black
#default_outline_color grey
own_window_colour grey

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

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

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

TEXT
${alignc 50}${font Vtks Revolt:size=48}VISTI${font}
${alignc}${font}${font pulse sans virgin:size=20}laptop${font}
SYSTEM ${hr 2}
${voffset 2}${font StyleBats:size=16}i${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}   CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font}   CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 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 Webdings:size=16}~${font}  Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,60 BAT0}
${font StyleBats:size=16}q${font}   Uptime: ${alignr}${uptime}

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 /}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Home:
${voffset 4}${fs_used /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}

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 BEBEBE BEBEBE}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 BEBEBE BEBEBE}
${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}
${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}
${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}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Network Unavailable
${endif}
${voffset -6}${font PizzaDude Bullets:size=14}q${font}   eth0: ${alignr}${addr eth0}

UPDATE:
${hr}
You have ${color3}${texeci 60 perl ~/scripts/gmail.pl n} ${color}new gmail(s).
${color3}${execi 28800 ~/scripts/debupdates.sh}${color} System Updates Available.

I'm still not sure what to do with my left setup, right now it just shows the day, because I always forget.


Whole desktop:
http://i76.photobucket.com/albums/j13/Visti/th_2009-02-21--1235237316_1280x800_scr.png

Last edited by Visti (2009-02-21 18:48:26)

Re: My Conky Config

I just thought that I would share my configuration since i learned how to make it from the rest of you.  Thanks i don't know what  I did with out Conky.

# set to yes if you want Conky to be forked in the background
background yes

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont Sans:size=7

# Text alpha when using Xft
xftalpha 1

# Update interval in seconds
update_interval 1.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

own_window yes
own_window_transparent yes
#own_window_type override
own_window_type desktop
#own_window_type normal #use this if you want a nice shadow to appear around conky

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

# Maximum width
maximum_width 500

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

# border width
# border_width 1

# Default colors and also border colors
default_color FF8600        
default_shade_color black
default_outline_color blue
color1 49E20E

# 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 12
gap_y 12

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase yes

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no

##############################################
##############################################

TEXT
SYSTEM ${hr 2}

Host:${color1}$alignr$nodename
${color}Kernel:  ${alignr}${color1}${kernel}
${color}CPU1: $alignr${color1}${cpu cpu1}% ${alignr}${cpubar 8,50 cpu1}
${color}CPU2: $alignr${color1}${cpu cpu2}% ${alignr}${cpubar 8,50 cpu2}
${color}TOTAL CPU: ${color1}$alignr${cpu cpu}% ${alignr}${cpubar 8,100 cpu}
${color}RAM: ${color1}$alignr$memperc% ${alignr}${membar 8,100}
${color}Battery: ${color1}$alignr${battery_percent BAT0}% ${alignr}${battery_bar 8,100 BAT0}
${color}Uptime: ${color1}${alignr}${uptime}


${color}DATE ${hr 2}

${color1}${alignc 35}${font Trebuchet MS:size=26}${time %H:%M}${font}
${alignc}${time %a %d %b %Y}

${color}NETWORK ${hr 2}

SSID: ${color1}$alignr${wireless_essid ra0}
${color}IP address: ${color1}$alignr${addr ra0}
${color}Upload: ${color1}${alignr}${totalup ra0}
${color}Download: ${color1}${alignr}${totaldown ra0}
${color}Signal: ${color1}$alignr${wireless_link_qual ra0}% ${alignr}${wireless_link_bar 8,100 ra0}
${color}Connection Speed: ${color1}${alignr}${wireless_bitrate ra0} 

${color}SSD ${hr 2}

${color}Root:${color1}$alignr${fs_bar 8,100 /root}
$alignr${fs_free /root}/${fs_size /root} ${alignr}

${color}Processes ${hr 2}

${color1}$alignr$processes processes ($running_processes running)

http://i591.photobucket.com/albums/ss351/bubblegoose45/2009-02-22--1235285157_1024x600_scr.png

Last edited by bubblegoose45 (2009-02-22 15:30:05)

Re: My Conky Config

nohow wrote:

http://img527.imageshack.us/img527/7504/snapshot2xn4.th.png

My Conky. Thanks  all! smile

Can you send your config?

210

Re: My Conky Config

Can you send your config?

of course!

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 4

# 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 desktop
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

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

# border width
border_width 1

# Default colors and also border colors
default_color lightgray
default_shade_color white
#default_outline_color grey
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 12
gap_y 45

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

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

TEXT
${alignc 35}${font Arial Black:size=18}${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}
${hr 2}

${alignc}${voffset -6}${color FCAF3E}${font OpenLogos:size=16}u${font}${color}nodename
${voffset 2}${font StyleBats:size=16}i${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}   CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60 3465A4 729FCF}
${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60 3465A4 729FCF}
${font StyleBats:size=16}q${font}   Uptime: ${alignr}${uptime}

E-MAIL${hr 2}
${voffset -6}${font Martin Vogel's Symbols:size=18}k${font}  Gmail: ${alignr}${font DejaVu Sans:style=Bold:size=8}${execi 10 conkyEmail --servertype=IMAP --servername=imap.googlemail.com --username= your username--password=your pass --ssl}${font} Unread e-mails

${voffset -10}DISK SPACE ${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 /}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Home:
${voffset 4}${fs_used /home/redcap}/${fs_size /home/redcap} ${alignr}${fs_bar 8,60 /home/redcap}

NETWORK ${hr 2}
${if_existing /proc/net/route ppp0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed ppp0} kb/s ${alignr}${upspeedgraph ppp0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed ppp0} kb/s ${alignr}${downspeedgraph ppp0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup ppp0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown ppp0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Local IP: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Public IP: ${alignr}${execi 3600/home/redcap/.conky/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}   TotalUp: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   TotalDown: ${alignr}${totaldown ath0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Local IP: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Public IP: ${alignr}${execi 3600/home/redcap/.conky/ip.sh}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Network Unavailable
${endif}
WEATHER ${hr 2}
${if_existing /proc/net/route ppp0}
${font Trebuchet MS:style=Bold:size=10}${alignc}${execi 3600 conkyForecast --location=ISXX0026 -d CN}, ${execi 3600 conkyForecast --location=ISXX0026 -d CO}

${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 3600 conkyForecast --location=ISXX0026 --datatype=WF}${font}
${alignr}${font}${execi 3600 conkyForecast --location=ISXX0026 -d CT} 
${voffset -52}${font Weather:size=40}y${font}   ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=UKXX0083 --datatype=HT}${font}


${voffset 0}${alignc 43}${execpi 3600 conkyForecast --location=ISXX0026 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 3600 conkyForecast --location=ISXX0026 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 3600 conkyForecast --location=ISXX0026 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 3600 conkyForecast --location=ISXX0026 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 3600 conkyForecast --location=ISXX0026 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 3600 conkyForecast --location=ISXX0026 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ISXX0026 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 3600 conkyForecast --location=ISXX0026 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 3600 conkyForecast --location=ISXX0026 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 3600 conkyForecast --location=ISXX0026 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 3600 conkyForecast --location=ISXX0026 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 3600 conkyForecast --location=ISXX0026 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 3600 conkyForecast --location=ISXX0026 --datatype=LT --startday=4 --hideunits --centeredwidth=3}  
${else}
${font PizzaDude Bullets:size=14}4${font}   Weather Unavailable
${endif}

Last edited by nohow (2009-02-28 17:59:23)

Re: My Conky Config

Ahoy,

after having a look at all those hc-conkys You people coded, sorry for a lame one...
I've got a problem with making this work in conky:
$acpifan
I just get a "no fans?" value returned.
On the other hand, $acpitemp does show it's correct (?) value - as with eeetray's sensors.

Is there a way to get the sensor readings fed into conky?
Are there system commands to get these?

My deck is an ee901, running cruncheee.
Arrr.

EDIT: formatting code changed to boldface

Last edited by ThreepWood (2009-02-24 00:23:38)

...selfmade-wannabee #!in' pirate. Arrr!

Re: My Conky Config

Damn!  Where do all those fancy icons and graphics come from?  lol, my own .conkyrc looks like butt compared to some of yours.  But, most of it was ripped-off anyway.  Pfft.  Who has the time?

                                                               
machiner@lapbox{~}:cat .conkyrc
#------------------------------------------////
# Lapbox ~/.conkyrc file
# Last updated 07 January 2009
#------------------------------------------////
update_interval 1.0
double_buffer yes
own_window no
use_xft yes
xftfont Bitstream Vera Sans:size=8
maximum_width 270
alignment top_right
uppercase no
draw_outline no
top_cpu_separate false
gap_x 8

TEXT

${alignc}${color #92ff9a}${time %c}  ${color #92ff9a}
${alignc}${color #6699ff}${execi 300 
~/documents/bash-conky-scripts/conky-weather.sh 01545} ${color #6699ff}

${color #6699ff}$sysname $kernel ${alignr}Uptime: ${color #92ff9a}${uptime}
${color #6699ff}CPU Temp: ${color #92ff9a}${hwmon temp 1}°C  ${alignr}${color #92ff9a}HDD Temp: ${color #6699ff}${hddtemp /dev/sda}
${color #6699ff}AC Adapter: ${color #6699ff}${acpiacadapter} ${alignr}${color #6699ff}Battery: ${color #6699ff}$battery
${color #6699ff}${freq}MHz   ${alignr}${color #6699ff}Avg Load: ${color #92ff9a}${loadavg}
${color #6699ff}Load: ${cpu}%   ${color #6699ff}$cpubar

${color #92ff9a}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'}
${color #6699ff}Core 1 Usage:${color #6699ff}  ${cpu cpu1}% ${color #6699ff}${cpubar cpu1}
${color #6699ff}Core 2 Usage:${color #6699ff}  ${cpu cpu2}% ${color #6699ff}${cpubar cpu2}

${color #92ff9a}RESOURCES:    
${color #6699ff}CPU: $cpu%  ${color #6699ff}${cpubar ff0000 ffcb48}
${color #92ff9a}RAM: $memperc%  ${color #6699ff}${membar  ff0000 ffcb48}
${color #6699ff}HDD I/O: ${color #6699ff} $diskio

${color #92ff9a}TOPish: $alignr ${color #92ff9a}   PID  CPU%  MEM%
${color #6699ff}${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top 
mem 1}
${color #92ff9a}${top name 2}$alignr ${top pid 2} ${top cpu 2} ${top mem 2}
${color #92ff9a}${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}

${color #92ff9a}Mem Usage ${color #6699ff}${hr 1}
${color #6699ff}${top_mem name 1} $alignr ${top_mem pid 1} ${top_mem cpu 
1} ${top_mem mem 1}
${color #92ff9a}${top_mem name 2} $alignr ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #92ff9a}${top_mem name 3}$alignr ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #6699ff}Processes:${color #92ff9a} $processes $alignr ${color 
#92ff9a}Running:${color #6699ff} $running_processes

${color #6699ff}Disk usage ${color #92ff9a}(% used)${hr 1}
${color #6699ff}sda1: / ${fs_used_perc /}%  ${color #92ff9a}${fs_bar /}
${color #6699ff}sda3: /vault  ${fs_used_perc /vault}%  ${color 
#92ff9a}${fs_bar /vault}
${color #6699ff}sda4: /home ${fs_used_perc /home}%  ${color 
#92ff9a}${fs_bar  /home}

${color #6699ff}NETWORK: ${color #92ff9a}(External IP: ${execi 600 wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'})${hr 1}

${color #6699ff}Wi-Fi ${hr 1}
${color #92ff9a}Strength: ${color #6699ff}${wireless_link_qual wlan0}%$alignr${color #92ff9a}Download speed:${color #6699ff}${downspeedf wlan0} Kb/sec
${color #92ff9a}ESSID: ${color #6699ff}${wireless_essid wlan0}$alignr ${color #92ff9a}IP address: ${color #6699ff}${addr wlan0}
${downspeedgraph wlan0 32,132 ff0000 0000ff} $alignr${upspeedgraph wlan0 32,132 0000ff ff0000}
${color #6699ff}Downloaded: ${color #92ff9a}${totaldown wlan0} $alignr ${color #6699ff}Uploaded: ${color #92ff9a} ${totalup wlan0}

${color #6699ff}Ethernet ${hr 1}
${color #92ff9a}IP address: ${color #6699ff}${addr eth0}
${color #92ff9a}Download speed: ${color #6699ff}${downspeedf eth0} Kb/sec
${downspeedgraph eth0 32,132 ff0000 0000ff} $alignr${upspeedgraph eth0 32,132 0000ff ff0000}
${color #6699ff}Downloaded: ${color #92ff9a}${totaldown eth0} $alignr ${color #6699ff}Uploaded: ${color #92ff9a} ${totalup eth0}

The result:http://www.debiantutorials.org/conky-desktop.png

Last edited by machiner (2009-02-27 18:19:26)

Re: My Conky Config

Sadly,
${hwmon temp 1}
doesn't work neither...and conky refuses to show up on the desktop with it.

...selfmade-wannabee #!in' pirate. Arrr!

Re: My Conky Config

nohow wrote:

Can you send your config?

of course!

Thank you very much smile

215

Re: My Conky Config

Here is my desktop with all the goodies: Openbox, Conky, Wbar Launcher and System Tray. Enjoy smile
http://www.postimage.org/Pqa0J2J.jpg

Here are the config files and scripts:
Conky

# set to yes if you want Conky to be forked in the background
background yes

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont DejaVu Sans:size=7

# Text alpha when using Xft
xftalpha 1

# Update interval in seconds
update_interval 1.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

own_window yes
own_window_transparent yes
#own_window_type override
own_window_type desktop
#own_window_type normal #use this if you want a nice shadow to appear around conky

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

# Maximum width
maximum_width 240

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders no

# Stippled borders?
# stippled_borders 8

# border margins
# border_margin 2

# border width
# border_width 1

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

# 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 12
gap_y 12

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
##override_utf8_locale no
override_utf8_locale yes

##############################################
##############################################

TEXT
SYSTEM INFO: ${hr 2}
Host:$alignr$nodename
Uptime:$alignr$uptime
RAM:$alignr$mem/$memmax
Swap usage:$alignr$swap/$swapmax
Disk usage:$alignr${fs_used /}/${fs_size /}
Processor #1:$alignr${cpu cpu1}%
${font Webdings:size=16}~${font} Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,60 BAT0}
NETWORK ${hr 2}
${if_existing /proc/net/route wlan0}
  Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 789E2D A7CC5C}
  Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 789E2D A7CC5C}
  Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
  Local Ip: ${alignr}${addr wlan0}${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}a${font} Local Ip: ${alignr}${addr eth0} ${else}  ${font PizzaDude Bullets:size=14}4${font}   Network Unavailable ${endif}
${endif}
SHORTCUT KEYS: ${hr 2}
Alt+F2$alignr Run Dialog
Alt+F3$alignr Alt Menu
Super+space$alignr Main Menu
Super+tab$alignr Client Menu
Super+v$alignr Volume Control
Super+u$alignr System Update
Super+x$alignr Logout
PrtSc$alignr Screenshot
WEATHER: ${hr 2}
${if_existing /proc/net/route wlan0}
  ${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=GRXX0004 --datatype=WF}${font}
  ${voffset -52}${font Weather:size=40}y${font}  ${voffset -38}${font DejaVu Sans:size=26}${execi 600 conkyForecast --location=GRXX0004 --datatype=HT}${font}
  
  
  ${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=GRXX0004 --datatype=HM}
  ${voffset 0}Moon Phase: ${alignr}${execi 600 conkyForecast --location=GRXX0004 --datatype=MP}
  ${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=GRXX0004 --datatype=WS}
${else}   ${if_existing /proc/net/route eth0}
     ${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=GRXX0004 --datatype=WF}${font}
     ${voffset -52}${font Weather:size=40}y${font}  ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=GRXX0004 --datatype=HT}${font}
     
     
     ${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=GRXX0004 --datatype=HM}
     ${voffset 0}Moon Phase: ${alignr}${execi 600 conkyForecast --location=GRXX0004 --datatype=MP}
     ${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=GRXX0004 --datatype=WS}
   ${else}     ${font PizzaDude Bullets:size=14}4${font}   Weather Unavailable   ${endif}
${endif}
GMAIL: ${hr 2}
You have ${color3}${texeci 60 perl ~/scripts/gmail.pl n} ${color}new gmail(s)
GOOGLECALENDAR: ${hr 2}
   ${execi 600 conkyGoogleCalendar -u username@gmail.com -p userspassword -r username@gmail.com}

Openbox config autostart.sh

# Run the system-wide support stuff
. $GLOBALAUTOSTART

# Programs to launch at startup
# =============================

# Start session manager
lxsession &

# Enable power management
### disable it for the purpose of using xscreensaver and sherman's acquarium ?
gnome-power-manager &


# Set keyboard map if different than UK
# Uncomment one to enable, or define your own.
# setxkbmap us & # United States
# setxkbmap ca & # Canada
# setxkbmap fr & # Francais
# setxkbmap br & # Brazil
# setxkbmap de & # Germany
# setxkbmap cz & # Czech Republic
# setxkbmap it & # Italy
# setxkbmap pl & # Poland
# setxkbmap nl & # Netherlands
# etc.

# Force openoffice.org to use GTK theme
# enable this if you install openoffice
export OOO_FORCE_DESKTOP=gnome

# Set-up automounting
pcmanfm --daemon-mode &

# Set desktop wallpaper
nitrogen --restore &

# Enable Keyboard switching through fbxkb and xorg.conf "InputDeice" for keyboard
(sleep 3s && fbxkb) &

# Enable Eyecandy - off by default
# see "/usr/bin/crunchbang/xcompmgr-crunchbang" for more info
# xcompmgr-crunchbang --startstop &

# Start screensaver deamon
### gnome-screensaver &
xscreensaver -no-splash &

# Launch panel
## (sleep 2s && lxpanel) &
## (sleep 2s && tint) &  ## don't use panel(taskbar) change tasks with alt + tab

# Launch system tray -- goes with tint panel
# (sleep 2s && trayer --expand true --transparent true  --alpha 255 --edge top --align right --expand true --SetDockType true --widthtype request --height 24 --margin 220) &
(sleep 2s && trayer --expand true --transparent true  --alpha 255 --edge bottom --align right --expand true --SetDockType true --widthtype request --height 24 --margin 20) &

# Launch network manager applet
(sleep 1s && nm-applet) &

# Launch clipboard manager
(sleep 1s && parcellite) &

# Launch Eee Control
(sleep 1s && eee-control-tray) &

# Uncomment to enable system updates at boot
#(sleep 180s && system-update) &

# Bluetooth indicator
(sleep 5s && bluetooth-applet) &

# start syndaemon to delay touchpad when typing
syndaemon -i 5 -d

# start wbar launchpad docker
# (sleep 3s && wbar -above-desk -isize 30 -idist 1 -zoomf 1.8 -pos bottom -nanim 3 -jumpf 1 -balfa 50 -falfa 0 -bpress) &
(sleep 3s && wbar -jumpf 1 -pos bottom -nanim 3 -zoomf 2.2 -isize 25 -balfa 50 -above-desk -bpress) &
 
# Launch Conky
conky -q &

Gmail notification script

#!/usr/bin/perl

use Switch;
use Text::Wrap;

my $what=$ARGV[0];

$user="me_user"; #username for gmail account
$pass="me_pass"; #password for gmail account
$file="/tmp/gmail.html"; #temporary file to store gmail

#wrap format for subject
$Text::Wrap::columns=65; #Number of columns to wrap subject at
$initial_tab=""; #Tab for first line of subject
$subsequent_tab="\t"; #tab for wrapped lines
$quote="\""; #put quotes around subject

#limit the number of emails to be displayed
$emails=4; #if -1 display all emails

&passwd; #give password the proper url character encoding

switch($what){ #determine what the user wants
    case "n" {&gmail; print "$new\n";} #print number of new emails
    case "s" { #print $from and $subj for new email
        &gmail;
        if ($new>0){
            my $size=@from;
            if ($emails!=-1 && $size>$emails){$size=$emails;} #limit number of emails displayed
            for(my $i=0; $i<$size; ++$i){
                print "From: $from[$i]\n"; #print from line
                $text=$quote.$subj[$i].$quote."\n";
                print wrap($initial_tab, $subsequent_tab, $text); #print subject with word wrap
            }
            $size=@from;
            if ($emails!=-1 && $size >$emails){print "$emails out of $size new emails displayed\n";}
        }
    }     
    case "e" { #print number of new emails, $from, and $subj
        &gmail;
        if($new==0){print "You have no new emails.\n";}
        else{
            print "You have $new new email(s).\n";
            my $size=@from;
            if ($emails!=-1 && $size>$emails){$size=$emails;} #limit number of emails displayed
            for(my $i=0; $i<$size; ++$i){
                print "From: $from[$i]\n"; #print from line
                $text=$quote.$subj[$i].$quote;
                print wrap($initial_tab, $subsequent_tab, $text); #print subject with word wrap
            }
            $size=@from;
            if ($emails!=-1 && $size >$emails){print "$emails out of $size new emails displayed\n";}
        }
    }
    else {
        print "Usage Error: gmail.pl <option>\n";
        print "\tn displays number of new emails\n";
        print "\ts displays from line and subject line for each new email.\n";
        print "\te displays the number of new emails and from line plus \n";
        print "\t\tsubject line for each new email.\n";
    } #didn't give proper option
}

sub gmail{
    if(!(-e $file)){ #create file if it does not exists
        `touch $file`;
    } 

    #get new emails
    `wget -O - https://$user:$pass\@mail.google.com/mail/feed/atom --no-check-certificate> $file`;

    open(IN, $file); #open $file

    my $i=0; #initialize count
    $new=0; #initialize new emails to 0

    my $flag=0;

    while(<IN>){ #cycle through $file
        if(/<entry>/){$flag=1;}
        elsif(/<fullcount>(\d+)<\/fullcount>/){$new=$1;} #grab number of new emails
        elsif($flag==1){ 
            if(/<title>.+<\/title>/){push(@subj, &msg);} #grab new email titles
            elsif(/<name>(.+)<\/name>/){push(@from, $1); $flag=0;} #grab new email from lines
        }
    }

    close(IN); #close $file
}

sub passwd{ #change to url escape codes in password
    #URL ESCAPE CODES
    $_=$pass;
    s/\%/\%25/g;
    s/\#/\%23/g;
    s/\$/\%24/g;
    s/\&/\%26/g;
    s/\//\%2F/g;
    s/\:/\%3A/g;
    s/\;/\%3B/g;
    s/\</\%3C/g;
    s/\=/\%3D/g;
    s/\>/\%3E/g;
    s/\?/\%3F/g;
    s/\@/\%40/g;
    s/\[/\%5B/g;
    s/\\/\%5C/g;
    s/\]/\%5D/g;
    s/\^/\%5E/g;
    s/\`/\%60/g;
    s/\{/\%7B/g;
    s/\|/\%7C/g;
    s/\}/\%7D/g;
    s/\~/\%7E/g;
    $pass=$_;
}

sub msg{
    #THE HTML CODED CHARACTER SET [ISO-8859-1]
    chomp; s/<title>(.+)<\/title>/$1/; #get just the subject
    #now replace any special characters
    s/\&\#33\;/!/g;        #Exclamation mark
    s/\&\#34\;/"/g; s/\&quot\;/"/g;      #Quotation mark
    s/\&\#35\;/#/g;        #Number sign
    s/\&\#36\;/\$/g;        #Dollar sign
    s/\&\#37\;/%/g;        #Percent sign
    s/\&\#38\;/&/g; s/\&amp\;/&/g;        #Ampersand
    s/\&\#39\;/'/g;        #Apostrophe
    s/\&\#40\;/(/g;        #Left parenthesis
    s/\&\#41\;/)/g;        #Right parenthesis
    s/\&\#42\;/*/g;        #Asterisk
    s/\&\#43\;/+/g;        #Plus sign
    s/\&\#44\;/,/g;        #Comma
    s/\&\#45\;/-/g;        #Hyphen
    s/\&\#46\;/./g;        #Period (fullstop)
    s/\&\#47\;/\//g;        #Solidus (slash)
    s/\&\#58\;/:/g;        #Colon
    s/\&\#59\;/\;/g;        #Semi-colon
    s/\&\#60\;/</g; s/\&lt\;/</g;        #Less than
    s/\&\#61\;/=/g;        #Equals sign
    s/\&\#62\;/>/g; s/\&gt\;/>/g;        #Greater than
    s/\&\#63\;/\?/g;        #Question mark
    s/\&\#64\;/\@/g;        #Commercial at
    s/\&\#91\;/\[/g;        #Left square bracket
    s/\&\#92\;/\\/g;        #Reverse solidus (backslash)
    s/\&\#93\;/\]/g;        #Right square bracket
    s/\&\#94\;/\^/g;        #Caret
    s/\&\#95\;/_/g;        #Horizontal bar (underscore)
    s/\&\#96\;/\`/g;        #Acute accent
    s/\&\#123\;/\{/g;        #Left curly brace
    s/\&\#124\;/|/g;        #Vertical bar
    s/\&\#125\;/\}/g;        #Right curly brace
    s/\&\#126\;/~/g;        #Tilde
    s/\&\#161\;/¡/g;        #Inverted exclamation
    s/\&\#162\;/¢/g;        #Cent sign
    s/\&\#163\;/£/g;        #Pound sterling
    s/\&\#164\;/¤/g;        #General currency sign
    s/\&\#165\;/¥/g;        #Yen sign
    s/\&\#166\;/¦/g;        #Broken vertical bar
    s/\&\#167\;/§/g;        #Section sign
    s/\&\#168\;/¨/g;        #Umlaut (dieresis)
    s/\&\#169\;/©/g; s/\&copy\;/©/g;        #Copyright
    s/\&\#170\;/ª/g;        #Feminine ordinal
    s/\&\#171\;/«/g;        #Left angle quote, guillemotleft
    s/\&\#172\;/¬/g;        #Not sign
    s/\&\#174\;/®/g;        #Registered trademark
    s/\&\#175\;/¯/g;        #Macron accent
    s/\&\#176\;/°/g;        #Degree sign
    s/\&\#177\;/±/g;        #Plus or minus
    s/\&\#178\;/²/g;        #Superscript two
    s/\&\#179\;/³/g;        #Superscript three
    s/\&\#180\;/´/g;        #Acute accent
    s/\&\#181\;/µ/g;        #Micro sign
    s/\&\#182\;/¶/g;        #Paragraph sign
    s/\&\#183\;/·/g;        #Middle dot
    s/\&\#184\;/¸/g;        #Cedilla
    s/\&\#185\;/¹/g;        #Superscript one
    s/\&\#186\;/º/g;        #Masculine ordinal
    s/\&\#187\;/»/g;        #Right angle quote, guillemotright
    s/\&\#188\;/¼/g; s/\&frac14\;/¼/g;       # Fraction one-fourth
    s/\&\#189\;/½/g; s/\&frac12\;/½/g;       # Fraction one-half
    s/\&\#190\;/¾/g; s/\&frac34\;/¾/g;       # Fraction three-fourths
    s/\&\#191\;/¿/g;        #Inverted question mark
    s/\&\#192\;/À/g;        #Capital A, grave accent
    s/\&\#193\;/Á/g;        #Capital A, acute accent
    s/\&\#194\;/Â/g;        #Capital A, circumflex accent
    s/\&\#195\;/Ã/g;        #Capital A, tilde
    s/\&\#196\;/Ä/g;        #Capital A, dieresis or umlaut mark
    s/\&\#197\;/Å/g;        #Capital A, ring
    s/\&\#198\;/Æ/g;        #Capital AE dipthong (ligature)
    s/\&\#199\;/Ç/g;        #Capital C, cedilla
    s/\&\#200\;/È/g;        #Capital E, grave accent
    s/\&\#201\;/É/g;        #Capital E, acute accent
    s/\&\#202\;/Ê/g;        #Capital E, circumflex accent
    s/\&\#203\;/Ë/g;        #Capital E, dieresis or umlaut mark
    s/\&\#204\;/Ì/g;        #Capital I, grave accent
    s/\&\#205\;/Í/g;        #Capital I, acute accent
    s/\&\#206\;/Î/g;        #Capital I, circumflex accent
    s/\&\#207\;/Ï/g;        #Capital I, dieresis or umlaut mark   
    s/\&\#208\;/Ð/g;        #Capital Eth, Icelandic
    s/\&\#209\;/Ñ/g;        #Capital N, tilde
    s/\&\#210\;/Ò/g;        #Capital O, grave accent
    s/\&\#211\;/Ó/g;        #Capital O, acute accent
    s/\&\#212\;/Ô/g;        #Capital O, circumflex accent
    s/\&\#213\;/Õ/g;        #Capital O, tilde
    s/\&\#214\;/Ö/g;        #Capital O, dieresis or umlaut mark
    s/\&\#215\;/×/g;        #Multiply sign
    s/\&\#216\;/Ø/g;        #Capital O, slash
    s/\&\#217\;/Ù/g;        #Capital U, grave accent
    s/\&\#218\;/Ú/g;        #Capital U, acute accent
    s/\&\#219\;/Û/g;        #Capital U, circumflex accent
    s/\&\#220\;/Ü/g;        #Capital U, dieresis or umlaut mark
    s/\&\#221\;/Ý/g;        #Capital Y, acute accent
    s/\&\#222\;/Þ/g;        #Capital THORN, Icelandic
    s/\&\#223\;/ß/g;        #Small sharp s, German (sz ligature)
    s/\&\#224\;/à/g;        #Small a, grave accent
    s/\&\#225\;/á/g;        #Small a, acute accent
    s/\&\#226\;/â/g;        #Small a, circumflex accent
    s/\&\#227\;/ã/g;        #Small a, tilde
    s/\&\#228\;/ä/g;        #Small a, dieresis or umlaut mark
    s/\&\#229\;/å/g;        #Small a, ring
    s/\&\#230\;/æ/g;        #Small ae dipthong (ligature)
    s/\&\#231\;/ç/g;        #Small c, cedilla
    s/\&\#232\;/è/g;        #Small e, grave accent
    s/\&\#233\;/é/g;        #Small e, acute accent
    s/\&\#234\;/ê/g;        #Small e, circumflex accent
    s/\&\#235\;/ë/g;        #Small e, dieresis or umlaut mark
    s/\&\#236\;/ì/g;        #Small i, grave accent
    s/\&\#237\;/í/g;        #Small i, acute accent
    s/\&\#238\;/î/g;        #Small i, circumflex accent
    s/\&\#239\;/ï/g;        #Small i, dieresis or umlaut mark
    s/\&\#240\;/ð/g;        #Small eth, Icelandic
    s/\&\#241\;/ñ/g;        #Small n, tilde
    s/\&\#242\;/ò/g;        #Small o, grave accent
    s/\&\#243\;/ó/g;        #Small o, acute accent
    s/\&\#244\;/ô/g;        #Small o, circumflex accent
    s/\&\#245\;/õ/g;        #Small o, tilde
    s/\&\#246\;/ö/g;        #Small o, dieresis or umlaut mark
    s/\&\#247\;/÷/g;        #Division sign
    s/\&\#248\;/ø/g;        #Small o, slash
    s/\&\#249\;/ù/g;        #Small u, grave accent
    s/\&\#250\;/ú/g;        #Small u, acute accent
    s/\&\#251\;/û/g;        #Small u, circumflex accent
    s/\&\#252\;/ü/g;        #Small u, dieresis or umlaut mark
    s/\&\#253\;/ý/g;        #Small y, acute accent
    s/\&\#254\;/þ/g;        #Small thorn, Icelandic
    s/\&\#255\;/ÿ/g;        #Small y, dieresis or umlaut mark
    s/^\s+//;
    return $_;
}

For the ConkyGoogleCalendar.py script search the internet (I think it's in the Google site) to download it

Re: My Conky Config

Thanks to all or you that posted the beautiful screenshots and rc's. here's mine.

http://img167.imageshack.us/my.php?image=conkypost.png

Here is the conkyrc :

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

update_interval 2

total_run_times 0

own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

double_buffer yes

minimum_size 180 0
maximum_width 220

draw_shades no

draw_outline no

draw_borders no

stippled_borders 0

border_margin 5

border_width 1

draw_graph_borders yes

# Default colors and also border colors
default_color F5F5F5
default_shade_color red
default_outline_color F5F5F5
own_window_colour white

alignment top_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 48

no_buffers yes

uppercase no

cpu_avg_samples 2

# Nvidia Temp display Code: ${execi 30 nvclock -T | awk '/temperature/ {print $4}'}
# Nvidia Temp display To cut the C add | cut -d "C" -f1 Ex.${execi 30 nvclock -T | awk '/temperature/ {print $4}'| cut -d "C" -f1

net_avg_samples 2

# 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
${color 99FF99}${font Verdana:style=Italic:size=9}Date and Time${color} ${hr}
${color DDDDFD}${alignc}${font Verdana:style=Bold Italic:size:24}${time %H:%M}
${font Verdana:style=Italic:size=9}${alignc}${Time %A %m %d %Y}
${color 99FF99}${font Verdana:style=Italic:size=9}System${color} ${hr}${font}
$sysname $kernel on $machine
Hostname $alignr $nodename
Processor Use $alignr ${cpu cpu}% Temp:${color DDDDFD}${acpitemp}C${color}
${cpugraph cpu0 18,220 30B4F3 D40D4D}
Graphics Temp: $alignr${color DDDDFD}${execi 30 nvclock -T | awk '/temperature/ {print $4}'}${color}
Swap $alignc$swap /swap $swapmax $alignr $swapperc% 
Uptime $alignr$uptime

Ram $alignc $mem / $memmax $alignr $memperc%
${color C24DDD}${membar}${color}
Root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${color D40D4D}${fs_bar /}${color}
Home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${color 3077F3}${fs_bar /home}${color}
${color 99FF99}${font Verdana:style=Italic:size=9}Processes${color} ${hr}${font}
$processes processes ($running_processes running)
NAME $alignr PID    CPU  MEM
${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5}
${top name 6} $alignr ${top pid 6} ${top cpu 6} ${top mem 6}
${top name 7} $alignr ${top pid 7} ${top cpu 7} ${top mem 7}
${top name 8} $alignr ${top pid 8} ${top cpu 8} ${top mem 8}
${color 99FF99}${font Verdana:style=Italic:size=9}Network${color} ${hr}${font}
Inbound $alignr ${color DDDDFD}${downspeed eth0} kb/s ${color}
${downspeedgraph eth0 22,220 30B4F3 D40D4D}
Outbound $alignr ${color DDDDFD}${upspeed eth0} kb/s ${color}
${upspeedgraph eth0 22,220 30B4F3 D40D4D}
${if_running rhythmbox}${color 99FF99}${font Verdana:style=Italic:size=9}Music${color} ${hr}
Rhythmbox:
${color}${exec conkyRhythmbox --datatype=AR}
${exec conkyRhythmbox --datatype=TI}
${exec conkyRhythmbox --datatype=AL}
${exec conkyRhythmbox --datatype=PT} / ${execi 1800 conkyRhythmbox --datatype=LE}$endif
${color 99FF99}${font Verdana:style=Italic:size=9}Weather${color} ${hr}
${if_existing /proc/net/route eth0}
${font Trebuchet MS:style=Bold:size=10}${alignc}${execi 3600 conkyForecast --location=USIL0280 -d CN}, ${execi 3600 conkyForecast --location=USIL0280 -d CO}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 3600 conkyForecast --location=USIL0280 --datatype=WF}${font}
${alignr}${font}${execi 3600 conkyForecast --location=USIL0280 -d CT} 
${voffset -52}${font Weather:size=40}y${font}   ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=USIL0280 --datatype=HT --imperial}${font}


${voffset 0}${alignc 43}${execpi 3600 conkyForecast --location=USIL0280 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 3600 conkyForecast --location=USIL0280 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 3600 conkyForecast --location=USIL0280 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 3600 conkyForecast --location=USIL0280 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 3600 conkyForecast --location=USIL0280 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 3600 conkyForecast --location=USIL0280 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=USIL0280 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 3600 conkyForecast --location=USIL0280 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 3600 conkyForecast --location=USIL0280 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 3600 conkyForecast --location=USIL0280 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 3600 conkyForecast --location=USIL0280 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 3600 conkyForecast --location=USIL0280 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 3600 conkyForecast --location=USIL0280 --datatype=LT --startday=4 --hideunits --centeredwidth=3}  
${else}
${font PizzaDude Bullets:size=14}4${font}   Weather Unavailable
${endif}ls

I decided to have the weather in Fahrenheit rather than Celsius and keep the cpu gpu in Celsius and had a bit of amusement with the color picker..

Just a note  about where I found the nvclock temp info ...look here http://ubuntuforums.org/showthread.php?t=999066

the conky man page have some options for nvidia gpufreq and memfreq as well  .

Since this is my 1st actual post to this forum ...other than a welcome ,,I have to thank all for there previous and continuing efforts for making this distro and community special. #!

Re: My Conky Config

Here is my conky.  I got it all nice and sexy on my new install, but I'd like for the Top Processes to rearrange so the biggest hog gets on the top, and descend as such.  Can anyone help me out with that?
http://i33.photobucket.com/albums/d74/nintennuendo/2009-02-26--1235666543_1280x800_scr.png

background yes
use_xft yes
xftfont Ariel:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color white
alignment top_right
gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
${font ariel:bold:size=8}SYSTEM ${hr 2}
${font ariel:normal:size=8}$sysname $kernel $alignr $machine
Host:$alignr$nodename
Uptime:$alignr$uptime
File System: $alignr${fs_type}

${font ariel:bold:size=8}PROCESSORS ${hr 2}
${font ariel:normal:size=8}${cpugraph cpu1}
CPU1: ${cpu cpu1}% ${cpubar cpu1}

${font ariel:bold:size=8}MEMORY ${hr 2}
${font ariel:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
$membar

${font ariel:bold:size=8}DISKS ${hr 2}
${font ariel:normal:size=8}Root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
Mr Swap $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
${swapbar}
${font ariel:normal:size=8}ExtHD $alignc ${fs_used /media/SEAGATE} / ${fs_size /media/SEAGATE} $alignr ${fs_used_perc /media/SEAGATE}%
${fs_bar /media/SEAGATE}

${font ariel:bold:size=8}TOP PROCESSES ${hr 2}
${font ariel:normal:size=8}${top_mem name 1}${alignr}${top mem 1} %
${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %
$font${top_mem name 6}${alignr}${top mem 6} %
$font${top_mem name 7}${alignr}${top mem 7} %
$font${top_mem name 8}${alignr}${top mem 8} %
$font${top_mem name 9}${alignr}${top mem 9} %

${font ariel:bold:size=8}NETWORK ${hr 2}
${font ariel:normal:size=8}IP address: $alignr ${addr wlan0}
ESSID: $alignr ${wireless_essid wlan0}
Connection quality: $alignr ${wireless_link_qual_perc wlan0}%
${downspeedgraph wlan0}
DLS:${downspeed wlan0} kb/s $alignr total: ${totaldown wlan0}
${upspeedgraph wlan0}
ULS:${upspeed wlan0} kb/s $alignr total: ${totalup wlan0}

Alt+F2$alignr Run Dialog
Alt+F3$alignr Alt Menu
Super+space$alignr Main Menu
Super+t$alignr Terminal
Super+e$alignr File Manager
Super+m$alignr Media Player
Super+w$alignr Web Browser
Super+l$alignr Lock Screen
Super+v$alignr Volume Control
Super+x$alignr Logout

Truth and Justice For All.

Re: My Conky Config

Hi  nintennuendo..  the info you asked for is in my conky.rc as well as many others::
try this .. just above your post

$processes processes ($running_processes running)
NAME $alignr PID    CPU  MEM
${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5}
${top name 6} $alignr ${top pid 6} ${top cpu 6} ${top mem 6}
${top name 7} $alignr ${top pid 7} ${top cpu 7} ${top mem 7}
${top name 8} $alignr ${top pid 8} ${top cpu 8} ${top mem 8}

maybe this is what you want..

Last edited by rrplay (2009-02-26 18:43:49)

Re: My Conky Config

That is even better than what I was hoping for, thanks rrplay.

Re: My Conky Config

sure glad to  help .. if you really want to play around and get the hang of some text and color fun Just look at mine.:)

221

Re: My Conky Config

@nintennuendo

Loving 'superfreakinawesomenet'

Asus 4G EEE - Crunchee
Dual Core watercooled - Crunch and Xubuntu
2 x Nas with 2tb storage - FreeNas
1x Compaq hp - Xubuntu

Re: My Conky Config

Hi is their a way to have conky only 70% or so transparent and not all the way transparent?

Re: My Conky Config

Everyone - please STOP posting your Gmail passwords in clear text! big_smile I've seen a few already.

As for the configs - great work!

Re: My Conky Config

^ hahaha its true!

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: My Conky Config

lillil wrote:

Everyone - please STOP posting your Gmail passwords in clear text! big_smile I've seen a few already.

Please PM me the posts you've noticed this in so that I can fix this up for these members.