Active Topics

 



Notices


Reply
Thread Tools
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#331
Originally Posted by nokiaqueen View Post
thanks Lolz and romiiio....romiiio I did as u said and it worked...I guess JPG needed to be capitalized...thanks a bunches
If the filename extension for the wallpaper image(s) is '.JPG' and not '.jpg', yes. This is *nix after all, being case-sensitive on file systems.
 
Posts: 52 | Thanked: 42 times | Joined on Jan 2010 @ Bulgaria
#332
Originally Posted by sakya View Post
You're right. I didn' think the date would change.
To solve this issue just set an explicit size in the config file for the datetime widget. The default config file of the next version will be fixed.
So in the end it is more of an ini file issue.
Thank you - I'll try that right away.
__________________
N900 Bulgarian localization
 
Posts: 112 | Thanked: 105 times | Joined on Mar 2010 @ Montpellier, FRANCE
#333
Hi all

Finally I've made a script for add weather from yahoo on the lockscreen and now i share with you before sakya make a "widget".

@sakya I've started to write lsweather.h lsweather.cpp, but I'm a beginner in c++.

Requires:
- wget for downloading html file and image file
- ImageMagick for making the image, install it via apt-get, or in HAM select categories "All packages (Advanced)" and install it
- Alarmed, for add a cron task for automatic refresh, install it via apt-get

in xterm:
Code:
sudo gainroot
apt-get install alarmed imagemagick wget
Now in attachment extract "weather.sh" in /home/user/WHEREYOUWANT/, but not in MyDocs.

Finally open weather.sh and modify it

1/ Line 42: url of yahooweather for your contry copy an past from your browser
2/ Line 55: unit for the text "°C"
3/ Line 57: 58: string "Max: " and "Min: "
4/ Line 62: Font, size color and position for the text and its stroke
5/ Line 33: Check path for making and storing image file, make sure user can be write in it
Code:
sudo gainroot
chown user:users "/home/user/YourPath"
info: yahooweather use a png file its size is 250x180.
read convert documentation http://imagemagick.org/script/index.php

6/ add in your qtlockscreen.ini
modify xx for matching your number off "widget"
[Main]
....
Widgets\xx\Name="Image.Weather"
Widgets\Size=xx

[Weather]
Image="/home/user/apps/QtLockscreen/Weather.png"
SizeP="250;180"
SizeL="250;180"
PosL="0;0"
PosP="0;0"

Make it executable and run it, in xterm:
Code:
chmod +x /home/user/WHEREYOUWANT/weather.sh
/home/user/WHEREYOUWANT/weather.sh
7/ Open alarmed, add a new event
Title: "Yahhoo Weather for QtLockScreen"
Type: command execution, " /home/user/WHEREYOUWANT/weather.sh"
Cron String for updating every 2 hours: "* */2 * * *"
Click Save Event


That's all, i hope you like it .

Sorry for my English I'm French, in weather.sh, script it's fully documented in french.
Attached Images
  
Attached Files
File Type: zip weather.zip (1.4 KB, 172 views)

Last edited by GaRy delaMEr; 2011-07-28 at 14:08. Reason: More info
 

The Following 8 Users Say Thank You to GaRy delaMEr For This Useful Post:
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#334
Originally Posted by GaRy delaMEr View Post
Hi all

Finally I've made a script for add weather from yahoo on the lockscreen and now i share with you before sakya make a "widget".

@sakya I've started to write lsweather.h lsweather.cpp, but I'm a beginner in c++.





That's all, i hope you like it .

Sorry for my English I'm French, in weather.sh, script it's fully documented in french.
I think we already had that... Look in my signature, mate

Edit:
Although it is really better with this Lockscreen, as with the normal one.
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
 

The Following User Says Thank You to Alfred For This Useful Post:
Posts: 112 | Thanked: 105 times | Joined on Mar 2010 @ Montpellier, FRANCE
#335
Originally Posted by Alfred View Post
I think we already had that... Look in my signature, mate

Edit:
Although it is really better with this Lockscreen, as with the normal one.
Hi Alfred

yess i see your post, and it inspire me for making my own for qtLockScreen thank's for your post and your script.
 
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#336
Originally Posted by GaRy delaMEr View Post
Hi Alfred

yess i see your post, and it inspire me for making my own for qtLockScreen thank's for your post and your script.
Thank You!
as i understood it just prints the weather on the "lockslider.png" or whatever my background file is, right?
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
 
Posts: 112 | Thanked: 105 times | Joined on Mar 2010 @ Montpellier, FRANCE
#337
Not yours background.

In fact the background is the yahooweather png file (use too in QBW), and i parse the html file too, for making text on this image this why i need wget for downloding html file and png file.

Next step qtLockScreen permit to put this image where you want on the qtlockscreen.
 

The Following User Says Thank You to GaRy delaMEr For This Useful Post:
Loz's Avatar
Posts: 127 | Thanked: 49 times | Joined on Nov 2010 @ Ipswich, Uk
#338
Well I have to thank all that helped with getting my lock screen sorted yesterday.. I sighned off a little early but myself and eefo were behind the scenes sorting it... so many thanks to eefo and I will be going back though the thread to thank others too. I will be posting the end result as I think after all the work to sort out paths.. its worth it when others can see the end result.

Also just catching the talk about putting the weather widget on the lock screen well I like that idea...its good to see the N900 being constantly updated... as I said i a previous post, the I Phone 4 after jail break looks fantastic... and there weather apps kinda makes ours look feeble in comparison.

I I was up on this linux thing id be on it like a rash.

Anyway thanks all... will be watchinh this thread!..
__________________
SGS3 unlocked and rooted, N900 @ 1100 MHz Poetry in motion.( When it works! )

Audiophile real hi end hifi lover: Revolver Rebel turntable Ortofon CMBPRO stylus, Arcam FMJ MS250 Media server, Krell KRC-2 Analogue pre amp, DENON UDRA-70 sub amp, Harmon Kardon EQ8 eq.
ECS EA1 mono block amps x2, Tannoy M3, Tannoy ST50 super tweeters.
Tannoy 625 Alfie Sub, Revo iblik Wifi reflashed now with DAB. Pure Sound


Dont steal, the govenment hates the compitition.

www.vacrite.co.uk
 
NightShift79's Avatar
Posts: 417 | Thanked: 200 times | Joined on Apr 2010 @ Germany
#339
My 0.2 version of the fringe lockscreen.
(initial release)



seriously hope for a userfriendly GUI for this qtlockscreen.
also I got tons of feature wishes

Copy following files:
- QtLockscreen.ini to
Code:
/home/user/.config/sakya
- the .pngs to
Code:
/etc/hildon/theme/backgrounds
- the font to
Code:
/opt/usr/share/fonts
- now head to XTerminal and
Code:
 killall qtlockscreen
The new Lockscreen should be active.
Attached Files
File Type: zip fringe-lockscreen-v0_2.zip (461.0 KB, 197 views)

Last edited by NightShift79; 2011-07-30 at 09:06.
 

The Following 2 Users Say Thank You to NightShift79 For This Useful Post:
Posts: 185 | Thanked: 49 times | Joined on Apr 2010 @ The Netherlands
#340
Is it possible to remove the text from the notification icons and just show the icon only. for example the text: "1 unread message"
 
Reply


 
Forum Jump


All times are GMT. The time now is 05:47.