By TimSchutte (Fearless
Moderator), on Sat Feb 26 20:07:35 2005: Welcome!.
Hi,
Welcome to the adesklets "Usage Problems" forum.
My name is Tim Schutte, and Sylvain, the creator of
adesklets, has asked me to moderate the forums.
I am not a programmer--I will gladly leave that task up to
Sylvain--but I am a long-time Linux user; my first
distribution was Redhat 5.1 on an Intel Pentium 100 with 64MB
of RAM in 1998, and I am presently using an Athlon 1800XP
with 256MB of RAM running Mandrake 10.1. Thanks to
programmers like Sylvain, our favorite operating system has
become much friendlier, easier to use and more visually
attractive.
Having some difficulty getting an adesklet to work? It is
probably a simple problem with the config.txt file. When I
installed the most recent version of the weather adesklet, I
could not get it to show the degree symbol. I sent a copy of
the config.txt to Sylvain, and he corrected a single line,
and voila it worked. For the
record, here is the working config.txt file:
--
# -*- coding: ISO-8859-1 -*-
#
# This is weather.py desklet configuration file; for each
desklet,
# you only have to write down the minimal delay between
updates
# (in seconds: less than 300 will be ignored),
# the location code from www.weather.com and specify True or
False for
# metric, depending if you want temperature given in Celcius
or in
# Fahrenheits.
#
# *** Update ***
#
# You can now also specify the 'temperature_prefix'. If your
system
# support the iso-latin-1 charset (and iconv support was
detected
# during adesklets compilation), you can set it to '\xb0' to
get the
# degree sign ($^\ocirc$ in LaTeX, ° in HTML
4.0.
# See `man iso_8859-1` for details). Do not forget to set
coding
# to 'ISO-8859-1' above either.
#
#
id0 = {'delay': 1800,
'location': 'USMI0423',
'metric': False,
'temperature_prefix': '\xb0'}
--
So, ask away!
Thanks,
Tim