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-08-24 08:45

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Anti-aliasing.

sada11 2011-08-24 19:39

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
How can I complete delete qtlockscreen with the settings and other things, because I have a problem when I reinstall it every time stay the same settings. precisely in what is another folders located configuration of qtlockscreen etc.

end2begin 2011-08-25 09:24

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
With the new update 0.1.11 the problem with the date being displayed in the wrong language when using the Locale option has be solved. Just thought I would mention it.

J4ZZ 2011-08-25 10:49

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

Originally Posted by sakya (Post 1075172)
Is just the autostart script that fails (I think this is the case)?
Does the lockscreen work if executed manually?
Code:

/usr/bin/qtlockscreen &
If so, the problem is just the script
Code:

start on started hildon-desktop

respawn

script
  exec su - user -c "exec /usr/bin/qtlockscreen"
end script


Hi there,
sorry I totally missed your answer.

This is my output:
Code:

login as: root
root@10.161.3.1's password:
IroN900:~# /usr/bin/qtlockscreen &
[1] 18174

What happens is, that "enhanced lockscreen" gets loaded but without wallpaper and slider icon. Funny thing is, enhanced lockscreen isn't even installed anymore ;)

Any other ideas?

Greetz,

J4ZZ

laith.m.y 2011-08-25 11:39

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
@ sakya

any chance to make the Time widget something like this ?

Code:

[time]
TimeFormat="h:mm" choose between h:mm or hh:mm
TimeAP="Yes"  choose between Yes or No
TimeFont=";40;normal;0"
APFont=";15;normal;0"
TimeColor="255;255;255;255"
APColor="109;145;255;255"

so we can make Time widget with time and AP (AM , AP) on the same line with different font size and color , because with the current time widget we need to make 2 time widgets to obtain time and AP with different font size so when the time is something like 1:11 it will be far from AP widget and when the time is like 12:00 it will be near the AP widget

don_falcone 2011-08-25 12:03

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

Originally Posted by laith.m.y (Post 1076377)
@ sakya

any chance to make the Time widget something like this ?

Code:

[time]
TimeFormat="h:mm" choose between h:mm or hh:mm
TimeAP="Yes"  choose between Yes or No
TimeFont=";40;normal;0"
APFont=";15;normal;0"
TimeColor="255;255;255;255"
APColor="109;145;255;255"

so we can make Time widget with time and AP (AM , AP) on the same line with different font size and color , because with the current time widget we need to make 2 time widgets to obtain time and AP with different font size so when the time is something like 1:11 it will be far from AP widget and when the time is like 12:00 it will be near the AP widget

Ok if that goes in (which will need themes to adapt), i suggest changing the last remaining TextAlignment to TextPosition at the same time too :D

bitrocky 2011-08-25 12:07

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
hi sakya,

could you add support for displaying of german umlauts (äöü)?
Cause I changed the weatherwidget.sh to use the german yahoo site to have german weather conditions, and its very cloudy ("bewölkt" in german) these days here in berlin;)
I also added "caching" of the conditions/min/max values, because if qtlockscreen calls weatherwidget.sh when the phone isn't online I only saw the weather image and no temperatues...

btw, are there any known bugs with the wifi widget?
Cause its not always visible when it should be...

laith.m.y 2011-08-25 13:47

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

Originally Posted by laith.m.y (Post 1076377)
@ sakya

any chance to make the Time widget something like this ?

Code:

[time]
TimeFormat="h:mm" choose between h:mm or hh:mm
TimeAP="Yes"  choose between Yes or No
TimeFont=";40;normal;0"
APFont=";15;normal;0"
TimeColor="255;255;255;255"
APColor="109;145;255;255"

so we can make Time widget with time and AP (AM , AP) on the same line with different font size and color , because with the current time widget we need to make 2 time widgets to obtain time and AP with different font size so when the time is something like 1:11 it will be far from AP widget and when the time is like 12:00 it will be near the AP widget

these screenshots will explain what I mean (BTW this is my next theme -Android theme-)

http://img9.imageshack.us/img9/3526/...1082512002.png

http://img692.imageshack.us/img692/3...1082513115.png

is there any solution for this problem with the current Time widget ?

zurrain101 2011-08-25 14:34

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
can someone please tell me why it is laggy? like for example if i unlock my phone using the slide unlock instead of the power button, sometimes qtlockscreen shows up for 2 seconds n then phone gets unlocked

romiiio 2011-08-27 03:19

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Hi Sakya got a bit of a problem i'm not really sure if this is anything to do with latest version of QtLoackscren i'm not sure whats caused this but everytime i have look at conky the CPU load is very high even though no extra apps are running CPU load is at 8.70: 7.60: 4.78 etc
which is very high its always at similar levels everytime after i wake up the phone normally it used to be close to 0.00: 0.00: 0.00 after long time of no activity!
Also phone gets laggy when phone is woken up after long time of inactivity when i press power button qtlockscreen shows up fine but when i move the lock slider it doesnt move but if i swipe it it unlocks! But if i lock it again and unlock it then the slider moves!
Is this harmful for my N900?
what can i do to solve this?

TMavica 2011-08-27 03:25

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

Originally Posted by zurrain101 (Post 1076482)
can someone please tell me why it is laggy? like for example if i unlock my phone using the slide unlock instead of the power button, sometimes qtlockscreen shows up for 2 seconds n then phone gets unlocked

me 2 when 600 MHz
if overclocked to 750 MHz is ok.

trisha02 2011-08-27 05:50

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
same here..even at 750mhz

sakya 2011-08-27 06:54

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
I'm sorry but I don't really know where to look for you problems.
I use my N900 at 600mhz and the only situation I can see the lockscreen when unlocking using the hardware button is:
-Open the stock media player and play something (probably other landscape only program will do the same)
-Lock the n900
-Press the power button and let the lockscreen rotate into portrait
-Unlock with the hardware key
These way I can see the lockscreen (sometimes, not even always) for less than a second, probably due to the rotation (the stock media player is only landscape and the lockscreen was rotated to portrait).

Do you have something going on when locking/unlocking like lockdaemon?
Did you try to change the theme? I'm using the default one.

Btw I installed the speed patch and I can confirm that this solves the "2 seconds lock" when the power button is pressed.

@romiiio: well, in conky (or with the top command) you can check what process is taking that 7/8% of cpu.
The problem with the slider is a known problem (read the first post), but as I said the speed patch seems to solve it.

niqbal 2011-08-27 09:36

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Sakya, i know u have gotten this request before, but how abt adding textRotate element for DateTime widget etc. Now of course that would depend on widget size being set by user properly like in Slidetounlock case. textRotate will be rotating text b/w 0, 90, 180, 270. So basic four options should do it.

another thing i had in mind was Clock widget but i am not sure how that would work. Perhaps import one of the desktop clock widgets like yahoo weather widget was recoded.

i love the designer mode, thanks a million

laith.m.y 2011-08-27 12:36

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

Originally Posted by niqbal (Post 1077383)
Laith, i was having similar issues yesterday. I think given the current time widget best solution can be separating Time and AP and then making Time right aligned and AP left aligned and do a bit of maths to make sure both widgets are adjacent .. hope it helps

But having said that, you will still have to go through the ugly way of handling 12 hr versus 24 hr format. As soon as you mention AP and it turns into 12 hr format, AP will show but if you don't mention AP, it will turn into 24 hr format so AP has to be pushed out of the screen into oblivion lol .. ugly but workable solution

thats what I did with the Android theme that I uploaded it :(

any way thanks alot :)

toxaris 2011-08-27 12:50

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

Originally Posted by sakya (Post 1077319)
Btw I installed the speed patch and I can confirm that this solves the "2 seconds lock" when the power button is pressed.

Is that so, I have always been a bit scared of installing these so called speed-patches that some guys says making miracles.
But if it solves the QT 2s lock issue that would be a reason to try it out.
Have encountered any problem with a patch installed, Crashes etc?

Manatus 2011-08-27 14:55

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

Originally Posted by sakya (Post 1077319)
Btw I installed the speed patch and I can confirm that this solves the "2 seconds lock" when the power button is pressed.

I have same result. Always took this speedpatch thing for snakeoil due to lack of actual metrics in the thread, and of course because of the required reboot that always messes the comparisons up with any programs that use a lot of memory.

But as a reproducible metric it definitely did diminish the screen refresh time from 1-2 seconds to zero or very close to it (to a hundred of a second, as sometimes I see the previous screen for a blink of an eye).

Apologies to Karam if this really proves to be working in a long run. :)

negus72 2011-09-03 17:17

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Hi Sakya,
many thanks for your work.
Do you think it possible to use Flash Wallpaper as a background?

tanks negus72

Temporal 2011-09-06 15:14

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Hi, sorry for bothering, but I believe I have a bug and a feature request:

The bug: Whenever the QtLockScreen activates, if it has the weather plugin on, it will ALWAYS try to connect to the internet, wait until done and THEN show itself (or, if in the demonstration mode, lock itself). If I'm in slow connections, this is a problem. AND, also, it may help explain why it may be blocking some people from answering calls, because 3g/2g and call service don't like each other so much |:/
My solution would be one of this two:
1)Always cache the last weather at start or whatever (so it won't update only after showing itself, then, having the last possible weather always handy).
2)Free the app to not have to wait until the weather is updated (with threads).
OR, the best of all, a mixture of both. Always cache the weather, and free the app of it.

AND, my feature request:
I would like to be able to put the notification labels INSIDE of the picture's notification. I ask this because, if I try to make it by editing the background picture, if there's no notifications, they will stay there... empty. Well, I wish I would be able to do this:
http://img88.imageshack.us/img88/3526/message2k.png
OR, to always be able to show the notifications, even 0.

Thank you!

sakya 2011-09-06 19:19

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

Originally Posted by Temporal (Post 1082907)
The bug: Whenever the QtLockScreen activates, if it has the weather plugin on, it will ALWAYS try to connect to the internet,

This is very strange.
The weather widget is updated:
1.The first time the widget is updated (created)
2.When you connect to the internet and at least MinimumSecondsBetweenUpdates seconds passed from the last update
3.When AutoUpdateIntervalSeconds seconds passed since the last update.

You can test this by launching qtlockscreen in debug mode
Code:

/usr/bin/qtlockscreen -d
and then lock your phone, press the power button to activate the lockscreen and unlock.
Look at the debug messages: after the "start update" message you shouldn't see the message
Code:

Updating weather informations
Quote:

I would like to be able to put the notification labels INSIDE of the picture's notification.
In the next update you will be able to set TextAlignment to "center" and the text will be centered over the image.

Harick 2011-09-06 19:34

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

Originally Posted by sakya (Post 1083017)

In the next update you will be able to set TextAlignment to "center" and the text will be centered over the image.

hi sakya

can i request adding a BackGroundImagePressed for the slidetounlock widget, this way when we press the slider, not only the slider change to pressed but the background too

also, my weathers conditions are still in blank, already tried
Code:

/opt/qtlockscreen/weatherwidget.sh
and the return was
Code:

Current: 22
Conditions:
High: 25
Low: 18
Image: /tmp/ywtemp.png


Temporal 2011-09-06 20:59

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

Originally Posted by sakya (Post 1083017)
In the next update you will be able to set TextAlignment to "center" and the text will be centered over the image.

Thank you very very much!

About the weather problem, this is what I meant that sometimes happens on my phone (not just on debug mode, but is more difficult to get it to "bug" - I'll try to track it further, sometimes it just works and sometimes it locks like here [in my half-backed screen]):
http://www.youtube.com/watch?v=tCHIup6CRqY

Thanks again!

StocChr 2011-09-07 16:32

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
hi guys,

i already installed qtlockscreen and i have 3 questions:

1. when i am using the mediaplayer widget, the title name is mostly to long in portrait mode. is it possible to have the text aligned in the center of the screen and when the text is to long, it should display the text left aligned ( approx. 400px ). do you understand?

2. is it possible to define the display duration? 2 Mins for example?

3. is it possible to have a fm transmitter widget on the lockscreen?

cheers

sakya 2011-09-08 10:29

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
A partial changelog for the next update:
Code:

* Added TransparentBackground setting to have a transparent background.
* Added TextAlignment="center" to notification widget: both image and text will be center aligned
* Changed WifiWidget to InternetWidget and added settings WifiImage and GprsImage
  Old themes should work as before
* Added bluetooth widget (Bluetooth)
* Added phone radio mode (2g/3g) widget (RadioMode)
* Added phone signal strength widget (SignalStrength)
* Added operator name widget (OperatorName)

I need to do some testing, and some more work and then I'll release it.

F2thaK 2011-09-08 10:37

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
wow, someones been busy!

cloud596 2011-09-08 11:10

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

Originally Posted by sakya (Post 1084147)
A partial changelog for the next update:
Code:

* Added TransparentBackground setting to have a transparent background.
* Added TextAlignment="center" to notification widget: both image and text will be center aligned
* Changed WifiWidget to InternetWidget and added settings WifiImage and GprsImage
  Old themes should work as before
* Added bluetooth widget (Bluetooth)
* Added phone radio mode (2g/3g) widget (RadioMode)
* Added phone signal strength widget (SignalStrength)
* Added operator name widget (OperatorName)

I need to do some testing, and some more work and then I'll release it.

fantastic which mean harmattan style lockscreen can be make ,
just 2 suggestion , indicator 2g/3g been active include 3,5 g and notification for software update,


big big thanks

Boemien 2011-09-08 12:25

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

Originally Posted by sakya (Post 1084147)
a partial changelog for the next update:
Code:

* added transparentbackground setting to have a transparent background.
* added textalignment="center" to notification widget: Both image and text will be center aligned
* changed wifiwidget to internetwidget and added settings wifiimage and gprsimage
  old themes should work as before
* added bluetooth widget (bluetooth)
* added phone radio mode (2g/3g) widget (radiomode)
* added phone signal strength widget (signalstrength)
* added operator name widget (operatorname)

i need to do some testing, and some more work and then i'll release it.

we need a gui to easily customize our lock-screen.

niqbal 2011-09-08 12:56

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

Originally Posted by cloud596 (Post 1084178)
fantastic which mean harmattan style lockscreen can be make ,
just 2 suggestion , indicator 2g/3g been active include 3,5 g and notification for software update,


big big thanks

nope i still think those notifications wont be possible with the TextAlignment=center .. what u need is TextAlignment=x;y but transparent background should be fun

Remus 2011-09-08 13:55

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

Does anyone happen to know how (if its even possible) to make the media widgets control Someplayer instead of the default media player?

Temporal 2011-09-08 17:43

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

Originally Posted by niqbal (Post 1084241)
nope i still think those notifications wont be possible with the TextAlignment=center .. what u need is TextAlignment=x;y

That's exactly what I was thinking to ask yesterday!

grenadejumper 2011-09-09 07:04

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Hello everyone. I just discovered qtLockscreen yesterday, and I have to say it completely renewed my interest in my N900. Started playing around making my own lock screen, and I have a couple of questions:

The first one is the same as the user StocChr asked a couple of posts back: Is it possible to define the duration of the lockscreen? I would like it to display it a lot longer than now.

Also: is it possible to show the lockscreen by tapping the screen? As it is today I have to press the power-button, which is a little awkward sometimes. How about a double-tap to wake it?

I realize that these issues might not be addressed by qtLockscreen, but perhaps by the CSSU? Or maybe it is fixed already, and I just don't know how to unlock the functionality.

Any help appreciated!

naninenu 2011-09-09 07:13

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

Originally Posted by niqbal (Post 1084241)
nope i still think those notifications wont be possible with the TextAlignment=center .. what u need is TextAlignment=x;y but transparent background should be fun

Ya. Am waiting for the transparent backgrnd too.
Wanted it because i wanted it for the windows type concept and sakya immediately included in his code for next build.

Sakya is an awesome guy with lot of patience. Thanks sakya for all the work you are doing :)

trashcanman 2011-09-09 12:42

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Hi, is there a way to have the lockscreen "always on" so that it doesnt go black? also how do I find where to put pictures for changing the backgrounds?

bitrocky 2011-09-09 18:18

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
hi sakya,

could you add displaying of german umlauts?
I have changed the weatherwidget to use the german yahoo weather site and the conditions text often contains german umlauts (like bewölkt).
could you also a widget to display the contents of a file?
I would like to display the update time of the weather infos.

saud khan 2011-09-10 14:53

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
hi,

where can i get the themes? when i run the qtlocker configuration it just says no themes found. help plz :)

denyingbones 2011-09-10 18:52

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Hi!
I'd like to translate this app into Russian. Is there any possibility? How can I do this? I guess there are some config files that need to be translated. I can help with this.
Cheers

sakya 2011-09-11 11:44

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Uploaded now version 0.1.12

Screenshot:
http://s3.postimage.org/1ytunwchw/Sc...911_133834.jpg

Changelog:
Code:

  * Fixed: Weather widget update
  * Added TransparentBackground setting to have a transparent background.
  * Added TextAlignment="center" to notification widget: both image and text will be center aligned
  * Changed WifiWidget to InternetWidget and added settings WifiImage and GprsImage
    Old themes should work as before
  * Added bluetooth widget (Bluetooth)
  * Added phone radio mode (2g/3g) widget (RadioMode)
  * Added phone signal strength widget (SignalStrength)
  * Added operator name widget (OperatorName)
  * Added dependency to wget (for the weather script)
  * Fixed: Antialiasing setting wasn't used for fonts

I'll update the wiki with the new widgets setting.

To use the transparent background:
1.Set TransparentBackground to 1
2.Don't set a background or set it to a semi transparent image.

Example:
Code:

TransparentBackground=1
BackGroundImageP=""
BackGroundImageL=""


eefo 2011-09-11 11:57

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
lmao :D
sakya you have allowed us to stay busy in our daily life :D
thanks for the work .

naninenu 2011-09-11 12:06

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
2 Attachment(s)
Quote:

Originally Posted by Harick (Post 1083022)
hi sakya

can i request adding a BackGroundImagePressed for the slidetounlock widget, this way when we press the slider, not only the slider change to pressed but the background too

also, my weathers conditions are still in blank, already tried
Code:

/opt/qtlockscreen/weatherwidget.sh
and the return was
Code:

Current: 22
Conditions:
High: 25
Low: 18
Image: /tmp/ywtemp.png


There seems a small problem with weatherwidget.sh file.
I made a small change and this one worked for me.
Try the attached file.
I think you know where to place it. /opt/qtlockscreen.

Here is a attached screenshot.

Sakya,

if you feel this looks good, attach it to the source.

Thanks
naninenu

F2thaK 2011-09-11 12:59

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
what does the transparent bg do?


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

vBulletin® Version 3.8.8