maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   [N900] Another lockscreen weather (https://talk.maemo.org/showthread.php?t=88819)

dzano 2013-01-27 19:22

[N900] Another lockscreen weather
 
This is my 3rd thread about weather stuff...I just like it, not obsessed :)

OK, it looks like this:

http://www.fileden.com/files/2007/9/...127-165635.png

http://www.fileden.com/files/2007/9/...127-165943.png

http://www.fileden.com/files/2007/9/...127-184310.png

http://www.fileden.com/files/2007/9/...127-184831.png

1. It works with OMWeather, so you need to install and configure it.

2. Install imagemagick from extras.
Code:

root
apt-get install imagemagick

3. Download THIS and extract to /home/user/imagemagick/

4. open Xterminal:
Code:

root
chmod 777 /home/user/imagemagick/*

5. Edit /home/user/imagemagick/weather.sh

(change name of XXXXXXXX.xml file)

6. To make it update automaticaly (every 30min), make new QBWidget and import THIS

To update it manualy, you can do:

Code:

root
sh /home/user/imagemagick/weather.sh


Hope you'll like it.
Thanks

woody14619 2013-01-28 17:04

Re: [N900] Another lockscreen weather
 
Very nice work. I especially like that it uses OMWeather instead of some other weather source. I had to update my old scripts to use another weather source once yahoo changed it's template format one too many times. Using and existing pull is a lot cleaner. Thanks!

dzano 2013-01-28 18:38

Re: [N900] Another lockscreen weather
 
As you may already know, that script was my inspiration to make THIS, so it wouldn't depend on yahoo weather but still has same icons. Thanks

HELLASISGREECE 2013-01-28 18:59

Re: [N900] Another lockscreen weather
 
woah! s*** just got real

awesome work duder

hycraig 2013-02-03 09:46

Re: [N900] Another lockscreen weather
 
hi there first of all great lockscreen
but im having a problem getting it to display as it should i've followed instructions 2-3 times now with same outcome.
all i get is the main black background the icicle in the top right corner with no other stuff displayed no writing or anything.
is there anything anyone can suggest i try or check?
thanks

jurop88 2013-02-03 11:07

Re: [N900] Another lockscreen weather
 
Some inconsistencies with my OmWeather xml files, but nothing that can't be adjusted with some small script modifications. Thanks a lot, that's a really nice one!

@hycraig - did you already tried to issue the ./weather.sh command via terminal? If not, try it and look at the outcome. Bump again for any help

dzano 2013-02-03 11:47

Re: [N900] Another lockscreen weather
 
Quote:

Originally Posted by hycraig (Post 1320318)
hi there first of all great lockscreen
but im having a problem getting it to display as it should i've followed instructions 2-3 times now with same outcome.
all i get is the main black background the icicle in the top right corner with no other stuff displayed no writing or anything.
is there anything anyone can suggest i try or check?
thanks

As jurop88 sugested, try to run weather.sh via terminal, BUT before every run you have to open /home/user/imagemagick/check.txt and erase everything in it. (that would mean that weather has changed and script will do its job)

hycraig 2013-02-03 11:48

Re: [N900] Another lockscreen weather
 
Quote:

Originally Posted by jurop88 (Post 1320341)
@hycraig - did you already tried to issue the ./weather.sh command via terminal? If not, try it and look at the outcome. Bump again for any help

i just updated the weather now it looks more like its not displayed in the correct position?
http://i47.tinypic.com/2zofz9y.png

hycraig 2013-02-03 11:56

Re: [N900] Another lockscreen weather
 
Quote:

Originally Posted by dzano (Post 1320347)
As jurop88 sugested, try to run weather.sh via terminal, BUT before every run you have to open /home/user/imagemagick/check.txt and erase everything in it. (that would mean that weather has changed and script will do its job)

heres what i get

Quote:

/home/user/imagemagick$ ./weather.sh
sh: gs: not found
sh: gs: not found
convert: unable to read font `fonts/tahoma.ttf' @ warning/annotate.c/RenderType/807.
convert: unable to read font `/usr/lib/ImageMagick-6.6.0/config//usr/share/fonts/type1/gsfonts/n019003l.pfb' @ error/annotate.c/RenderFreetype/1044.
convert: Postscript delegate failed `/var/tmp/magick-XXu98UMH': /magick-XXicJPvJ.cache @ error/ps.c/ReadPSImage/766.
sh: gs: not found
sh: gs: not found
convert: unable to read font `fonts/tahoma.ttf' @ warning/annotate.c/RenderType/807.
convert: unable to read font `/usr/lib/ImageMagick-6.6.0/config//usr/share/fonts/type1/gsfonts/n019003l.pfb' @ error/annotate.c/RenderFreetype/1044.
convert: Postscript delegate failed `/var/tmp/magick-XXAushhR': /magick-XXmkkMAV.cache @ error/ps.c/ReadPSImage/766.
sh: gs: not found
sh: gs: not found
convert: unable to read font `fonts/tahoma.ttf' @ warning/annotate.c/RenderType/807.
convert: unable to read font `/usr/lib/ImageMagick-6.6.0/config//usr/share/fonts/type1/gsfonts/n019003l.pfb' @ error/annotate.c/RenderFreetype/1044.
convert: Postscript delegate failed `/var/tmp/magick-XXSddJxa': /magick-XXA3ZwCh.cache @ error/ps.c/ReadPSImage/766.
sh: gs: not found
sh: gs: not found
convert: unable to read font `fonts/tahoma.ttf' @ warning/annotate.c/RenderType/807.
convert: unable to read font `/usr/lib/ImageMagick-6.6.0/config//usr/share/fonts/type1/gsfonts/n019003l.pfb' @ error/annotate.c/RenderFreetype/1044.
convert: Postscript delegate failed `/var/tmp/magick-XXF4pF7v': /magick-XXuzcdfy.cache @ error/ps.c/ReadPSImage/766.
sh: gs: not found
sh: gs: not found
convert: unable to read font `fonts/tahoma.ttf' @ warning/annotate.c/RenderType/807.
convert: unable to read font `/usr/lib/ImageMagick-6.6.0/config//usr/share/fonts/type1/gsfonts/n019003l.pfb' @ error/annotate.c/RenderFreetype/1044.
convert: Postscript delegate failed `/var/tmp/magick-XXzh3hpF': /magick-XXkkQWiI.cache @ error/ps.c/ReadPSImage/766.
sh: gs: not found
sh: gs: not found
convert: unable to read font `fonts/tahoma.ttf' @ warning/annotate.c/RenderType/807.
convert: unable to read font `/usr/lib/ImageMagick-6.6.0/config//usr/share/fonts/type1/gsfonts/n019003l.pfb' @ error/annotate.c/RenderFreetype/1044.
convert: Postscript delegate failed `/var/tmp/magick-XXhe5pXS': /magick-XXCt9UMY.cache @ error/ps.c/ReadPSImage/766.
thanks

dzano 2013-02-03 12:02

Re: [N900] Another lockscreen weather
 
Please send me yours xxxxxxx.xml file.

Did you chmod 777 all files?
Code:

root
chmod 777 /home/user/imagemagick/*

Did you edited weather.sh using windows notepad? (don't do that)


All times are GMT. The time now is 14:37.

vBulletin® Version 3.8.8