maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Weather lockscreen and widget..it works now. (https://talk.maemo.org/showthread.php?t=88137)

dzano 2012-12-05 18:51

Weather lockscreen and widget..it works now.
 
Hello everyone..

this is collection of HTC weather images:

Weather Icons

Can anyone help me with Queen Beecon widget command so it would read number of icon from this file:

/home/user/apps/omweather/XXXXXXX.xml

and according to that number, it would show weather image on desktop...to look something like this:

http://www.fileden.com/files/2007/9/18/1440420/aaa.jpg

Wikiwide 2012-12-05 22:58

Re: HTC weather widget..help
 
Bumping...
Best wishes.

dzano 2012-12-05 23:05

Re: HTC weather widget..help
 
I have made some progress...I think it's gonna be on my desktop tomorrow. I'll let you know...

dzano 2012-12-06 02:10

Re: HTC weather widget..help
 
OK, I made it...its working pretty good for my "first script":)
Lots of things can be improved but I dont know better.

Haven't find place on my desktop for it yet...but it looks like this:

http://www.fileden.com/files/2007/9/...206-033904.png


-It works with OMWeather app. so you need to have it installed and configured.

-go to: /home/user/apps/omweather/ and search for XXXXXXXX.xml file. You will need it's name to make Queen Beecon widget work for you. (for Sarajevo its: BKXX0004.xml)

-download QB widget: HTC Weather
and edit this line:

instanceCmd=prognoza="$(tail -316 /home/user/apps/omweather/BKXX0004.xml (just change .xml file name)

-download Weather icons
and extract icons to /home/user/MyDocs/.Weather/

-open Xterminal:
Code:

root
chmod 777 /home/user/MyDocs/.Weather/*

-make new QBWidget and import HTC Weather.txt to Beecon

cheers

uros 2012-12-06 06:21

Re: HTC weather widget..it works now.
 
Tnx nice work.

Hvala komšo, dobra ideja. Živeli

dzano 2012-12-06 12:59

Re: HTC weather widget..it works now.
 
Now it would be nice to place it on lockscreen. :)

Kakav si komso..radi li ovo kod tebe, jesi li probao? Pozz

uros 2012-12-06 17:08

Re: HTC weather widget..it works now.
 
Let`s see, during weekend, is good time to play with widget and qtlockscreen, why not. Another idea, conkywx...

Dobro smo prijatelju, samo gužva na poslu, pa trči deci i tako u krug.

Tiran 2012-12-06 19:29

Re: HTC weather widget..help
 
1 Attachment(s)
Quote:

Originally Posted by dzano (Post 1301770)
OK, I made it...its working pretty good for my "first script":)
Lots of things can be improved but I dont know better.

Haven't find place on my desktop for it yet...but it looks like this: ........

Forgive for bad English!
Has made all under the instruction. But at me shows only an icon without a text conclusion of the weather information????

Tiran 2012-12-06 21:43

Re: HTC weather widget..it works now.
 
Quote:

Originally Posted by dzano (Post 1301770)
-download Weather icons
and extract icons to /home/user/MyDocs/.Weather/

I did not have a folder .Weather in /home/user/MyDocs/
I in FileBox have created it and have unpacked in it Weather icons.
Then has entered:
Code:

root
chmod 777 /home/user/MyDocs/.Weather/*

Where still there could be a folder .Weather? Can for this reason at me QBW shows only an icon?

dzano 2012-12-06 22:35

Re: HTC weather widget..help
 
Quote:

Originally Posted by Tiran (Post 1301986)
Forgive for bad English!
Has made all under the instruction. But at me shows only an icon without a text conclusion of the weather information????

Hello. You did it right, there is no text. I'm not so good with this scripting but I will try tomorrow to make some text...like current temp.


All times are GMT. The time now is 11:18.

vBulletin® Version 3.8.8