maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] QtLockscreen: highly configurable lockscreen replacement (https://talk.maemo.org/showthread.php?t=75150)

don_falcone 2011-07-28 08:26

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Quote:

Originally Posted by nokiaqueen (Post 1059534)
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.

todor_tsankov 2011-07-28 09:31

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Quote:

Originally Posted by sakya (Post 1059773)
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.

GaRy delaMEr 2011-07-28 14:01

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
3 Attachment(s)
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 :D.

Sorry for my English I'm French, in weather.sh, script it's fully documented in french.

Alfred 2011-07-28 14:16

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Quote:

Originally Posted by GaRy delaMEr (Post 1060012)
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 :D.

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:D

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

GaRy delaMEr 2011-07-28 14:20

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Quote:

Originally Posted by Alfred (Post 1060026)
I think we already had that... Look in my signature, mate:D

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 2011-07-28 14:30

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Quote:

Originally Posted by GaRy delaMEr (Post 1060028)
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?

GaRy delaMEr 2011-07-28 14:55

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
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.

Loz 2011-07-28 19:13

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
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!..

NightShift79 2011-07-30 06:46

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
1 Attachment(s)
My 0.2 version of the fringe lockscreen.
(initial release) :)

http://img233.imageshack.us/img233/2...ckpprev.th.png http://img577.imageshack.us/img577/2...3008383.th.png

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.

Zekahz 2011-07-30 09:34

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Is it possible to remove the text from the notification icons and just show the icon only. for example the text: "1 unread message"


All times are GMT. The time now is 07:26.

vBulletin® Version 3.8.8