View Single Post
Old 01-07-2009, 08:52   #2367
xpod
Inactive
 
Join Date: Jan 2007
Location: Scotlands biggest region
Services: TV,Phone & BB
Posts: 2,086
xpod has a bronzed appealxpod has a bronzed appeal
xpod has a bronzed appealxpod has a bronzed appealxpod has a bronzed appealxpod has a bronzed appealxpod has a bronzed appealxpod has a bronzed appealxpod has a bronzed appealxpod has a bronzed appealxpod has a bronzed appeal
Re: [Merged] Show us your Desktop or Wallpaper

Quote:
Nice conky config xpod
Cheers,It`s not quite my own creation that particular one though.

You can have it if you want it.
Code:
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8

# 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
on_bottom yes
own_window_type override
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 180 5

maximum_width 265

# 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 white
#default_outline_color 1E1C1A
own_window_colour 1E1C1A

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

# 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

#If you want a Gmail notify, put the this parameter after the line "${font PizzaDude Bullets:size=14}b${font} Public Ip: $alignr${execi 1 ~/.scripts/ip.sh}" in all 3 cases, whithout "#" and replace user password.
#${font FreeSans:size=14}@${font}${execpi 300 python ~/.scripts/gmail_parser.py user password 3}

TEXT
Home1 ${hr 2}
${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU0: ${cpu cpu0}% ${alignr}${cpubar 8,120 cpu0}
${font StyleBats:size=16}A${font} CPU1: ${cpu cpu1}% ${alignr}${cpubar 8,120 cpu1}
${font StyleBats:size=16}g${font} RAM: $memperc% ${alignr}${membar 8,120}
${font StyleBats:size=16}j${font} SWAP: $swapperc% ${alignr}${swapbar 8,120}
${font StyleBats:size=16}q${font} Uptime: ${alignr}${uptime}
--------------------------------
Processes: $processes Run: $running_processes
--------------------------------
DATE ${hr 2}
${font Arial Black:size=26}${time %I:%M %P}${font}
${voffset 6}${alignc}${time %A %d %Y}
HD ${hr 2}
${font PizzaDude Bullets:size=14}g${font} Root:
${fs_free /}/${fs_size /} $alignr${fs_bar 8,120 /}
${font PizzaDude Bullets:size=14}g${font} Home:
${fs_free /home/dad}/${fs_size /home/dad} $alignr${fs_bar 8,120 /home/dad}
${font PizzaDude Bullets:size=14}g${font} Disk:
${fs_free /media/disk}/${fs_size /media/disk} $alignr${fs_bar 8,120 /media/disk}

NETWORK ${hr 2}
${if_existing /proc/net/route wlan0}
${font PizzaDude Bullets:size=14}v${font} Up: ${upspeed wlan0} kb/s $alignr${upspeedgraph wlan0 8,120 789E2D A7CC5C}
${font PizzaDude Bullets:size=14}r${font} Down: ${downspeed wlan0} kb/s $alignr${downspeedgraph wlan0 8,120 789E2D A7CC5C}
${font PizzaDude Bullets:size=14}N${font} Upload: $alignr${totalup wlan0}
${font PizzaDude Bullets:size=14}T${font} Download: $alignr${totaldown wlan0}
${font PizzaDude Bullets:size=14}Z${font} Signal: ${wireless_link_qual wlan0}% $alignr${wireless_link_bar 8,120 wlan0}
${font PizzaDude Bullets:size=14}a${font} Local Ip: $alignr${addr wlan0}
${font PizzaDude Bullets:size=14}b${font} Public Ip: $alignr${execi 3600 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}
${else}${if_existing /proc/net/route eth0}
${font PizzaDude Bullets:size=14}v${font} Up: ${upspeed eth0} kb/s $alignr${upspeedgraph eth0 8,120 789E2D A7CC5C}
${font PizzaDude Bullets:size=14}r${font} Down: ${downspeed eth0} kb/s $alignr${downspeedgraph eth0 8,120 789E2D A7CC5C}
${font PizzaDude Bullets:size=14}N${font} Upload: $alignr${totalup eth0}
${font PizzaDude Bullets:size=14}T${font} Download: $alignr${totaldown eth0}
${font PizzaDude Bullets:size=14}a${font} Local Ip: $alignr${addr eth0}
${font PizzaDude Bullets:size=14}b${font} Public Ip: $alignr${execi 3600 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}
${endif}${else}${if_existing /proc/net/route eth1}
${font PizzaDude Bullets:size=14}v${font} Up: ${upspeed eth1} kb/s $alignr${upspeedgraph eth1 8,120 789E2D A7CC5C}
${font PizzaDude Bullets:size=14}r${font} Down: ${downspeed eth1} kb/s $alignr${downspeedgraph eth1 8,120 789E2D A7CC5C}
${font PizzaDude Bullets:size=14}N${font} Upload: $alignr${totalup eth1}
${font PizzaDude Bullets:size=14}T${font} Download: $alignr${totaldown eth1}
${font PizzaDude Bullets:size=14}a${font} Local Ip: $alignr${addr eth1}
${font PizzaDude Bullets:size=14}b${font} Public Ip: $alignr${execi 3600 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Network Unavailable
${endif}
${color white}Host / IP${hr 2}
${color white}0)$color${tcp_portmon 32768 61000 rhost 0}
${color white}1)$color${tcp_portmon 32768 61000 rhost 1}
${color white}2)$color${tcp_portmon 32768 61000 rhost 2}
${color white}3)$color${tcp_portmon 32768 61000 rhost 3}
${color white}4)$color${tcp_portmon 32768 61000 rhost 4}
${color white}5)$color${tcp_portmon 32768 61000 rhost 5}
${color white}Port / Service${hr 2}
${color white}0)$color${tcp_portmon 32768 61000 rservice 0}
${color white}1)$color${tcp_portmon 32768 61000 rservice 1}
${color white}2)$color${tcp_portmon 32768 61000 rservice 2}
${color white}3)$color${tcp_portmon 32768 61000 rservice 3}
${color white}4)$color${tcp_portmon 32768 61000 rservice 4}
${color white}5)$color${tcp_portmon 32768 61000 rservice 5}
${color white}Messages Log ${hr 2}$color
${execi 30 tail -n3 /var/log/messages | fold -w50}
${color white}Auth log ${hr 2}$color
${execi 30 tail -n3 /var/log/auth.log | fold -w50}
${hr 1}
${voffset -2}Todays Weather:
${voffset -6}${hr 1}
${voffset -8}${font weather:size=64}${execi 3600 conkyForecast --location=UKXX0085 --datatype=WF}${font}

${voffset -66}${tab 80}Conditions: ${execi 3600 conkyForecast --location=UKXX0085 --datatype=CC}
${tab 80}Temp: ${execi 3600 conkyForecast -i --location=UKXX0085 --datatype=HT}
${tab 80}Wind: ${execi 3600 conkyForecast -i --location=UKXX0085 --datatype=WS} ${execi 3600 conkyForecast --location=USFL0372 --datatype=WD}
${tab 80}Humidity: ${execi 3600 conkyForecast --location=UKXX0085 --datatype=HM}
${voffset -2}${hr 1}
${voffset -4}${execi 3600 conkyForecast --location=UKXX0085 --datatype=DW --shortweekday --startday=0 --spaces=13 --endday=4}
${voffset -6}${hr 1}
$color${voffset 4}${font weather:size=24}${execi 3600 conkyForecast -i --location=UKXX0085 --datatype=WF --startday=0 --endday=4 --spaces=2}${font}
${execi 3600 conkyForecast --location=UKXX0085 --datatype=LT --startday=0 --endday=4 --spaces=12}
${execi 3600 conkyForecast --location=UKXX0085 --datatype=PC --startday=0 --endday=4 --spaces=11}

                                 Warnings
${alignc}${color ff0000}${rss http://www.metoffice.gov.uk/xml/warnings_rss_se.xml 10 item_title 0}${color ffffff}
${alignc}${color ff0000}${rss http://www.metoffice.gov.uk/xml/warnings_rss_se.xml 10 item_title 1}${color ffffff}
${alignc}${color ff0000}${rss http://www.metoffice.gov.uk/xml/warnings_rss_se.xml 10 item_title 2}${color ffffff}
${alignc}${color ff0000}${rss http://www.metoffice.gov.uk/xml/warnings_rss_se.xml 10 item_title 3}${color ffffff}
It obviously needs Conky Forecast & the relevant fonts configured too.
Theres a "show us your conkyrc " thread over at UF with some good examples if your interested.
xpod is offline   Reply With Quote