Here's my contribution to the thread. I may have kinda borrowed most of the code in my scripts. However, it is still amazing what this little program can do. Below are my scripts.
This one is initiated when GDM starts (i.e. when I log in)
And yes, I have a trial conky for testing new scripts.Code:#!/bin/bash # sleep time can vary, but should not be less than 10 to allow enough time for # compiz to take effect otherwise, funky effects will occur on the desktop. #sleep 12 && conky -c ~/Conky/trial_conky & sleep 30 && conky -c ~/Conky/conkymain & sleep 35 && conky -c ~/Conky/conkyweb &
This one is my main conky.
This one contains the weather forecast and internet usage.Code:# UBUNTU-CONKY own_window yes #own_window_type override #seen on top of evry window 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 # fiddle with window use_spacer right use_xft yes xftfont Hemi head 426:size=8 xftalpha 0.5 # Update interval in seconds update_interval 3.0 # Minimum size of text area minimum_size 250 10 # 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 10 cpu_avg_samples 2 net_avg_samples 2 override_utf8_locale yes use_spacer none #show_graph_scale no #show_graph_range no #max_port_monitor_connections 256 #max_specials 512 #max_user_text 16384 #if_up_strictness address # stuff after 'TEXT' will be formatted on screen # Force UTF8? note that UTF8 support required XFT override_utf8_locale yes # colors # Default color default_color gray color1 white # light blue color2 6892C6 # orange #E77320 color3 FC8820 # green color4 78BF39 # red color5 CC0000 # blue color6 93B2E0 text_buffer_size 2048 TEXT ${color}${alignc 10}${font Arial Black:size=12}${time %H:%M}${font} ${alignc}${time %A %d %B %Y} ${color2}${alignc} System Information ${hr} ${font WenQuanYi Zen Hei:bold:size=10}${voffset -10}${color6}${exec lsb_release -d | sed 's/.*:\s*//'}${font} ${color green}${exec whoami} ${color}@ ${color green}$nodename$color $sysname $kernel ($machine) ${font StyleBats:size=16}A${font}${color lightgrey}CPU Temp Core1:$alignr ${color light grey} ${execi 1 cat /sys/bus/pci/drivers/k8temp/000*/temp1_input | cut -c1,2}°C ${font StyleBats:size=16}g${font}${color lightgrey}CPU Temp Core2:$alignr ${color light grey} ${execi 2 cat /sys/bus/pci/drivers/k8temp/000*/temp2_input | cut -c1,2}°C ${font StyleBats:size=16}j${font}${color lightgrey}CPU Temp Core3:$alignr ${color light grey} ${execi 1 cat /sys/bus/pci/drivers/k8temp/000*/temp3_input | cut -c1,2}°C ${font StyleBats:size=16}O${font}${color lightgrey}CPU Temp Core4:$alignr ${color light grey} ${execi 2 cat /sys/bus/pci/drivers/k8temp/000*/temp4_input | cut -c1,2}°C ${font StyleBats:size=16}F${font}${color lightgrey}GPU Temp VGA:$alignr ${color light grey} ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'}°C ${font StyleBats:size=16}R${font}${color lightgrey}Video RAM:$alignr ${color light grey} ${exec nvidia-settings -q VideoRam | grep Attribute | cut -d ' ' -f 6 | cut -c 1-6} KiB ${font Webdings:size=16}~${font}${color lightgrey}Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,160 BAT0} ${color lightgrey}$alignc Uptime:$color $uptime ${color2}${alignc} Performance Monitor ${hr} ${color lightgrey}CPU: ${color}$freq_g GHz ${color lightgrey}CPU Usage:${color #ff0000} $cpu% ${cpubar} ${color lightgrey}Average Load:${color} $loadavg ${color}${cpugraph 3fffff ff0000} ${color lightgrey}RAM Usage:${color} $mem/$memmax $memperc% ${membar} ${color lightgrey}Swap Usage:${color} $swap/$swapmax $swapperc% ${swapbar} ${color2}${alignc} Process Monitor ${hr} ${color lightgrey}Processes:${color} $processes ${color grey}Running:$color $running_processes ${color2}Name PID CPU% MEM% ${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${color} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${color lightgrey}Memory usage ${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1} ${color} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2} ${color2}${alignc} File Systems ${hr} ${color}Drive: %Free Amount Used ${color}Root: ${fs_free_perc /}% ${color brown}${fs_bar 6 /} ${color}Vista: ${fs_free_perc /media/Vista}% ${color orange}${fs_bar 6 /media/Vista} ${color}DL3.5: ${fs_free_perc /media/Dreamlinux}% ${color blue}${fs_bar 6 /media/Dreamlinux} ${color2}${alignc} Fortune ${hr} $color${execi 120 fortune -s | fold -w50}
And this is the script that acquires/displays the weather information.Code:# UBUNTU-CONKY # conkyforecast # edited by Chad File <archeryguru2000@gmail.com> own_window yes #own_window_type override #seen on top of evry window 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 # fiddle with window use_spacer right use_xft yes xftfont Hemi head 426:size=8 xftalpha 0.5 # Update interval in seconds update_interval 5.0 # Minimum size of text area minimum_size 150 10 # Text alignment, other possible values are commented alignment bottom_left #alignment bottom_right #alignment top_left #alignment top_right # Gap between borders of screen and text gap_x 10 gap_y 10 cpu_avg_samples 2 net_avg_samples 2 override_utf8_locale yes use_spacer none # colors # Default color default_color gray color1 white # light blue color2 6892C6 # orange color3 FC8820 # green color4 78BF39 # red color5 CC0000 # stuff after 'TEXT' will be formatted on screen # Force UTF8? note that UTF8 support required XFT override_utf8_locale yes text_buffer_size 2048 TEXT ${color}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Weather${font} ${hr}${color1} ${color2}Sorento, IL:${color1} ${execpi 1800 conkyForecast --location=USIL1101 --template=/home/cfile/Conky/conkyForecast.template} ${color2}$alignc Network ${color}$hr${color lightgrey} ${color gray}${font Hemi head 426:size=8}Local IP:${color light grey}${alignr}${addr ath0} ${downspeedgraph ath0 38,145 FFFF00 339900} ${alignr}${upspeedgraph ath0 38,145 FFFF00 990000} ${voffset -45}${color dark grey}Down:${color light grey}${downspeedf ath0}Kbps${color dark grey}${alignr}Up:${color light grey}${upspeedf ath0}Kbps${color dark grey} ${color dark grey}Down: ${color light grey}${totaldown ath0} ${color dark grey}${alignr}Up: ${color light grey}${totalup ath0}
Attached is a screenshot of my personal conky in use. Don't mind the vertical bars/lines in my AWN. I'm trying to finish making a network manager for my dock bar. Here's a link to my progress by the way. Thanks for the great thread guys.Code:${voffset 5}${goto 10}${font ConkyWeather:style=Bold:size=40}[--datatype=WF --imperial]${font} ${voffset 5}${goto 20}[--datatype=HT --centeredwidth=3 --imperial]/[--datatype=LT --imperial --centeredwidth=3] ${voffset 10}${goto 10}${font ConkyWindNESW:size=40}[--datatype=BS --imperial]${font} ${voffset 5}${goto 10}[--datatype=WS --imperial] - [--datatype=WD --imperial] ${voffset -145}${goto 100}${color1}${font Bitstream Vera Sans Mono:style=Bold:size=14}[--datatype=CT --imperial]${font} ${voffset 10}${goto 100}${color3}Station: ${color1}[--datatype=OB --imperial] ${goto 100}${color3}Rain: ${color1}[--datatype=PC --imperial] ${goto 100}${color3}UV: ${color1}[--datatype=UI --imperial] - [--datatype=UT --imperial] ${goto 100}${color3}Humidity: ${color1}[--datatype=HM --imperial] ${goto 100}${color3}Dew Point: ${color1}[--datatype=DP --imperial] ${goto 100}${color3}Sunrise/Set: ${color1}[--datatype=SR --imperial] / [--datatype=SS --imperial] ${goto 100}${color3}Bar: ${color1}[--datatype=BR --imperial] - [--datatype=BD --imperial] ${goto 100}${color3}Moon: ${color1}[--datatype=MP --imperial] ${voffset 25}${goto 25}[--datatype=DW --startday=1 --shortweekday --imperial]${goto 100}[--datatype=DW --startday=2 --shortweekday --imperial]${goto 175}[--datatype=DW --startday=3 --shortweekday --imperial]${goto 250}[--datatype=DW --startday=4 --shortweekday --imperial] ${voffset 10}${goto 10}${font ConkyWeather:size=32}[--datatype=WF --startday=1 --endday=4 --spaces=3 --imperial]${font} ${voffset 15}${goto 15}[--datatype=HT --startday=1 --centeredwidth=3 --imperial]/[--datatype=LT --startday=1 --centeredwidth=3 --imperial]${goto 90}[--datatype=HT --startday=2 --centeredwidth=3 --imperial]/[--datatype=LT --startday=2 --centeredwidth=3 --imperial]${goto 170}[--datatype=HT --startday=3 --centeredwidth=3 --imperial]/[--datatype=LT --startday=3 --centeredwidth=3 --imperial]${goto 245}[--datatype=HT --startday=4 --centeredwidth=3 --imperial]/[--datatype=LT --startday=4 --centeredwidth=3 --imperial] ${color3}${font Bitstream Vera Sans Mono:size=7}${alignc 20}Last Updated: [--datatype=LU --imperial]${font}
Last edited by archeryguru2000; March 4th, 2009 at 06:54 PM.
this is my new install of intrepid i waited a while to upgrade i had to make a new conkyrc as my old one wouldnt work i ended up making 3
Code:## old default color #0077ff # --- Window Layout & Options --- # own_window yes own_window_colour black own_window_transparent yes own_window_type normal own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes use_spacer right use_xft yes alignment top_right gap_x 9 gap_y 63 # --- Colours, Sizes, Fonts & Margins --- # update_interval 1.2 maximum_width 400 minimum_size 400 5 stippled_borders 3 border_margin 9 border_width 10 default_color purple default_shade_color black default_outline_color purple # --- Text --- # draw_outline no draw_borders no uppercase no draw_shades yes override_utf8_locale yes xftfont Terminus:size=8 xftalpha 1 # --- Misc --- # TEXT ${color #ffcb48}System Status${hr 1} ${color #8844ee}Kernel:${color }$kernel ${color #8844ee}${offset 120}UpTime: ${color }$uptime ${color #8844ee}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color lightgrey}${freq_dyn}Mhz ${color #8844ee}Usage:${color #8844ee} ${color lightgrey}${cpu}% ${color #0077ff}${cpubar} ${color #8844ee}Core 1 ${freq_dyn cpu1}Mhz ${cpu cpu1}% ${color #0077ff}${cpubar cpu1} ${color #8844ee}Core 2 ${freq_dyn cpu2}Mhz ${cpu cpu2}% ${color #0077ff}${cpubar cpu2} ${color #8844ee}Tempratures ${color #8844ee}Fan Speed: ${color #CCCCCC}${platform it87.656 fan 1}RPM${offset 78}${color #8844ee}CPU Temp: ${color #CCCCCC}${platform it87.656 temp 2}°C ${color #8844ee}Mobo Temp: ${color #CCCCCC}${platform it87.656 temp 1}°C${offset 90}${color #8844ee}GPU Temp: ${color #CCCCCC}${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'}°C ${color #8844ee}Highest CPU: ${color yellow} ${top name 1}${top_mem cpu 1} ${color lightgrey} ${top name 2}${top cpu 2} ${color lightgrey} ${top name 3}${top cpu 3} ${color lightgrey} ${top name 4}${top cpu 4} ${color #8844ee}Highest MEM: ${color yellow} ${top_mem name 1}${top_mem mem 1} ${color lightgrey} ${top_mem name 2}${top_mem mem 2} ${color lightgrey} ${top_mem name 3}${top_mem mem 3} ${color lightgrey} ${top_mem name 4}${top_mem mem 4} ${color #8844ee}MEM: ${color } $memperc% $mem/$memmax ${membar 3,100} ${color #8844ee}SWAP: ${color }$swapperc% $swap/$swapmax ${swapbar 3,100} ${color #ffcb48}Disks ${hr 1} ${color #8844ee}ROOT: ${color }${fs_free /}/${fs_size /} ${fs_bar 3,100 /} ${color #8844ee}Recordings: ${color }${fs_free /mnt/mythtv}/${fs_size /mnt/mythtv} ${fs_bar 3,100 /mnt/mythtv} ${color #8844ee}Data: ${color }${fs_free /data}/${fs_size /data} ${fs_bar 3,100 /data} ${color #ffcb48}Weather${hr 1} ${color #8844ee}Current Temprature: ${execi 600 conkyForecast --location=ASXX0075 --datatype=HT } Current Conditions: ${execi 600 conkyForecast --location=ASXX0075 --datatype=CT } Temprature Forcast: ${execi 3600 conkyForecast -w --location=ASXX0075 --startday=0 --endday=2 --datatype=HT } Conditions Forcast: ${execi 3600 conkyForecast --location=ASXX0075 --startday=0 --endday=2 --datatype=CT }Code:## old default color #0077ff # --- Window Layout & Options --- # own_window yes own_window_colour black own_window_transparent yes own_window_type normal own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes use_spacer right use_xft yes alignment bottom_middle gap_x 9 gap_y 63 text_buffer_size 1024 # --- Colours, Sizes, Fonts & Margins --- # update_interval 1.2 maximum_width 400 minimum_size 400 5 stippled_borders 3 border_margin 9 border_width 10 default_color purple default_shade_color black default_outline_color purple # --- Text --- # draw_outline no draw_borders no uppercase no draw_shades yes override_utf8_locale yes xftfont Terminus:size=8 xftalpha 1 # --- Misc --- # TEXT ${color #8844ee} ${execi 300 perl /usr/bin/mythtv-status KISP}Code:# --- Window Layout & Options --- # own_window yes own_window_colour black own_window_transparent yes own_window_type normal own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes use_spacer right use_xft yes alignment bottom_left gap_x 9 gap_y 63 # --- Colours, Sizes, Fonts & Margins --- # update_interval 1.2 maximum_width 400 minimum_size 400 5 stippled_borders 3 border_margin 9 border_width 10 default_color lightgrey default_shade_color black default_outline_color blue # --- Text --- # draw_outline no draw_borders no uppercase no draw_shades yes override_utf8_locale yes xftfont Terminus:size=8 xftalpha 1 # --- Misc --- # TEXT ${color #ffcb48}Wireless ${hr 1} ${color #8844ee}Signal: ${color green}${wireless_link_qual_perc wlan0} ${color #8844ee}Rate: ${color green}${wireless_bitrate wlan0} ${color #8844ee}IP address: $color${addr wlan0} ${color}Up: ${color }${upspeed wlan0} k/s ${upspeedgraph wlan0 15,250 000000 990000} ${color}Down: ${color }${downspeed wlan0}k/s${color} ${downspeedgraph wlan0 15,250 000000 000099} ${color #ffcb48}Wired ${hr 1} ${color #8844ee}IP address: $color${addr eth0} ${color}Up: ${color }${upspeed eth0} k/s ${upspeedgraph eth0 15,250 000000 990000} ${color}Down: ${color }${downspeed eth0}k/s${color} ${downspeedgraph eth0 15,250 000000 000099} ${color #8844ee}Downloaded: $color${totaldown eth0} $alignr ${color #8844ee}Uploaded: $color${totalup eth0} ${color #ffcb48}Stats ${hr 1} ${color #8844ee}Downloaded Today: ${execi 300 vnstat | grep "today" | awk '{print $2 $3}'}${offset 65}Uploaded Today: ${execi 300 vnstat | grep "today" | awk '{print $5 $6}'} ${color #8844ee}Downloaded Week: ${execi 300 vnstat -w | grep "current week" | awk '{print $3 $4}'}${offset 60}${color #8844ee}Uploaded Week: ${execi 300 vnstat -w | grep "current week" | awk '{print $6 $7}'} ${color #8844ee}Downloaded Month: ${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}${offset 60}${color #8844ee}Uploaded Month: ${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'} ${color #ffcb48}Connections ${hr 1} ${color #8844ee}Port(s)${alignr}Connections ${color #8844ee}Inbound: ${color lightgrey}${tcp_portmon 1 32767 count} ${color #8844ee}Outbound: ${color lightgrey}${tcp_portmon 32768 61000 count}${alignr}${color #8844ee}Total: ${color lightgrey}${tcp_portmon 1 65535 count} ${color #8844ee}Inbound Connection ${alignr} Local Service/Port$color ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0} ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1} ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2} ${color #8844ee}Outbound Connection ${alignr} Remote Service/Port$color ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0} ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1} ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
Last edited by oobe-feisty; March 6th, 2009 at 01:45 AM.
For those of you using conky with audacious, i managed to fix the problem with the progress bar, in earlier versions of conky the script looked at values between 0 and 100, with the latest version, it looks at numbers between 0 and 1.
so you need to change the line in your conky from
toCode:${execbar expr 100 \* $(audtool --current-song-output-length-seconds) \/ $(audtool --current-song-length-seconds)}
this is the full conky script i'm using now that i'm happy.Code:${execbar echo $(audtool --current-song-output-length-seconds) \/ $(audtool --current-song-length-seconds) | bc -l}
Code:alignment top_right background no border_width 2 cpu_avg_samples 2 default_color 94959C default_outline_color 94959C default_shade_color 94959C double_buffer yes draw_borders no draw_graph_borders no draw_outline no draw_shades no gap_x 15 gap_y 5 maximum_width 250 max_port_monitor_connections 64 max_specials 512 max_user_text 16384 minimum_size 0 0 net_avg_samples 2 no_buffers yes out_to_console no own_window_colour black own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager own_window_transparent yes own_window_type normal own_window yes stippled_borders 2 update_interval 1 uppercase no use_spacer none use_xft yes xftalpha 0.8 xftfont Bitstream Vera Sans Mono:size=7 TEXT ${color #94959C}${font Bitstream Vera Sans Mono:size=12}${alignc}$sysname $kernel ${font Bitstream Vera Sans Mono:size=12}${alignc}${time} ${alignc}${color #94959C}Uptime:$color $uptime ${color #94959C}${offset 25}${font ConkyWeather:style=Bold:size=34}${execi 1800 conkyForecast --location=UKXX1546 --datatype=WF} ${font ConkyWindNESW:size=34}${execi 1800 conkyForecast --location=UKXX1546 --datatype=BS} ${font Moon Phases:size=30}${execi 1800 conkyForecast --location=UKXX1546 --datatype=MF}${font} ${color #94959C}${offset 25}${execi 1800 conkyForecast --location=UKXX1546 --datatype=HT --centeredwidth=4}/${execi 1800 conkyForecast --location=UKXX1546 --datatype=LT --centeredwidth=4} ${execi 1800 conkyForecast --location=UKXX1546 --datatype=WS --imperial} - ${execi 1800 conkyForecast --location=UKXX0017 --datatype=WD} Moon ${font Bitstream Vera Sans Mono:size=10}${alignc}${color #94959C}Battery Life ${font Bitstream Vera Sans Mono:size=8}${alignc}${execpi 20 acpi -b | cut -c17-60} ${alignc}${execpi 20 acpi -b | cut -c30-31 | xargs ~/colorize.sh}${battery_bar 12,242 BAT1} ${alignc}${font Bitstream Vera Sans Mono:size=10}${color #94959C}CPU $cpu% ${alignc}${color #00ff00}${cpugraph 0 24,246 104E8B 00ff00} ${alignc}${font Bitstream Vera Sans Mono:size=10}${color #94959C}Disk I/O ${alignc}${color #00ff00}${diskiograph 24,246 104E8B 00ff00 1000} ${font Bitstream Vera Sans Mono:size=10}${alignc}${color #94959C}Wireless - ${execpi 2 iwconfig wlan0 | line 1 | cut -c32-45} - ${execpi 2 cat /sys/class/net/wlan0/wireless/link}% ${alignc}${execpi 2 cat /sys/class/net/wlan0/wireless/link | xargs ~/wireless.sh}${wireless_link_bar 12,242 wlan0} ${alignc}${font Bitstream Vera Sans Mono:size=10}${color #94959C}Network Downspeed ${downspeed wlan0}kbs ${alignc}${color #00ff00}${downspeedgraph wlan0 24,246 104E8B 00ff00} ${alignc}${font Bitstream Vera Sans Mono:size=10}${color #94959C}Network Upspeed ${upspeed wlan0}kbs ${alignc}${color #ff0000}${upspeedgraph wlan0 24,246 104E8B ff0000} ${if_running audacious} ${font Bitstream Vera Sans Mono:size=10}${alignc}${color #94959C}${scroll 0}Audacious ${font Bitstream Vera Sans Mono:size=10}${alignc}${color #94959C}${exec audtool --current-song | cut -b-34} ${font Bitstream Vera Sans Mono:size=10}${color #94959C}${execbar echo $(audtool --current-song-output-length-seconds) \/ $(audtool --current-song-length-seconds) | bc -l} ${alignc}${exec audtool --current-song-output-length} Of ${exec audtool --current-song-length}${else} ${alignc}${font Bitstream Vera Sans Mono:size=10}${color #94959C}Highest Processor Usage ${font Bitstream Vera Sans Mono:size=7}${offset 15}${color #94959C}Name PID CPU% MEM% ${offset 15}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${offset 15}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${offset 15}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}${endif}
I'll never drink water again....Fish poo in it!
XP for iTunes Only : Ubuntu10.04 : Crunchbang : DSL
I'm Pushing Narcoleptic Numbat for ubuntu11.04
Proper Funny Stuff
Got a problem with my Conky. It works fine in Gnome, but I recently set up Openbox on my netbook and added conky to the autostart file, and it comes up running off-screen to the left. See my attached pic.
Here's my conkyrc borrowed and slightly modified from a post here):
Code:# Conky configuration # # =================== # # Create window, and make it not transparent so we get a solid # background. own_window yes own_window_transparent yes # Next line specifies a color of the background. In this case, I'm using # a grey color specified in hex. You are also free to specify the color # by name. Eg. orange, blue, lightblue, lightgrey, black, white own_window_colour 4D4D4D # Don't put conky in the task bar, the pager, and no decorations to the # window. own_window_hints undecorated below sticky skip_taskbar skip_pager # To prevent conky from flickering every update, we double buffer. # For those whose conky still flickers, ensure that the item: Load "dbe" # is in your /etc/X11/xorg.conf under Section "module" double_buffer yes # Number of samples to take for averaging CPU monitoring. cpu_avg_samples 2 # Number of samples to take for averaging Network monitoring. net_avg_samples 2 # Use Xft? Xft: Anti-aliased font, enable Xft font. # If you disable this you must specify an X font. use_xft yes # Xft font when Xft is enabled. xftfont Bitstream Vera Sans Mono:size=8 # Text alpha when using Xft xftalpha 0.8 # How many seconds per update of statistics? # That is, how many seconds in between each check of monitored stats. update_interval 1 # Minimum size of the conky bar. # How to use: minimum_size [Width] [Height] minimum_size 1280 10 # Maximum width that conky can expand to. 1280x800 is what a lot of us # run at I'm guessing. So... maximum_width 1280 # border margins border_margin 0 # border width border_width 0 # Draws a outline_color outline around all the text. Makes it really # standout if you choose your colors carefully. draw_outline no # Gives text a shade_color shadow. Text shadows! Less standout than # above. double_buffer yes # Set default text color, then set your default shade color, and outline color. Can be specified in words (black, white, blue, etc.) or using hex values (lightgray, #FFFFFF, etc) default_color black default_shade_color black default_outline_color black # Where to place the conky bar. Set to start at the top-left corner of your desktop. Can specify top_right, bottom_left, bottom_right as well. alignment top_left # Specifies the gap between the specified starting point. # Example: if I start at the top-left corner (0,0) then these values # tell it to start printing the text out to x=0+40, y=0+5 (40,5) gap_x 0 gap_y 5 # Add spaces to keep things from moving about? Uses more space, but # prevents the text from moving back and forth as values change. # Example: Down: 0 kb/s changes to Down: 100 kb/s (the entire line # expands since it just got longer. Using spacers makes allowances for # this). use_spacer yes # Subtract file system buffers from used memory? no_buffers yes # set to yes if you want all text to be in uppercase. CAPS LOCK FTW? uppercase no # MPD Configuration. Requires MPD to be installed and properly # configured. mpd_host localhost mpd_port 6600 # For variable descriptions and more conky config items please read http://conky.sourceforge.net/docs.html # Conky Display # # ============= # #All items below TEXT are what appears on your screen. All the below #items are on one line. Inserting a break inbetween any items makes a #new line on your conky display. TEXT ${alignc}${color #32AFD4}${color orange}$nodename ${color lightgray}|${color #32AFD4} Up:${color orange} $uptime ${color lightgray}|${color #32AFD4} CPU Usage:${color #32AFD4} ${color orange}${cpu}% ${color lightgray}|${color #32AFD4} ${color orange}${fs_used /}/${fs_size /}${color lightgray} |${color #32AFD4} RAM Used: ${color orange}$mem ${color lightgray}|${color #32AFD4} ${color lightgray}|${color #32AFD4} WiFi${color orange} ${wireless_essid wlan0} (${wireless_link_qual_perc wlan0}%) ${color lightgray}|${color #32AFD4}Battery:${color orange}${battery_percent BAT0}${color lightgray}|${color #32AFD4}${time %H:%M} ${color orange}${time %A %d %B %Y}
Desktop | Intel QuadCore 9400 | 4GB RAM | 9800GT 512MB | Ubuntu 8.10 64bit | 19" LCD | 500GB + 640GB HD
Sylvania Meso G Netbook | Atom 1.6GHz | 1GB RAM | 80GB HD | Ubuntu 8.10 OpenBox
I'll never drink water again....Fish poo in it!
XP for iTunes Only : Ubuntu10.04 : Crunchbang : DSL
I'm Pushing Narcoleptic Numbat for ubuntu11.04
Proper Funny Stuff
Actually, I just noticed this:
My resolution is 1024x600.Code:# Minimum size of the conky bar. # How to use: minimum_size [Width] [Height] minimum_size 1280 10 # Maximum width that conky can expand to. 1280x800 is what a lot of us # run at I'm guessing. So... maximum_width 1280
fixed it and it works great now.
Desktop | Intel QuadCore 9400 | 4GB RAM | 9800GT 512MB | Ubuntu 8.10 64bit | 19" LCD | 500GB + 640GB HD
Sylvania Meso G Netbook | Atom 1.6GHz | 1GB RAM | 80GB HD | Ubuntu 8.10 OpenBox
I have this problem on display the temperature of my cpu.
${execi 1 cat /sys/bus/pci/drivers/k8temp/000*/temp1_input | cut -c1,2} °C
The same instruction used by archeryguru2000 but i obtain this result.
While if i use the same command directly on the terminal:
~$ cat /sys/bus/pci/drivers/k8temp/0000\:00\:18.3/temp1_input | cut -c1,2
33
The result is correct without strange symbol after the number as you can see on the image.
Oh my! Alaska, late Feb, early March ... BRRRRRRRRRR! Bet you needed a flashlight.
Never been there but have been to Alert, in the Qikiqtaaluk Region, Nunavut, Canada. It is the northernmost permanently inhabited place in the world. Also Inuvik, Tuktoyaktuk in Canada's North and a few places in Greenland too, so yea, I know of what you speak when you say:
Talk about computer withdrawal symptoms!!no phone, internet, pager, mail, paved roads...... you get the idea
Thanks for the background.
Have a great (warmer) day.
Bruce
Bookmarks