Motorhead Kaze
September 3rd, 2009, 09:33 AM
Hope that "desktop environs" is the place for a Conky question...
Hi! I just installed a conky on my desktop, and pretty happy with the results. The only problem is that it says Osaka is 29A°C but I am pretty sure it isn't "A degrees Celsius". The "A" in there has an accent mark over it too. I looked at the script for a long time but cannot figure out what is up. I am assuming that this is in the conkyForecast.config file, but not sure, so please don't mind me while I post that, and then the conkymain (conkyrc) script after it. Any suggestions on how to fix the font weirdness?
Thanks
# config settings for conkyForecast.py
CACHE_FOLDERPATH = /tmp/
CONNECTION_TIMEOUT = 5
EXPIRY_MINUTES = 30
TIME_FORMAT = %H:%M
DATE_FORMAT = %Y-%m-%d
LOCALE = JAXX0071
XOAP_PARTNER_ID = 1136396730
XOAP_LICENCE_KEY = 8a8043f277b8db61
MAXIMUM_DAYS_FORECAST = 7
#BASE_XOAP_URL = http://xoap.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m
BASE_XOAP_URL = http://xml.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m
# 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_hints undecorated,below,skip_taskbar
background no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft yes
# Update interval in seconds
update_interval 3.0
# Minimum size of text area
minimum_size 400 5
# Draw shades?
draw_shades yes
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors, grey90 == #e5e5e5
default_color white
default_shade_color black
default_outline_color white
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 10
gap_y 10
# stuff after 'TEXT' will be formatted on screen
override_utf8_locale no
xftfont Terminus:size=8
xftalpha 0.8
TEXT
${offset 240}${color slate grey}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Time ${font}
${offset 240}${color slate grey}${time %a, } ${color }${time %e %B %G}
${offset 240}${color slate grey}${time %Z, }${color }${time %H:%M:%S}
${offset 240}${color slate grey}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Osaka ${font}
${offset 240}${font Weather:size=36}${execi 1800 conkyForecast --location=JAXX0071 --datatype=WF}$font
${offset 240}${font Arial:bold:size=10}${color #ddaa00}${execi 1800 conkyForecast --location=JAXX0071 --datatype=HT}$font
${offset 240}${color3}Wind: ${execi 1800 conkyForecast --location=JAXX0071 --datatype=WS}
${offset 240}${color3}Humidity: ${execi 1800 conkyForecast --location=JAXX0071 --datatype=HM}
${offset 240}${color3}Precipitation: ${execi 1800 conkyForecast --location=JAXX0071 --datatype=PC}
${offset 240}${color3}Sunrise: ${execi 1800 conkyForecast --location=JAXX0071 --datatype=SR}
${offset 240}Sunset: ${execi 1800 conkyForecast --location=JAXX0071 --datatype=SS}$color
${offset 240}${color slate grey}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Seattle ${font}
${offset 240}${font Weather:size=36}${execi 1800 conkyForecast --location=USWA0395 --datatype=WF}$font
${offset 240}${font Arial:bold:size=10}${color #ddaa00}${execi 1800 conkyForecast --location=JAXX0071 --datatype=HT}$font
${offset 240}${color3}Wind: ${execi 1800 conkyForecast --location=USWA0395 --datatype=WS}
${offset 240}${color3}Humidity: ${execi 1800 conkyForecast --location=USWA0395 --datatype=HM}
${offset 240}${color3}Precipitation: ${execi 1800 conkyForecast --location=USWA0395 --datatype=PC}
${offset 240}${color3}Sunrise: ${execi 1800 conkyForecast --location=USWA0395 --datatype=SR}
${offset 240}Sunset: ${execi 1800 conkyForecast --location=USWA0395 --datatype=SS}$color
${offset 240}${color slate grey}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}System ${font}
${offset 240}${color slate grey}UpTime: ${color }$uptime
${offset 240}${color slate grey}Kern:${color }$kernel
${offset 240}${color slate grey}CPU:${color } $cpu% ${acpitemp}C
${offset 240}${color slate grey}Load: ${color }$loadavg
${offset 240}${color slate grey}Processes: ${color }$processes
${offset 240}${color slate grey}Running: ${color }$running_processes
${offset 240}${color slate grey}HIGHEST CPU:
${offset 240}${color #ddaa00} ${top name 1}${top_mem cpu 1}
${offset 240}${color lightgrey} ${top name 2}${top cpu 2}
${offset 240}${color lightgrey} ${top name 3}${top cpu 3}
${offset 240}${color lightgrey} ${top name 4}${top cpu 4}
${offset 240}${color slate grey}HIGHEST MEM:
${offset 240}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${offset 240}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${offset 240}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${offset 240}${color lightgrey} ${top_mem name 4}${top_mem mem 4}
${offset 240}${color slate grey}MEM: ${color } $memperc% $mem/$memmax
${offset 240}${membar 3,100}
${offset 240}${color slate grey}ROOT: ${color }${fs_free /}/${fs_size /}
${offset 240}${fs_bar 3,100 /}
${offset 240}${color slate grey}HOME: ${color }${fs_free /home}/${fs_size /home}
${offset 240}${fs_bar 3,100 /home}
${offset 240}${color slate grey}NET:
${offset 240}${color}Up: ${color }${upspeed eth0} k/s
${offset 240}${upspeedgraph eth0 20,130 000000 ffffff}
${offset 240}${color}Down: ${color }${downspeed eth0}k/s${color}
${offset 240}${downspeedgraph eth0 20,130 000000 ffffff}
${offset 240}${color slate grey}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Music ${font}
${execp conkyRhythmbox --template=/usr/share/conkyrhythmbox/example/conkyRhythmbox.template}
Hi! I just installed a conky on my desktop, and pretty happy with the results. The only problem is that it says Osaka is 29A°C but I am pretty sure it isn't "A degrees Celsius". The "A" in there has an accent mark over it too. I looked at the script for a long time but cannot figure out what is up. I am assuming that this is in the conkyForecast.config file, but not sure, so please don't mind me while I post that, and then the conkymain (conkyrc) script after it. Any suggestions on how to fix the font weirdness?
Thanks
# config settings for conkyForecast.py
CACHE_FOLDERPATH = /tmp/
CONNECTION_TIMEOUT = 5
EXPIRY_MINUTES = 30
TIME_FORMAT = %H:%M
DATE_FORMAT = %Y-%m-%d
LOCALE = JAXX0071
XOAP_PARTNER_ID = 1136396730
XOAP_LICENCE_KEY = 8a8043f277b8db61
MAXIMUM_DAYS_FORECAST = 7
#BASE_XOAP_URL = http://xoap.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m
BASE_XOAP_URL = http://xml.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m
# 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_hints undecorated,below,skip_taskbar
background no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft yes
# Update interval in seconds
update_interval 3.0
# Minimum size of text area
minimum_size 400 5
# Draw shades?
draw_shades yes
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors, grey90 == #e5e5e5
default_color white
default_shade_color black
default_outline_color white
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 10
gap_y 10
# stuff after 'TEXT' will be formatted on screen
override_utf8_locale no
xftfont Terminus:size=8
xftalpha 0.8
TEXT
${offset 240}${color slate grey}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Time ${font}
${offset 240}${color slate grey}${time %a, } ${color }${time %e %B %G}
${offset 240}${color slate grey}${time %Z, }${color }${time %H:%M:%S}
${offset 240}${color slate grey}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Osaka ${font}
${offset 240}${font Weather:size=36}${execi 1800 conkyForecast --location=JAXX0071 --datatype=WF}$font
${offset 240}${font Arial:bold:size=10}${color #ddaa00}${execi 1800 conkyForecast --location=JAXX0071 --datatype=HT}$font
${offset 240}${color3}Wind: ${execi 1800 conkyForecast --location=JAXX0071 --datatype=WS}
${offset 240}${color3}Humidity: ${execi 1800 conkyForecast --location=JAXX0071 --datatype=HM}
${offset 240}${color3}Precipitation: ${execi 1800 conkyForecast --location=JAXX0071 --datatype=PC}
${offset 240}${color3}Sunrise: ${execi 1800 conkyForecast --location=JAXX0071 --datatype=SR}
${offset 240}Sunset: ${execi 1800 conkyForecast --location=JAXX0071 --datatype=SS}$color
${offset 240}${color slate grey}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Seattle ${font}
${offset 240}${font Weather:size=36}${execi 1800 conkyForecast --location=USWA0395 --datatype=WF}$font
${offset 240}${font Arial:bold:size=10}${color #ddaa00}${execi 1800 conkyForecast --location=JAXX0071 --datatype=HT}$font
${offset 240}${color3}Wind: ${execi 1800 conkyForecast --location=USWA0395 --datatype=WS}
${offset 240}${color3}Humidity: ${execi 1800 conkyForecast --location=USWA0395 --datatype=HM}
${offset 240}${color3}Precipitation: ${execi 1800 conkyForecast --location=USWA0395 --datatype=PC}
${offset 240}${color3}Sunrise: ${execi 1800 conkyForecast --location=USWA0395 --datatype=SR}
${offset 240}Sunset: ${execi 1800 conkyForecast --location=USWA0395 --datatype=SS}$color
${offset 240}${color slate grey}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}System ${font}
${offset 240}${color slate grey}UpTime: ${color }$uptime
${offset 240}${color slate grey}Kern:${color }$kernel
${offset 240}${color slate grey}CPU:${color } $cpu% ${acpitemp}C
${offset 240}${color slate grey}Load: ${color }$loadavg
${offset 240}${color slate grey}Processes: ${color }$processes
${offset 240}${color slate grey}Running: ${color }$running_processes
${offset 240}${color slate grey}HIGHEST CPU:
${offset 240}${color #ddaa00} ${top name 1}${top_mem cpu 1}
${offset 240}${color lightgrey} ${top name 2}${top cpu 2}
${offset 240}${color lightgrey} ${top name 3}${top cpu 3}
${offset 240}${color lightgrey} ${top name 4}${top cpu 4}
${offset 240}${color slate grey}HIGHEST MEM:
${offset 240}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${offset 240}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${offset 240}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${offset 240}${color lightgrey} ${top_mem name 4}${top_mem mem 4}
${offset 240}${color slate grey}MEM: ${color } $memperc% $mem/$memmax
${offset 240}${membar 3,100}
${offset 240}${color slate grey}ROOT: ${color }${fs_free /}/${fs_size /}
${offset 240}${fs_bar 3,100 /}
${offset 240}${color slate grey}HOME: ${color }${fs_free /home}/${fs_size /home}
${offset 240}${fs_bar 3,100 /home}
${offset 240}${color slate grey}NET:
${offset 240}${color}Up: ${color }${upspeed eth0} k/s
${offset 240}${upspeedgraph eth0 20,130 000000 ffffff}
${offset 240}${color}Down: ${color }${downspeed eth0}k/s${color}
${offset 240}${downspeedgraph eth0 20,130 000000 ffffff}
${offset 240}${color slate grey}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Music ${font}
${execp conkyRhythmbox --template=/usr/share/conkyrhythmbox/example/conkyRhythmbox.template}