It's hard to get the big picture when you have such a small screen
registered linux user 436419.,,,ubuntu user 9885
www.cafelinux.org/forum/,,,http://www.getautomatix.com/forum/
Maybe someone can help. I'm trying to get color to work with my weather script.
Here's a little snip from weather.xslt:
I'd like the values after "Humidity:" to have a color, say, #95956B. How would I go about doing this?Humidity: </xsl:text><xsl:value-of select="hmid"/><xsl:text>%</xsl:text>
Here is mine... Conky rules, by the way.
Code:# UBUNTU-CONKY # A comprehensive conky script, configured for use on # Ubuntu / Debian Gnome, without the need for any external scripts. # # Based on conky-jc and the default .conkyrc. # INCLUDES: # - tail of /var/log/messages # - netstat connections to your computer # # -- Pengo (conky@pengo.us) # # 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 # fiddle with window use_spacer yes use_xft yes xftfont Domestic Manners # Update interval in seconds update_interval 3.0 # Minimum size of text area # minimum_size 250 5 # Draw shades? draw_shades no # Text stuff draw_outline no # amplifies text if yes draw_borders no #font arial uppercase no # set to yes if you want all text to be in uppercase # Stippled borders? stippled_borders 3 # border margins border_margin 9 # border width border_width 10 # Default colors and also border colors, grey90 == #e5e5e5 default_color 001831 own_window_colour brown own_window_transparent yes # 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 350 gap_y 40 # stuff after 'TEXT' will be formatted on screen TEXT $Uptime: $uptime | Memory: $memperc% | Home: ${fs_used /home} / ${fs_size /home} | External HDD: ${fs_used /media/My Book} / ${fs_size /media/My Book} ${time %A} ${time %B %e, %G} ${execi 300 /home/bbolender/.weather/weather.sh 52240}
Here's mine. I'll tell ya... fiddlin' with Conky has become almost an obsession- be warned. It may be addictive.
- mertle
Code:own_window yes own_window_type desktop own_window_transparent yes double_buffer yes use_spacer no update_interval 1.5 draw_shades no maximum_width 200 minimum_size 200 use_xft yes draw_outline no draw_borders no draw_graph_borders yes uppercase no default_color grey font Sans Serif:size=8 alignment top_right gap_x 5 gap_y 30 xmms_player infopipe ########################################################## TEXT $hr ${color white}${voffset -6}$alignr SYSTEM$color ${voffset -5}$hr ${color white}${offset 5}User ${offset 5}:$color mertle@$nodename ${color white}${offset 5}Kernel ${offset 1}:$color $kernel ($machine) ${color white}${offset 5}KDE ${offset 5}:$color ${execi 43200 kde-config --version | grep KDE | sed -e 's/.*: //'} ${color white}${offset 5}Uptime :$color $uptime $hr ${color white}${voffset -6}$alignr CPU & MEMORY$color ${voffset -5}$hr $alignc $acpitempf° F ($acpitemp° C) $alignc ${cpugraph 25,150 ab2881 2885ab} $alignc $cpu% @ $freq MHz ${color white}${offset 5}Ram${offset 9}:$color ${membar 5,110}${offset 5}: $memperc% ${color white}${offset 5}Swap :$color ${swapbar 5,110}${offset 5}: $swapperc% $hr ${color white}${voffset -6}$alignr NETWORK$color ${voffset -5}$hr ${color white}$alignc ::: Wireless :::$color ${voffset 3}$alignc Signal : ${linkstatus eth1}% ${offset 20}${voffset 3}Dn : ${downspeedf eth1} k/s${alignr 20}Up : ${upspeedf eth1} k/s ${color white}$alignc ::: Modem :::$color ${offset 20}${voffset 3}Dn : ${downspeedf ppp0} k/s${alignr 20}Up : ${upspeedf ppp0} k/s $hr ${color white}${voffset -6}$alignr PARTITIONS$color ${voffset -5}$hr ${color white}${offset 5}Kubuntu ${offset 4}: $color${fs_bar 5,95 /}${offset 5}: ${fs_free_perc /}% ${color white}${offset 5}Windows : $color${fs_bar 5,95 /media/win/}${offset 5}: ${fs_free_perc /media/win/}% $hr ${color white}${voffset -6}$alignr MUSIC$color ${voffset -5}$hr ${color white}$alignc ::: $xmms_status :::$color ${voffset 3}$alignc $xmms_title
I have just installed conky and want a script for a one line conky with up/down, ddate, and the time.
This will mean I can do away with my dockapp clock.
"Of all the things I've lost, I miss my mind the most " -- Ozzy Osbourne
#avoid flicker
double_buffer yes
#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent no
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager
#borders
draw_borders no
border_margin 1
#shades
draw_shades no
#position
gap_x 0
gap_y 0
alignment top_left
#behaviour
update_interval 1
#colour
default_color bfbfbf
#default_shade_color 000000
## own_window_colour 484432
own_window_colour 000000
#font
use_xft yes
xftfont DejaVu Sansixelsize=9
#to prevent window from moving
use_spacer no
##minimum_size 1276 0
minimum_size 2560 0
#mpd
mpd_host localhost
mpd_port 6600
TEXT
${voffset -1} ${color FFFFFF}Blackbox @ ${color 95956B}${freq_dyn}MHz ${color FFFFFF} | Core1: ${color 95956B}${font}${cpu cpu1}% ${color FFFFFF}Core2: ${color 95956B}${font}${cpu cpu2}% ${color FFFFFF} Mem: ${color 95956B}${font}${mem} ${color FFFFFF} | ${color FFFFFF} Up: ${color 95956B}${font}${uptime_short}${color FFFFFF} | ${color FFFFFF} Net: ${color 95956B}${font}${downspeed eth0} Kb/s ${color FFFFFF} ${totaldown eth0} down${color FFFFFF} | ${color FFFFFF} ${color 95956B}${upspeed eth0} Kb/s ${color FFFFFF} ${totalup eth0} up${color FFFFFF} | ${color FFFFFF}Root: ${color 95956B}${font}${fs_free /} ${color FFFFFF} Home: ${color 95956B}${font}${fs_free /home} ${color FFFFFF} | Email: ${color 95956B}${execi 300 python ~/.conky/gmail.py} ${color FFFFFF} | ${color FFFFFF} Mpd: ${color 95956B}${font}${mpd_smart} ${color FFFFFF} | ${execi 60 ~/.conky/weather.sh CAXX0255} | ${color 95956B}Give them nothing, but take from them, EVERYTHING!
Have sorted it out, got conky just how I want it.
Based the rc file on KMandla's, nice, clean, and simple.
Code:background yes use_xft yes xftfont HeldustryFTVBasic:size=8 xftalpha 0.8 update_interval 2 own_window yes own_window_colour white own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager own_window_type override double_buffer yes draw_shades no draw_outline no stippled_borders no border_margin 0 border_width 1 default_color black #default_shade_color white alignment bottom_right maximum_size 1262 gap_x 9 gap_y 9 use_spacer no no_buffers yes uppercase yes TEXT ${alignr}${color #000000} down: ${downspeed eth0}Kb/s | up ${upspeed eth0}Kb/s | ${exec ddate "+%A,%e of %B,%Y"} | ${time %T}
"Of all the things I've lost, I miss my mind the most " -- Ozzy Osbourne
something just occurred to me, conky will ping the processor perhaps every second or a little more, doesn't that put unnecessary load on the processor? How does this constant pinging of the system affect system health? Hard disks for example, etc?
Recommended Resources: Ubuntu Linux Resources
Bookmarks