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)

funkmunk 2011-08-11 19:06

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
works like a charm sakya...just like i wanted..from edge to edge both ways...

TMavica 2011-08-11 19:11

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Fixed background problem when Orientation is set to portrait <---still cant be fix

sakya 2011-08-11 19:19

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

Originally Posted by TMavica (Post 1068039)
Fixed background problem when Orientation is set to portrait <---still cant be fix

Sorry, I'll retest it tomorrow (I didn't test this update at all). :)

sakya 2011-08-11 19:20

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

Originally Posted by eefo (Post 1068032)
@ sakya , found a strange thing , change the unlock button and now slide isn't working , it's like i just tap on the unlock button and screen gets unlock :$

What did you change (it seems you have bad UnlockXL, UnlockXP values)?

romiiio 2011-08-11 20:57

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

Originally Posted by sakya (Post 1067926)
If your config file point to images with path ":/something" you need to change it to "/opt/qtlockscreen/default/something"

As mentioned in the changelog embedded resources have been removed.

You can also just remove your configuration file, kill qtlockscreen and use the default configuration (it should work). ;)

Hi after the latest update my qtlockscreen is all messed up all images and stuff have disappeared too! how do i delete the configuration file could you please give us a step by step thanks

laith.m.y 2011-08-11 21:04

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
@ sakya
I suggest to make instead of slide background a picture(image) widget so we can configurate the image without affecting on the slide , and also can be used as background for time and date

for example : I want to make iphone lockscreen WIP so when I but the slide background I must increase the size of the whole widget and then the slide dont still slide anymore because the slide button can be moved anywhere inside the slide background

sakya 2011-08-11 21:21

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

Originally Posted by laith.m.y (Post 1068080)
for example : I want to make iphone lockscreen WIP so when I but the slide background I must increase the size of the whole widget and then the slide dont still slide anymore because the slide button can be moved anywhere inside the slide background

I don't understand: what's the problem with the widget size equal to the image size you're using as a background for the slide to unlock?

Btw the image widget exists:
Code:

Widgets\xx\Name="Image.ImageWidget"
...
[ImageWidget]
Image="path to image file"
PosL="0;0"
PosP="0;0"
SizeL="100;100"
SizeP="100;100"

@romiiio: to delete the config file and reset to the default one:
Code:

sudo gainroot
rm .config/sakya/QtLockscreen.ini
killall qtlockscreen


K9999 2011-08-11 21:57

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Great job mate. the new update Rocks!!
I wanted to ask, which line shall I go for to disable the Landscape mode? to just have one portrait lockscreen to avoid transition delay. is it possible?

EDIT: my bad, I posted before going through the code :p

romiiio 2011-08-11 23:57

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Thanks sakya thats worked and loving the new update now i just need to play with it and personalise it! Sakya is it possible to have the swipe to unlock area specifically highlighted in different colour? like for instance its the whole bottom grey box but if it can be reduced to just the space required for swipe area then it coluld also be personalised with different themes different styles etc!

kishanW 2011-08-12 04:13

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
how do I change the font color? Kinda confused on that.

kishanW 2011-08-12 04:48

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

Originally Posted by kishanW (Post 1068232)
how do I change the font color? Kinda confused on that.

found it!
TimeColor: r;g;b;a
DateColor: r;g;b;a

F2thaK 2011-08-12 05:08

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
whats the simplest way to make the slidetounlock widget centered at bottom of screen and only 250px wide?

TMavica 2011-08-12 05:24

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
@sakya
from now I can observed 2 bugs

1. Set orientation to portrait, there is a background image problem, but when orentation auto mode is OK

2. When orientation set to auto, I started to power on the unlock display in portrait, then rotate to landscape, the unlock display will not be rotate and the background image broken. But when I started to landscape mode, then rotate to portrait, all is fine.

kishanW 2011-08-12 05:45

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

Originally Posted by F2thaK (Post 1068247)
whats the simplest way to make the slidetounlock widget centered at bottom of screen and only 250px wide?

hey do you have the new ini file?

droitwichgas 2011-08-12 06:02

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
I have install the latest build however I don't get the new slider and the previous key lock no longer appears. I have trield "killalll" & a reboot and even a reinstall with no success.

How do I get the old key lock back or the new slider which has only appeared once after a reboot?

eefo 2011-08-12 06:49

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

Originally Posted by sakya (Post 1068048)
What did you change (it seems you have bad UnlockXL, UnlockXP values)?

never mind :)
updated to latest version and problem solved .

sakya 2011-08-12 07:34

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
@droitwichgas:
How to reset the lockscreen to the default configuration:
Open a terminal and
Code:

sudo gainroot
rm .config/sakya/QtLockscreen.ini
killall qtlockscreen

Updated to version 0.1.7; fixed the portrait problem.
Please upgrade and report if it works ;)

TMavica 2011-08-12 09:04

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

F2thaK 2011-08-12 09:49

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
I have version 0.1.7, but slidetounlock widget is not showing...

my config


Quote:

[Main]
#This is the configuration file for QtLockscreen.
#Here you can customize the look of the lockscreen.
#
#Some notes on settings:
# -Fonts: to set a font use a string composed with:
# "fontName;fontSize;fontWeight;italic"
# If fontName is empty it will be used the default system font.
# For italic use 1 to enable it.
# For fontWeight use one of the following values: light, normal, demibold, bold, black
# Example:
# Font=";14;normal;0"
#
# -Colors: to specify a color use R;G;B;A notation.
# Example:
# Color="255;255;255;255"
#
# -Position: you can set different position for portrait and landscape.
# PosL is the position in landscape
# PosP is the position in portrait
# For position you can use the special value: left, center, right, top, bottom
#
# -Size: : you can set different size for portrait and landscape.
# SizeL is the size in landscape
# SizeP is the size in portrait
#
# -Alignment: use one of the following values: center, left, right, top, bottom

#Name of this theme
ThemeName="Default"

#Orientation: auto, landscape, portrait
Orientation="auto"

#Path to background image for Portrait (P) and Landscape (L)
BackGroundImageP="/home/user/MyDocs/.images/bluehive2P.jpg"
BackGroundImageL="/home/user/MyDocs/.images/bluehive2.jpg"

#List of widgets.
# Name is composed by WidgetType.WidgetName
# The WidgetName must be unique.
# Please respect the numeric order, don't leave "holes" in the list and set a correct Size.
# If you add/remove widget remember to update the Size at the end of the list.
# Widgets are drawn using this order: the higher number is the topmost widget
Widgets\3\Name="DateTime.DateTime"
Widgets\4\Name="Battery.Battery"
Widgets\6\Name="SlideToUnlockButton.SlideToUnlock"
Widgets\14\Name="Notification.MissedCalls"
Widgets\15\Name="Notification.UnreadSMS"
Widgets\Size=5

#Widgets
# The [Name] must match the WidgetName defined in the Widgets list
[DateTime]
Alignment="center"
PosL="center;0"
PosP="center;0"
SizeL="800;200"
SizeP="800;200"
DateFont=";40;normal;0"
DateColor="255;255;255;255"
TimeFont=";80;normal;0"
TimeColor="255;255;255;255"
TimeFormat="h:mm ap"
DateFormat="dddd dd/MM/yyyy"

[Battery]
Images="/opt/qtlockscreen/default/battery_0.png;/opt/qtlockscreen/default/battery_1.png;/opt/qtlockscreen/default/battery_2.png;/opt/qtlockscreen/default/battery_3.png;/opt/qtlockscreen/default/battery_4.png;/opt/qtlockscreen/default/battery_5.png;/opt/qtlockscreen/default/battery_6.png"
ChargingImage="/opt/qtlockscreen/default/battery_charging.png"
PosL="700;15"
PosP="405;10"
PercentageFont=";12;normal;0"
PercentageColor="0;0;0;255"

[MissedCalls]
Icon="/opt/qtlockscreen/default/call.png"
Text="%1 missed calls"
TextAlignment="bottom"
PosL="224;250"
PosP="center;360"
SizeL="160;100"
Type="call"
Font=";14;normal;0"
Color="255;255;255;255"

[UnreadSMS]
Icon="/opt/qtlockscreen/default/message.png"
Text="%1 unread messages"
TextAlignment="bottom"
PosL="32;250"
PosP="left;360"
SizeL="160;100"
Type="sms"
Font=";14;normal;0"
Color="255;255;255;255"

[SlideToUnlock]
SizeL="300;64"
SizeP="300;64"
PosL="center;410"
PosP="center;730"
#BackgroundImage="path to the widget's background image"
SliderImage="/opt/qtlockscreen/default/unlock.png"
SliderPos="0;0"
UnlockXL=236
UnlockXP=236
#UnlockYL=0
#UnlockYP=0

sakya 2011-08-12 09:51

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
I quote the comment from the config file:
Code:

# Please respect the numeric order, don't leave "holes" in the list and set a correct Size.
 # If you add/remove widget remember to update the Size at the end of the list.

So
Code:

Widgets\1\Name="DateTime.DateTime"
Widgets\2\Name="Battery.Battery"
Widgets\3\Name="SlideToUnlockButton.SlideToUnlock"
Widgets\4\Name="Notification.MissedCalls"
Widgets\5\Name="Notification.UnreadSMS"
Widgets\Size=5


F2thaK 2011-08-12 09:54

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
oh okay I had this part wrong

Quote:

Widgets\3\Name="DateTime.DateTime"
Widgets\4\Name="Battery.Battery"
Widgets\6\Name="SlideToUnlockButton.SlideToUnlock"
Widgets\14\Name="Notification.MissedCalls"
Widgets\15\Name="Notification.UnreadSMS"
Widgets\Size=5
but in the past I had the numbers all up the sh.t like above and it worked...

working now though!

F2thaK 2011-08-12 10:03

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

Originally Posted by kishanW (Post 1068251)
hey do you have the new ini file?

here 'tis, just change to *.ini

sakya 2011-08-12 10:04

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
It was working because you probably had a higher size.
When reading the widgets it loops from 1 to size and read the widget number x.
Something like this should work (but it's always better to have correct numbers):
Code:

Widgets\3\Name="DateTime.DateTime"
 Widgets\4\Name="Battery.Battery"
 Widgets\6\Name="SlideToUnlockButton.SlideToUnlock"
 Widgets\14\Name="Notification.MissedCalls"
 Widgets\15\Name="Notification.UnreadSMS"
 Widgets\Size=15


F2thaK 2011-08-12 10:07

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
BTW i think theres a bug,

lock phone in portrait, show lockscreen, turn to landscape

screen doesnt rotate back to landscape properly

orientation set to auto, version 0.1.7

sakya 2011-08-12 10:09

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

Originally Posted by F2thaK (Post 1068338)
lock phone in portrait, show lockscreen, turn to landscape

Do you have the modified hildon-desktop that supports portrait mode installed?

F2thaK 2011-08-12 10:17

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
hell yes! latest everything

if I lock phone in landscape it rotates fine

TMavica 2011-08-12 10:18

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

Originally Posted by F2thaK (Post 1068338)
BTW i think theres a bug,

lock phone in portrait, show lockscreen, turn to landscape

screen doesnt rotate back to landscape properly

orientation set to auto, version 0.1.7

I mentioned before
when set to auto, portrait cant turn to landscape, and the background image is broken.

That is fine for me, I use Portrait mode only

sakya 2011-08-12 10:20

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

Originally Posted by TMavica (Post 1068347)
I mentioned before
when set to auto, portrait cant turn to landscape, and the background image is broken.

That is fine for me, I use Portrait mode only

I thought also this was fixed when you said "fixed". :)
I don't use modified desktop, so I don't see this problem.
I'll fix this asap, thanks

TMavica 2011-08-12 10:23

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Sorry, i forget to menthion...Bug 1 is fixed only

sakya 2011-08-12 11:08

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

Originally Posted by F2thaK (Post 1068376)
can we resize the battery widget???????????

Yes.

Resize the images and set the size.
Code:

[Battery]
Images="/opt/qtlockscreen/default/battery_0.png;/opt/qtlockscreen/default/battery_1.png;/opt/qtlockscreen/default/battery_2.png;/opt/qtlockscreen/default/battery_3.png;/opt/qtlockscreen/default/battery_4.png;/opt/qtlockscreen/default/battery_5.png;/opt/qtlockscreen/default/battery_6.png"
ChargingImage="/opt/qtlockscreen/default/battery_charging.png"
PosL="700;15"
PosP="380;15"
SizeL="100;100"
SizeP="100;100"
PercentageFont=";8;normal;0"
PercentageColor="255;255;255;255"


K9999 2011-08-12 11:25

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
hmmm mate, I dun know if it's a bug, but I upgraded to 1.0.7 to get the portrait mode fixed but now sliding the lock does not unlock the screen. infact it doesn't do anything. the screen stays there till I open the keypad.
I've only changed the orientation to "portrait". and even "auto" does it too.

F2thaK 2011-08-12 11:29

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
works for me.....

K9999 2011-08-12 11:38

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
I upgraded from the wiki,, not from FapMan.. is it the same?

F2thaK 2011-08-12 11:43

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
yeah should be, dont see why not

K9999 2011-08-12 12:02

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
thanx mate, I set it back to default and it worked.

Quote:

Originally Posted by sakya (Post 1068277)
@droitwichgas:
How to reset the lockscreen to the default configuration:
Open a terminal and
Code:

sudo gainroot
rm .config/sakya/QtLockscreen.ini
killall qtlockscreen



F2thaK 2011-08-12 12:04

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
New Vid:
http://i3.ytimg.com/vi/b9QWb2X6F30/hqdefault.jpg
http://www.youtube.com/watch?v=b9QWb2X6F30

robin92 2011-08-12 12:57

Re: [Announce] QtLockscreen: highly configurable lockscreen replacement
 
Can you hide qtlockscreen on incomeing call? :)

sakya 2011-08-12 13:00

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

Originally Posted by robin92 (Post 1068451)
Can you hide qtlockscreen on incomeing call? :)

I don't have any problem with incoming call.

robin92 2011-08-12 14:29

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

Originally Posted by sakya (Post 1068454)
I don't have any problem with incoming call.

yes you have right :) it was in 1.4 it was little laggy :D

jadgr8 2011-08-12 15:19

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

Originally Posted by Jarno420 (Post 1066056)
Hey btw, i installed
lastest Speed Patch
(http://talk.maemo.org/showthread.php?t=73315)
and lastest Swappolube
(apt-get install swappolube)
and in Swappolube, i use Proposed settings and now QtLockScreen responses immediately when press powerkey, no more that 2sec waiting.
Also Landscape/Portrait swaps like it should.

Here few pics:

Can you post your QtLockscreen.ini file and the images? I'm loving it. :)


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

vBulletin® Version 3.8.8