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)

naninenu 2011-09-16 06:31

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
@Sakya,

I know i keep on asking you for more and more features (both thru personal emails and threads), and you patiently reply to them.
So here goes my new request.

Can we have a random background wallpaper.
So instead of providing a single wallpaper for background image, we will end up giving a directory of images (ideally one directory for potrait and landscape). The system will randomly pick a wallpaper. Can be time based which i think is ideal rather than having to update a new paper everytime.

I searched internet and came across
http://developer.qt.nokia.com/wiki/M...ith_Qt_and_QML

Can we pull out RandomIcon() and use it in our code.

Temporal 2011-09-18 03:29

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Hi sakya, sorry for bothering but I believe I have some things to ask, if possible:

1)On my Phone, the only way to have a waiting time that is not above 5s (counting with the 2s breakout of the power button) is if I put qtlockscreen with the highest possible priority (-20). Usually I'm holding my phone in a way and I click it and it does this:
1-Wait the 2s for the power button (with the clock of the last time shown)
2-Wait 3~5s to rotate, always with a truncated half portrait (while going landscape) or tilled landscape (while going portrait). If I give it maximum priority it goes down to 1~3s.
Total wait time: 3~5s(with nice -20) or 5~7s(nice 0) every time I want to see the time (this when it isn't showing the old/default background somewhat/somehow - I don't know why but to force qtlockscreen to overwrite I have to unlock and lock again).

2)While it is doing all that I showed above, it keeps showing the/an old/incorrect time, and I waiting to see the correct time.

So:
1]Is there a way to make it start always with nice -20 (as an option/workaround)?

2]Isn't there a way to make it somehow update while on background, doesn't need to be always, maybe once every minute, just to show the correct minute (at least) anticipating the 2s(minimum) slowdown of the power button?

-------------

Also on the same note, it almost never detects that I'm on gprs connection. Rarely it detects, but somewhat after it stops detecting. Usually it happens with the wifi connection too, but less frequently. I don't know why is that, but the trick of doing it manually works just for some time, it forgets afterwards.

If needed I'll may try to make a video and/or step by step of how to reproduce the problems.

Thank you.

fuyoh 2011-09-18 07:38

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Sakya, is it possible to make the background image to auto scale just like the desktop background ?

It'll be a great feature and less hassle when changing background.

Temporal 2011-09-19 05:00

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
I believe I have two other feature requests (sorry):

Most of my audio files don't use/have id3tags, rendering the music label thing useless. Would it be possible to make another label (or make an option inside the music label) to show the file's name instead?

Another request is that I use to listen to podcasts, and they usually are around 60 minutes. Sometimes I want to skip some part that is getting a bit boring or I don't want to listen because I already know or whatever. Would it be possible to make another widget that is a seek bar (so it would be easy to skip some minutes of an audio file with easy without having to unlock the phone)?

Please, please, please, I'm sorry for being so demanding, and not contributing for the coding myself |:/

Thank you.

Bramji 2011-09-19 12:41

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

What does the gprs and wifi widget exactly?
sometimes it is on my lockscreen but most of the time it isn't there...
I'm allways connected with 3g or wifi..
is it possible to refrash the lockscreen every second?
( make it dynamic in stead of static)

AliasXZ 2011-09-19 13:25

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
I believe that qtlockscreen app crashes a lot, I just noticed my original lockscreen showed up, then all of a sudden it changed into the qt one + my gprs icon was gone, if i disconnect gprs and reconnect it shows up on the qtlockscreen.

So qtlockscreen does not check for internet connections upon execution, only sees them if you disconnect + reconnect

sakya 2011-09-19 13:37

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

Originally Posted by AliasXZ (Post 1091749)
I believe that qtlockscreen app crashes a lot,

I personally never had a single crash.

Quote:

I just noticed my original lockscreen showed up
It's possible, if you lock the phone and suddenly press the power button you may see the original lockscreen because qtlockscreen takes some time to initialize (one second?).

Quote:

So qtlockscreen does not check for internet connections upon execution, only sees them if you disconnect + reconnect
Yes, I made it this way to avoid linking also to qnetwork to just check for connection (this probably would use some more ram).
Since anyone here is complaining about this I'll add a check to network connection .

AliasXZ 2011-09-19 13:40

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

Originally Posted by sakya (Post 1091759)
I personally never had a single crash.

I dont know how else to explain why my gprs icon is there, then it disappears, it must be qtlockscreen restarting after a crash...

sakya 2011-09-19 13:43

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

Originally Posted by AliasXZ (Post 1091760)
I dont know how else to explain why my gprs icon is there, then it disappears, it must be qtlockscreen restarting after a crash?

I don't know, the lockscreen just listen to dbus message for network state change.

You can check if it crashed by looking at the pid, if the pid changes the lockscreen crashed and respawned.

Code:

ps | grep qtlockscreen

AliasXZ 2011-09-19 13:45

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Thanks for that, will keep an eye on it :)

Very impressed with qtlockscreen, well done :)

K9999 2011-09-19 15:04

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
ever since I started playing with the screenlock mods my screen dims when I get a call or I start/end a call. Has this happened to anyone else or been stated before?
I updated the app but it's still there.

btw thanx Sakay for the hard work, and everyone else working on the mods.

zurrain101 2011-09-20 18:03

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
hey i installed the android lockscreen from the repos its very nice. can someone please tell me how to use it only as landscape? how to lock it as landscape please please i dont want it potrait. what do i edit please tell thanks

hhmah 2011-09-20 21:03

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
somone help when i install this thing, i still see that iphone thing in the middle. i want it to be like the screenshot on the fist page of the thread

sakya 2011-09-20 21:11

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

Originally Posted by hhmah (Post 1092836)
somone help when i install this thing, i still see that iphone thing in the middle. i want it to be like the screenshot on the fist page of the thread

The background used for the screenshot is not distributed in the package.
The default configuration uses the standard lockscreen background.
Install a theme or change the background image in the /opt/qtlockscreen/default.ini file.

Probably I'll add that background in the next update, so the default configration will be exactly like the screenshot.

hhmah 2011-09-20 21:24

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

Originally Posted by sakya (Post 1092844)
The background used for the screenshot is not distributed in the package.
The default configuration uses the standard lockscreen background.
Install a theme or change the background image in the /opt/qtlockscreen/default.ini file.

Probably I'll add that background in the next update, so the default configration will be exactly like the screenshot.

cheers mate, i think i'll wait for the next update :D

raverpol 2011-09-21 16:31

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
guys
what am I to do? everytime my screen turn off and I turn it on I get the home screen but I need the last used appl to be open

eefo 2011-09-22 09:28

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

Originally Posted by zurrain101 (Post 1092702)
hey i installed the android lockscreen from the repos its very nice. can someone please tell me how to use it only as landscape? how to lock it as landscape please please i dont want it potrait. what do i edit please tell thanks

not sure where the .ini file of the android is at the moment , try finding it in
/home/user/.config/sakya

or

/opt/qtlockscreen

it will be android.ini or qtlockscreen.ini , not sure.

long click on it and then choose edit from the next pop up menu it will open the .ini file then find orientation , there you will see auto change it to landscape and save it and the open x-terminal and type killall qtlockscreen and enjoy ;)

eefo 2011-09-22 09:29

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

Originally Posted by raverpol (Post 1093344)
guys
what am I to do? everytime my screen turn off and I turn it on I get the home screen but I need the last used appl to be open

last used appl ?
do you write killall qtlockscreen in x-terminal after saving the .ini file ?

zifis 2011-09-22 13:37

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Hey Sakya! There's a question I've been meaning to ask you :o

Not all the album art images of my mp3s appear in the album art area of the lockscreens. I have checked that all my mp3s have album covers (embeded) and they all appear in both default media player and Someplayer.

For example, I have three mp3s tagged with the same album art (everybody hurts, man on the moon and drive from REM's automatic for the people) and only one of them shows the cover (everybody hurts) :confused:

Any idea why this is happening?

raverpol 2011-09-22 22:47

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

Originally Posted by eefo (Post 1093784)
last used appl ?
do you write killall qtlockscreen in x-terminal after saving the .ini file ?

I do reboot
whan for example you have conversation open and the screen switches off and you try to unlock your phone it always unlocks in home screen and you have to tap two squares in the top left to see switch board and then tap on conversation window. it is always the same with any appl you had open before snooz

sakya 2011-09-23 14:08

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Uploaded now version 0.1.16 (just fixing a bug added with version 0.1.15)

Changelog 0.1.16:
* Fixed: internet widget correctly checks network state (again) ;)

Changelog 0.1.15:
* Added backgrounds to default theme
* Fixed: internet widget correctly checks network state (GaRy delaMEr)

The internet widget should work fine now, please report if it is true. :)

@raverpo: I don't really know. I don't have this issue with the mediaplayer, calendar app or conversation but I have it with Opera mobile and other applications.
I'll have a look at it.

maras 2011-09-23 20:07

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Hello!

First of all, I would like to thank you for all the work! Great job Sakya!

Now I have a question. Is there any possibility to show Qtlockscreen when someone is calling to me? I would like to unlock my lockscreen then answer a call.

Im carrying my N900 in a case and while Im getting it out I randomly answer a call...

Regards.

sakya 2011-09-24 10:19

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
It's feasible but the incoming call ui seems to be very cpu heavy.
I'll try to see if the lockscreen is usable in this situation.

ahmadamaj 2011-09-24 11:20

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

Originally Posted by sakya (Post 1094546)
@raverpo: I don't really know. I don't have this issue with the mediaplayer, calendar app or conversation but I have it with Opera mobile and other applications.
I'll have a look at it.

I had this issue with Opera too.

laith.m.y 2011-09-24 11:38

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

Originally Posted by sakya (Post 1094981)
It's feasible but the incoming call ui seems to be very cpu heavy.
I'll try to see if the lockscreen is usable in this situation.

what about making something like slide2answer app with the same concept of qtlockscreen (highly configurable) ?:D

m4r0v3r 2011-09-25 19:38

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
does this replace the maemo lock screen or just go over it?

negus72 2011-09-25 23:18

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
@SAKIA: it's possible adding a config line like UNLOCKDELAY?

neboja 2011-09-26 09:55

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

is it possible to use a wallpaper for a lockscreen background, from current desktop (desktop 0) background?

so no matter what is current theme, the background of lockscreen will change...

are you able to create such state for background to detect whatever a current background for desktop is set???

negus72 2011-09-26 10:33

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
at this moment you can only take a screnshoot of your desktop and get it like background.

TransTech 2011-09-26 10:37

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
@Sakya: Can you add an ability (widget) to switch to silent profile, (like in Android), it would be awesome then.

Thank you.

neboja 2011-09-26 10:38

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
yeah, i know i can, but it is not what i had in mind ;)

zifis 2011-09-26 13:30

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Ehm... reposting :o

Quote:

Originally Posted by zifis (Post 1093924)
Hey Sakya! There's a question I've been meaning to ask you :o

Not all the album art images of my mp3s appear in the album art area of the lockscreens. I have checked that all my mp3s have album covers (embeded) and they all appear in both default media player and Someplayer.

For example, I have three mp3s tagged with the same album art (everybody hurts, man on the moon and drive from REM's automatic for the people) and only one of them shows the cover (everybody hurts) :confused:

Any idea why this is happening?


chipper 2011-09-26 18:14

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Does anybody know a way to configure the time the lockscreen stays on without interaction? Currently it's about 4 seconds, which is a bit on the short side for my taste.

sakya 2011-09-28 13:28

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

Changelog:
* Added: Profile widget
* Fixed metadata widget
* Fixed: internet widget was not displayed in the screenshot
* Fixed: metadata elided (with ...) if doesn't fit the screen

The profile widget is configured in the default theme to show an icon only for the "silent" profile.
If you want to show an icon for the general profile (or for other profiles) add your images and change the config:

Code:

[Profile]
PosL="100;35"
PosP="100;35"
SizeL="24;24"
SizeP="24;24"
Images="silent=/opt/qtlockscreen/default/profile_silent.png"

This line sets the images used for profileName=image.
Example:
Code:

Images="general=/opt/qtlockscreen/default/profile_general.png;silent=/opt/qtlockscreen/default/profile_silent.png"

TransTech 2011-09-28 13:42

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

Originally Posted by sakya (Post 1098125)
Uploaded now version 0.1.17

Changelog:
* Added: Profile widget
* Fixed metadata widget
* Fixed: internet widget was not displayed in the screenshot
* Fixed: metadata elided (with ...) if doesn't fit the screen

The profile widget is configured in the default theme to show an icon only for the "silent" profile.
If you want to show an icon for the general profile (or for other profiles) add your images and change the config:

Code:

[Profile]
PosL="100;35"
PosP="100;35"
SizeL="24;24"
SizeP="24;24"
Images="silent=/opt/qtlockscreen/default/profile_silent.png"

This line sets the images used for profileName=image.
Example:
Code:

Images="general=/opt/qtlockscreen/default/profile_general.png;silent=/opt/qtlockscreen/default/profile_silent.png"

so with this can we change a profile to silent (like in android).. thank you..

sakya 2011-09-28 13:47

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

Originally Posted by TransTech (Post 1098134)
so with this can we change a profile to silent (like in android).. thank you..

No, it's just an icon like the internet or the bluetooth widget.

Alfred 2011-09-28 14:02

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Sakya, thanks again for upgrading this wonderful app.
I was wondering, if you are using dbus-signals for your widgets? If so, could you probably make another free configurable widget with it's config file somewhere out in the system, so we could use our own dbus commands.. Hum?

sakya 2011-09-28 14:35

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

Originally Posted by Alfred (Post 1098152)
I was wondering, if you are using dbus-signals for your widgets?

Some of them uses dbus.

Quote:

If so, could you probably make another free configurable widget with it's config file somewhere out in the system, so we could use our own dbus commands.. Hum?
It's not difficult (but I'd make the widget call a generic command, not only dbus) but the problem is how to trigger the command.
Using a simple "click" can be too simple to launch a command by mistake.
Also I'm not really convinced about this: it's a lockscreen, not a desktop. :)

neboja 2011-09-28 14:44

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
khm... reposting :)

Quote:

Originally Posted by neboja (Post 1096554)
@sakya:

is it possible to use a wallpaper for a lockscreen background, from current desktop (desktop 0) background?

so no matter what is current theme, the background of lockscreen will change...

are you able to create such state for background to detect whatever a current background for desktop is set???


Alfred 2011-09-28 14:47

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
I understand you, but i thought of it, because a lot of people want to do this and that within the lockscreen, such as change a profile, since it's like in Android... I personaly like qtlockscreen as simple as is...
Thanks anyway.


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

vBulletin® Version 3.8.8