Active Topics

 


Reply
Thread Tools
Posts: 226 | Thanked: 270 times | Joined on Apr 2012 @ Bosnia and Herzegovina
#31
It looks really nice...but only thing I like about HTC weather widget are these weather icons, so my idea was to make one big weather icon on desktop and lockscreen without having two clocks on it.
 

The Following 2 Users Say Thank You to dzano For This Useful Post:
Posts: 138 | Thanked: 90 times | Joined on Mar 2012
#32
Originally Posted by dzano View Post
5. Edit /home/user/imagemagick/weather.sh
@dzano, I have edited a file weather.sh so that showed in Russian, but on lockscreen weather continues to display the text in English. How it can be changed???
Code:
-page +580+410 -background transparent -fill grey -font fonts/tahoma.ttf -pointsize 20 -strokewidth 1  -stroke white  label:"Влажность: $h%" \
-page +580+435 -background transparent -fill grey -font fonts/tahoma.ttf -pointsize 20 -strokewidth 1  -stroke white  label:"Давление: $p hPa" \
-page +580+385 -background transparent -fill grey -font fonts/tahoma.ttf -pointsize 20 -strokewidth 1  -stroke white  label:"По ощущению: $e°" \
-page +45+440 -background transparent -fill grey -font fonts/tahoma.ttf -pointsize 15 -strokewidth 1  -stroke white  label:"Восход/Заход: $r / $s" \
Attached Files
File Type: zip weather.zip (920 Bytes, 59 views)
 
Posts: 226 | Thanked: 270 times | Joined on Apr 2012 @ Bosnia and Herzegovina
#33
Can you please upload screeshot? I'll check it out later. thanks
 

The Following User Says Thank You to dzano For This Useful Post:
Posts: 138 | Thanked: 90 times | Joined on Mar 2012
#34
Originally Posted by dzano View Post
Can you please upload screeshot? I'll check it out later. thanks
 

The Following User Says Thank You to Tiran For This Useful Post:
Posts: 226 | Thanked: 270 times | Joined on Apr 2012 @ Bosnia and Herzegovina
#35
You have to change fonts if you want to use cyrillic...and thats this part here:

-page +45+440 -background transparent -fill grey -font fonts/tahoma.ttf -pointsize 15 -strokewidth 1 -stroke white label:"Восход/Заход: $r / $s" \

You can find it in: /home/user/imagemagick/fonts/

But I would not recomend you to do that because this "Light Drizzle" part can not be translated to other language.

ps. Are you sure you have replaced weather.sh with edited one? After you edit it...run script again:

opet xterminal

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

Last edited by dzano; 2012-12-11 at 15:50.
 

The Following User Says Thank You to dzano For This Useful Post:
Posts: 138 | Thanked: 90 times | Joined on Mar 2012
#36
Originally Posted by dzano View Post
ps. Are you sure you have replaced weather.sh with edited one?
YES!
Originally Posted by dzano View Post
After you edit it...run script again:

opet xterminal

root
sh /home/user/imagemagick/weather.sh
I all over again in a file weather.sh have replaced only yours BKXX0004 with mine RSXX1323. After that has made:
Code:
root
 sh /home/user/imagemagick/weather.sh
Later has decided to translate the text lockscreen from English on Russian. Then has again made:
Code:
root
 sh /home/user/imagemagick/weather.sh
but the text has remained in English.
 
Posts: 226 | Thanked: 270 times | Joined on Apr 2012 @ Bosnia and Herzegovina
#37
It's impossible. Did you run that script again using xterminal?
 
Posts: 138 | Thanked: 90 times | Joined on Mar 2012
#38
Set of icons by Wazd Atmos Iconset 0.12
 

The Following User Says Thank You to Tiran For This Useful Post:
Posts: 226 | Thanked: 270 times | Joined on Apr 2012 @ Bosnia and Herzegovina
#39
UPDATE on THIS post:This is updated version of QB widget and weather.sh script. It uses less CPU and checks for OMWeather updates every 30min instead of 1 hour.

weather.sh - copy to /home/user/imagemagick/
Lockscreen widget - import to QB
 

The Following 2 Users Say Thank You to dzano For This Useful Post:
Posts: 155 | Thanked: 82 times | Joined on Mar 2012 @ Australia
#40
@ dzano

It is possible to xxxxxxx.xml from omweather to make the old yahoo weather widget work? I like how the old Yahoo widget use to display the temp, then below the hi temp and low temp like the image on the first page. Your HTC Weather 3 widget is close but only displays temp no hi or low temp. Anyway could it be possible?
__________________
1. N900 + CSSU Thumb
2. N900 + KP51, CSSU Thumb, Meecolay
 
Reply

Tags
nokia n900, weather


 
Forum Jump


All times are GMT. The time now is 00:16.