1 Attachment(s)
Re: Post your .conkyrc files w/ screenshots
Sorted out part of my problem-- line-returns in the wrong places.
I tried doing the second set of if's but I end up with a zero return.
Anyway, here's the full script I am running at the moment:
Code:
##################################
## VinDSL | rev. 11-12-01 20:20 ##
##################################
## December 2011 Series ##
##################################
## ”PLEASE READ THE FINE PRINT! ##
####
## Development Platforms (current)
#
# Ubuntu 10.10 'Maverick Meerkat' (GNOME 2.28 - Conky 1.8.0)
# Ubuntu 12.04 'Precise Pangolin' (GNOME-SHELL - UNITY 2D/3D - Conky 1.8.1)
# Screen Resolution: 1280x1024x24 (DELL UltraSharp 1907FP)
####
## Prerequisites (required)
#
# conky-all 1.8.0 or 1.8.1-5
# cURL - Command Line Tool
# xsltproc - Command Line Tool
# UTF-8 Compatible Text Editor
#
## Tips n' Tricks
## Several ppl (including myself) have experienced issues with conky-all 1.8.1-6
## In every instance, downgrading to conky-all 1.8.1-5 has solved the problem(s).
## I recommend using (and pinning) conky-all 1.8.1-5 until things get sorted.
## conky-all 1.8.1-5 can be downloaded here: https://launchpad.net/ubuntu/+source/conky-all/1.8.1-5
####
## Installed fonts (required)
#
# ConkyWeather (Stanko Metodiev)
# Cut Outs for 3D FX (Fonts & Things)
# Droid Font Family (Google Android SDK)
# KR A Round (Kat's Fun Fonts)
# OpenLogos (Icoma)
# PizzaDude Bullets (Jakob Fischer)
# Radio Space (Iconian Fonts)
# StyleBats (Vinterstille)
# Ubuntu Font Family (Canonical Ltd)
# Ubuntu Title Bold (Paulo Silva - not included in link below)
# Weather (Jonathan Macagba)
#
## Tips n' Tricks from Mr. Peachy, djyoung4, and 42dorian (Thanks!)
## Most necessary fonts can be downloaded here: http://ompldr.org/vOHdoag
## Unzip the fonts into your font folder, for example: /home/username/.fonts
## Run this command in a terminal (rebuilds font cache file): sudo fc-cache -fv
####
## Use XFT? Required to Force UTF8 (see below)
#
use_xft yes
xftfont DroidSans:size=8.75
xftalpha 0.1
####
## Force UTF8? Requires XFT (see above)
## Displays degree symbol, instead of Ā°, etc.
#
override_utf8_locale yes
####
## This buffer is used for text, single lines, output from $exec, and other variables.
## Increasing the text buffer size (too high) will drastically reduce Conky's performance.
## Decreasing the size (too low) will truncate content and cause strange display output.
## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!
#
text_buffer_size 640
####
## Daemonize Conky, aka 'fork to background'.
#
background yes
####
## Update interval in seconds.
#
update_interval 2.0
####
## The number of times Conky will update before quitting.
## Zero makes Conky run forever.
#
total_run_times 0
####
## Create own window in instead of using desktop?
#
own_window yes
own_window_transparent yes
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
####
## Some distros also require the following 2 lines.
#
own_window_argb_visual yes
own_window_argb_value 255
####
## Force images to redraw when they change.
#
imlib_cache_size 0
####
## Use double buffering? Reduces flicker.
#
double_buffer yes
####
## Draw shades?
#
draw_shades yes
default_shade_color 292421
####
## Draw outlines?
#
draw_outline no
####
## Draw borders around text?
#
draw_borders no
####
## Draw borders around graphs?
#
draw_graph_borders no
####
## Print text to stdout?
## Print text in console?
#
out_to_ncurses no
out_to_console no
####
## Text alignment.
#
alignment top_right
####
## Minimum size of the text area.
## Syntax: minimum_size [width] [height]
#
minimum_size 255 1394
####
## Maximum width of the text area.
## Syntax: maximum_width [width]
#
maximum_width 255
####
## Gap between text and screen borders.
#
gap_x 6 ## Left / Right
gap_y 32 ## Top / Bottom
####
## Shorten MiB/GiB to M/G in stats.
#
short_units yes
####
## Pad % symbol spacing after numbers.
#
pad_percents 0
####
## Pad spacing between text and borders.
#
border_inner_margin 4
####
## Limit the length of names in "Top Processes".
#
top_name_width 10
####
## Subtract file system -/+buffers/cache from used memory?
## Set to yes, to produce meaningful physical memory stats.
#
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
####
## Add spaces to keep things from moving around?
## Only affects certain objects.
#
use_spacer right
####
## My colors (suit yourself)
#
color0 White #FFFFFF
color1 Ivory #FFFFF0
color2 Ivory2 #EEEEE0
color3 Ivory3 #CDCDC1
color4 Tan1 #FFA54F
color5 Tan2 #EE9A49
color6 Gray #7E7E7E
color7 AntiqueWhite4 #8B8378
color8 DimGray #696969
color9 Tomato #FF6347
#####
## Load Lua for shading (optional)
## Set the path to your script here.
#
lua_load ~/.conky/draw_bg.lua
lua_draw_hook_pre draw_bg
####
## Load Lua for bargraphs (required)
## Set the path to your script here.
#
lua_load ~/.conky/bargraph_small.lua
lua_draw_hook_post main_bars
TEXT
##################################
## LOGO ##
##################################
## Uncomment for hard-coded ID (static)
${voffset -33}${font OpenLogos:size=100}${color2}v${font}${voffset -78}${goto 179}${font UbuntuTitleBold:size=19.7}${color4}1${offset 1}2${offset 1}.${offset 0}0${offset 0}4${font}
####
## Uncomment for soft-coded ID (dynamic)
# ${voffset -33}${font OpenLogos:size=103}${color2}v${font}${voffset -76}${goto 179}${font UbuntuTitleBold:size=19.6}${color4}${pre_exec cat /etc/*release | grep 'RELEASE' | awk -F'=' '{print $2}'}${font}
####
## Additional ID (branch version, code name, release date, etc.)
${voffset -1}${goto 182}${font Ubuntu-B:size=6.8}${color4}Precise Pangolin${font}
##################################
## SYSTEM ##
##################################
${voffset 6}${font DroidSans:bold:size=8.25}${color4}SYSTEM${offset 8}${color8}${voffset -3}${hr 2}${font}
# ${voffset 4}${font OpenLogos:size=10}${color2}u${voffset -4}${font DroidSans:size=8.6}${color3}${offset 5}${pre_exec lsb_release -sd || cat /etc/*release}${font}
${voffset 2}${offset -2}${font OpenLogos:size=12}${color2}t${voffset -4}${font DroidSans:size=8.6}${color3}${offset 3}${sysname}${offset 3}${kernel}${alignr}${font DroidSans:size=8.3}${machine}${font}
${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color3}${offset 5}HP G72-259WM with Intel 4500M Graphics${font}
${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color3}${offset 5}Intel${offset 3}Dual${offset 3}Core${offset 3}T4500${alignr 1}${font DroidSans:size=8.3}${freq_g cpu0}${offset 1}GHz${font}
${voffset 2}${font StyleBats:size=10}${color2}q${voffset -1}${font DroidSans:size=8.6}${color3}${offset 5}System${offset 3}Uptime${alignr}${font DroidSans:size=8.3}${uptime_short}${font}
##################################
## PROCESSORS ##
##################################
${voffset 4}${font DroidSans:bold:size=8}${color4}PROCESSORS${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color3}${offset 2}CPU1${offset 5}${font DroidSans:size=8.3}${cpu cpu1}%${font}
${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color3}${offset 2}CPU2${offset 5}${font DroidSans:size=8.3}${cpu cpu2}%${font}
##################################
## MEMORY ##
##################################
${voffset 5}${font DroidSans:bold:size=8}${color4}MEMORY${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 4}${font StyleBats:size=10}${color2}l${voffset -2}${font DroidSansFallback:size=8.3}${color3}${offset 3}RAM${goto 97}${font DroidSans:size=8.3}${mem}${goto 133}/${offset 5}${memmax}${alignr}${memperc}%${font}
##################################
## HDD ##
##################################
${voffset 15}${font DroidSans:bold:size=8}${color4}HDD${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 6}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color3}${offset 4}ROOT${goto 95}${font DroidSans:size=8.3}${fs_used /}${goto 133}/${offset 5}${fs_size /}${alignr}${fs_free_perc /}%${font}
${voffset 15}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color3}${offset 4}HOME${goto 95}${font DroidSans:size=8.3}${fs_used /home}${goto 133}/${offset 5}${fs_size /home}${alignr}${fs_free_perc /home}%${font}
${voffset 15}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color3}${offset 4}DATA${goto 95}${font DroidSans:size=8.3}${fs_used /Data}${goto 133}/${offset 5}${fs_size /Data}${alignr}${fs_free_perc /Data}%${font}
##################################
## TOP PROCESSES ##
##################################
${voffset 15}${font DroidSans:bold:size=8}${color4}TOP PROCESSES${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 6}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 4}${top_mem name 1}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 1}${alignr}${top_mem mem 1}%${font}
${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 4}${top_mem name 2}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 2}${alignr}${top_mem mem 2}%${font}
${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 4}${top_mem name 3}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 3}${alignr}${top_mem mem 3}%${font}
# ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 4}${top_mem name 4}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 4}${alignr}${top_mem mem 4}%${font}
# ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 4}${top_mem name 5}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 5}${alignr}${top_mem mem 5}%${font}
# ${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 4}${top_mem name 6}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 6}${alignr}${top_mem mem 6}%${font}
##################################
## NETWORK ##
##################################
${voffset 4}${font DroidSans:bold:size=8}${color4}NETWORK${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}T${font DroidSans:size=8.65}${color3}${offset 5}Download${goto 120}${font DroidSans:size=8.3}${totaldown eth0}${totaldown wlan0}${alignr}${font DroidSans:size=8.3}${downspeed eth0}${downspeed wlan0}${font}
${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}N${font DroidSans:size=8.65}${color3}${offset 5}Upload${goto 120}${font DroidSans:size=8.3}${totalup eth0}${totalup wlan0}${alignr}${font DroidSans:size=8.3}${upspeed eth0}${upspeed wlan0}${font}
${voffset 2}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color3}${offset 5}IP Address${alignr}${font DroidSans:size=8.3}${font DroidSans:size=8.3}${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${font}
##################################
## WEATHER (Imperial) ##
##################################
${voffset 2}${font DroidSans:bold:size=8.25}${color4}WEATHER${offset 6}${color8}${voffset -2}${hr 2}${font}
${voffset -3}${font RadioSpace:size=30}${color3}${alignc -8}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Selma,CA" ctbi}${font}${voffset -23}${goto 30}${font Weather:size=38}${color3}y${font}
${voffset -38}${font Ubuntu:size=8.63}${color5}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Selma,CA" ctti}${font}
${voffset -38}${font KRARound:size=36}${color3}${goto 195}I${font}
${voffset 0}${font Ubuntu:size=23}${color5}${alignc -2}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Selma,CA" ccb}${font}
${voffset 6}${font DroidSansFallback:size=8.63}${color3}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Selma,CA"}${font}
${voffset -59}${font ConkyWeather:size=48}${color6}${alignc -55}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Selma,CA" cp}${font}
${voffset 6}${font DroidSansMono:bold:size=8.62}${color4}${offset 40}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Selma,CA" dl}${font}
${voffset 0}${font ConkyWeather:size=35}${color3}${offset 30}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Selma,CA" fcp}${font}
${voffset 0}${font DroidSansFallback:bold:size=8.62}${color4}${offset 26}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Selma,CA" fcti}${font}
##################################
## WEATHER (Metric) ##
##################################
# ${voffset 4}${font DroidSans:bold:size=8.25}${color4}WEATHER${offset 8}${color8}${voffset -2}${hr 2}${font}
# ${voffset -55}${font RadioSpace:size=34}${color3}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Toronto" ctbm}${font}${voffset -28}${goto 33}${font Weather:size=42}${color3}y${font}
# ${voffset -38}${font Ubuntu:size=8.63}${color5}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Toronto" cttm}${font}
# ${voffset -39}${font KRARound:size=36}${color3}${goto 195}I${font}
# ${voffset 6}${font Ubuntu:size=23}${color5}${alignc -2}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Toronto" ccb}${font}
# ${voffset 8}${font DroidSansFallback:size=8.63}${color3}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Toronto"}${font}
# ${voffset -57}${font ConkyWeather:size=48}${color6}${alignc -55}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Toronto" cp}${font}
# ${voffset 6}${font DroidSansMono:bold:size=8.62}${color4}${offset 40}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Toronto" dl}${font}
# ${voffset 0}${font ConkyWeather:size=37.9}${color3}${offset 26}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Toronto" fcp}${font}
# ${voffset 0}${font DroidSansFallback:bold:size=8.62}${color4}${offset 35}${execi 1800 /home/dngrsone/.conky/weather/weather.sh "Toronto" fctm}${font}
##################################
## TIME ##
##################################
${voffset 4}${font DroidSans:bold:size=8}${color4}TIME${offset 6}${color8}${voffset -2}${hr 2}${font}
${voffset -10}${font RadioSpace:size=30}${color3}${if_match ${time %l}<=9}${alignc -4}${time %H:%M}${else}${if_match ${time %l}>=10}${alignc -7}${time %l:%M}${endif}${endif}${font}
# ${voffset 0}${font DroidSansFallback:bold:size=6.85}${color4}${alignc 2}Sunrise${offset 1}${execi 1800 conkyForecast -d SR}${color3}${offset 2}|${offset 2}${color4}Sunset${offset 1}${execi 1800 conkyForecast -d SS}${font}
##################################
## CALENDAR (5-Line) ##
##################################
${voffset 0}${font DroidSans:bold:size=8}${color4}DATE${offset 4}${color8}${voffset -2}${hr 2}${font}
${voffset 18}${font DroidSansMono:size=7.55}${color3}${alignc 60}${time %A}${font}
${voffset -4}${font DroidSansFallback:bold:size=18}${if_match ${time %e}<=9}${color5}${alignc 65}${time %e}${font}${else}${if_match ${time %e}>=10}${color5}${alignc 60}${time %e}${endif}${endif}${font}
${voffset 0}${font DroidSansMono:size=7.55}${color3}${alignc 60}${time %B}${font}
${voffset 0}${font DroidSansMono:size=7.6}${color3}${alignc 60}${time %Y}${font}
${voffset -83}${font CutOutsFor3DFX:size=67}${color8}${alignc 99}2${font}
####
## Uncomment for Conky 1.8.0 (use mono fonts only)
${voffset -72}${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_9=`date +%-d`; cal -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e s/^/"\$\{offset 100"\}/ -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color3}/'}
####
## Uncomment for Conky 1.8.1 (use mono fonts only)
# ${voffset -64}${offset 100}${font DroidSansMono:size=7.55}${color3}${execpi 60 VinDSL_Cal_9=`date +%-d`; cal -h | sed -e 's/\r//g' -e 's/^/ /g' -e '1d' -e 's/\<'"$VinDSL_Cal_9"'\>/${color4}&${color3}/'}
##################################
## RHYTHMBOX (Experimental) ##
##################################
${if_running rhythmbox}
${voffset -10}${font DroidSans:bold:size=7.75}${color4}RHYTHMBOX${offset 6}${color8}${voffset -2}${hr 2}${font}
${voffset 2}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/rhythmbox-client --print-playing-format %tt | head -n 1`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 rhythmbox-client --print-playing-format %tt --no-start}}${font}${else}${alignc}${execi 2 rhythmbox-client --print-playing-format %tt --no-start}${font}${endif}${endif}
##################################
## BANSHEE (Experimental) ##
##################################
${if_running banshee}
${voffset -26}${font DroidSans:bold:size=7.75}${color4}BANSHEE${offset 7}${color8}${voffset -2}${hr 2}${font}
${voffset 2}${font DroidSans:size=8.25}${color3}${if_match "${execpi 2 expr length "`/usr/bin/banshee --query-title --no-present | cut -f1- -d " "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 banshee --query-title --no-present | cut -f2- -d " "}}${font}${else}${alignc}${execi 2 banshee --query-title --no-present | cut -f2- -d " "}${font}${endif}${endif}
I was trying to get rid of the "0B" indications, so that I can see only the data movement on the active network interface, eventually getting a spectrometer line in there, most likely.
** edit: I am running this on a G72 laptop with 1600 x 900 resolution, so the width has been changed from VinDSL's original script and I tightened up the lines somewhat to fit everything in.
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
Dngrsone
Sorted out part of my problem-- line-returns in the wrong places.[...]
Good job!
I see you're using the "stunted, incomplete, and dead" Google Weather API. LoL!
Me too. I haven't had to touch that thing in months -- it just works. :)
BTW, I don't know if you listen to audio, but I've had my fill of Banshee & Rhythmbox. Guayadeque is my current choice.
Here's the code, if anyone is interested...
Code:
##################################
## GUAYADEQUE (Experimental) ##
##################################
${if_running guayadeque}
${voffset -34}${font DroidSans:bold:size=8.25}${color4}GUAYADEQUE${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 12}${font DroidSans:size=9}${color3}${if_match "${execpi 2 expr length "`qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "`"}" >= "48"}${alignr 15}${scroll 38 4* ${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}}${font}${else}${alignc}${execi 2 qdbus org.mpris.guayadeque /\Player org.freedesktop.MediaPlayer.GetMetadata | grep title | cut -f2- -d" "}${font}${endif}${endif}
Re: Post your .conkyrc files w/ screenshots
Is there a 'foolproof' or 'idiot proof' way of displaying Rhythmbox album art in Conky? I've tried couple things from crunchbang forums, but it will not work. Not to mention a lot of it goes over my head.
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
davesbrain
Is there a 'foolproof' or 'idiot proof' way of displaying Rhythmbox album art in Conky? I've tried couple things from crunchbang forums, but it will not work. Not to mention a lot of it goes over my head.
Honestly? And I really, really, really hope I'm wrong here, I don't think there is a "Foolproof" or "Idiot Proof" way to do it. Not because it's naturally hard or anything, but I've seen a lot (At least 6) of posts here in this thread over the past couple months where people beg for a solution and nothing anyone tries actually works for them.
So, I THINK, though I'm not perfectly sure, that there might be a problem with the rhythmbox code at the heart of it. Nothing official, but certainly I think you wouldn't be alone in not being able to get it working. Whether that has anything to do with you being an "Idiot" or "Fool" for the code to be suited to you is probably irrelevant. It seems some rather good coders don't have perfect answers either.
Now, I'd love to have some better coders come along and give a definitive guide as to why I'm wrong on this. Because I haven't seen any answers to this in months.
Re: Post your .conkyrc files w/ screenshots
Frustrating thing is I did have it working before on 10.04. New hard drive with fresh install of 10.04-4. I was wondering if I was putting those scripts in correct directory too. /bin? And .album in my home dir. with 'allow executing..' checked. This is the one I was trying:
http://crunchbanglinux.org/forums/to...um-art/page/6/
Those weather scripts don't give me this much hassle, and those really do get tricky. Perhaps I'll try another music player. Only hang up with that is the other parts like Artist name, album name,song title work fine.
Re: Post your .conkyrc files w/ screenshots
background yes
use_xft yes
xftfont KaratDemo:size=10
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 50
maximum_width 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color 000000
default_outline_color d9d7d6
alignment tl
gap_x 65
gap_y 65
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale nobackground yes
color1 99cc33
color2 white
##############################################
# Output
##############################################
TEXT
${font KaratDemo:normal:size=10}$sysname: $kernel $alignr $machine
Host:$alignr$nodename
Uptime:$alignr$uptime
${alignc 85}${font KaratDemo:size=30}${time %l:%M}${font}
${alignc 75}${font KaratDemo Bold:size=10}${time %a %d %b %Y}
${font KaratDemo:normal:size=10}${color}CPU: ${if_match ${cpu} >0}${color1}${else}${color2}${endif}O${if_match ${cpu} >10}${color1}${else}${color2}${endif}O${if_match ${cpu} >20}${color1}${else}${color2}${endif}O${if_match ${cpu} >30}${color1}${else}${color2}${endif}O${if_match ${cpu} >40}${color1}${else}${color2}${endif}O${if_match ${cpu} >50}${color1}${else}${color2}${endif}O${if_match ${cpu} >60}${color1}${else}${color2}${endif}O${if_match ${cpu} >70}${color1}${else}${color2}${endif}O${if_match ${cpu} >80}${color1}${else}${color2}${endif}O${if_match ${cpu} >90}${color1}${else}${color2}${endif}O
${font KaratDemo:normal:size=10}${color}RAM: ${if_match ${memperc} >0}${color1}${else}${color2}${endif}O${if_match ${memperc} >10}${color1}${else}${color2}${endif}O${if_match ${memperc} >20}${color1}${else}${color2}${endif}O${if_match ${memperc} >30}${color1}${else}${color2}${endif}O${if_match ${memperc} >40}${color1}${else}${color2}${endif}O${if_match ${memperc} >50}${color1}${else}${color2}${endif}O${if_match ${memperc} >60}${color1}${else}${color2}${endif}O${if_match ${memperc} >70}${color1}${else}${color2}${endif}O${if_match ${memperc} >80}${color1}${else}${color2}${endif}O${if_match ${memperc} >90}${color1}${else}${color2}${endif}O
${font KaratDemo:bold:size=10}TOP PROCESSES:
${font KaratDemo:normal:size=10}${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} %
http://i.imgur.com/Y0EIA.jpg
Re: Post your .conkyrc files w/ screenshots
...Good Lord... CODE TAGS!!! PLEASE, FOR THE LOVE OF ALL THINGS HOLY USE SOME CODE TAGS IRCABALLERO!!!
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
davesbrain
Frustrating thing is I did have it working before on 10.04. New hard drive with fresh install of 10.04-4. I was wondering if I was putting those scripts in correct directory too. /bin? And .album in my home dir. with 'allow executing..' checked. This is the one I was trying:
http://crunchbanglinux.org/forums/to...um-art/page/6/
Those weather scripts don't give me this much hassle, and those really do get tricky. Perhaps I'll try another music player. Only hang up with that is the other parts like Artist name, album name,song title work fine.
Truthfully? I believe it all goes in your Conky directory. As in whatever folder your Conky script is in. As long as the script you save is the script you call, and the paths, spelling, and rights are the same, it should work. You shouldn't have to move anything. Maybe it's a conky version problem, maybe it's something else. Troubleshooting is a slow process that you have to go through when you're dealing with the forums. I do find it easier to help when you post all of your scripts when you ask a question. We can rule the code in or out, or make substitutions much easier when you post what YOU have here on the forum in code tags.
Personally, though I'm biased, I don't particularly like the music player code people are using in Conky. Something about it seems kinda... pointless... I guess? Personal preference in this case. Don't take it personally. Use what you want to use. But, hopefully, seeing me type these words, someone will come in and join the troubleshooting process. Keep an eye out for it!
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
davesbrain
Frustrating thing is I did have it working before on 10.04. New hard drive with fresh install of 10.04-4. I was wondering if I was putting those scripts in correct directory too. /bin? And .album in my home dir. with 'allow executing..' checked. This is the one I was trying:
http://crunchbanglinux.org/forums/to...um-art/page/6/
As i can see man makes typo all the way.
In a first script it uses "%aa" to get album title but it should be "%at" - as he do it right in second script.
Then he recommends to save script as ".getcover" (in "~/bin" - if you don't have then make it, it's handy, and then add it to BASH $PATH variable), but then, he list his conkyrc with execi to "~/bin/getcover".
No wonder some may had problem with it.
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
VinDSL
Good job!
I see you're using the "stunted, incomplete, and dead" Google Weather API. LoL!
Me too. I haven't had to touch that thing in months -- it just works. :)
Thanks, VinDSL. My only issue with the weather script is having to shuffle the spacing around to accommodate both two-and three-digit temps, which I haven't gotten to fixing quite yet. My needs are simple, and I will likely enshrinken that whole section later in favor of more top processes and maybe some spectrums for my networking. I do appreciate the script and such you have provided for everyone and I am learning a lot.
Right now I am using Banshee, supplemented by Rhythmbox (can't believe they went back to that in 12.04), but I will give Guayadeque a look-see.