Notices


Reply
Thread Tools
Posts: 104 | Thanked: 60 times | Joined on Dec 2009 @ London
#1
This is a thread to share new customizations for sakya's awesome QtLockscreen. Thanks again to sakya for the great work!

If you have a lockscreen you want to share, post below, include screenshots (to take a screenshot slide out the keyboard just enough to hit ctrl+shift+P, but not so much that it unlocks), extra graphics if necessary, and most importantly the QtLockscreen.ini configuration file.

If you want to use one of the lockscreens, backup your
/home/user/.config/sakya/QtLockscreen.ini
file and copy the new one to that location. You will probably also want to change the background, just edit the two lines in the .ini file to point to the location of your own backgrounds. And if needed, also put any additional files in the appropriate locations (check the .ini file).

Last edited by qw3rty; 2011-07-23 at 20:15.
 

The Following 17 Users Say Thank You to qw3rty For This Useful Post:
Posts: 104 | Thanked: 60 times | Joined on Dec 2009 @ London
#2
Here's mine. I wanted a very music player centric one, so it has a larger album cover and buttons. Play/pause by tapping the cover.





Code:
[Main]
#Orientation: auto, landscape, portrait
Orientation="auto"

#Path to background image for Portrait (P) and Landscape (L)
BackGroundImageP="/etc/hildon/theme/backgrounds/lockslider.png"
BackGroundImageL="/etc/hildon/theme/backgrounds/lockslider.png"

#List of widgets.
#  Name is composed by WidgetType.WidgetName
#  The WidgetName must be unique.
#  If you add/remove widget remember to update the Size at the end of the list
Widgets\1\Name="Rect.Rect_Bottom"
Widgets\2\Name="Rect.Rect_Top"
Widgets\3\Name="Rect.Rect_NextButton"
Widgets\4\Name="Rect.Rect_BackButton"
Widgets\5\Name="Rect.Rect_Metadata"
Widgets\6\Name="DateTime.DateTime"
Widgets\7\Name="UnlockButton.UnlockButton"
Widgets\8\Name="MediaPlayPauseButton.PlayPauseButton"
Widgets\9\Name="MediaNextButton.NextButton"
Widgets\10\Name="MediaBackButton.BackButton"
Widgets\11\Name="MediaMetadata.Metadata"
Widgets\12\Name="MediaAlbumArt.AlbumArt"
Widgets\13\Name="Rect.TimeLabelBackground"
Widgets\14\Name="MediaTimeLabel.TimeLabel"
Widgets\15\Name="Notification.MissedCalls"
Widgets\16\Name="Notification.UnreadSMS"
Widgets\17\Name="Notification.UnreadEmails"
Widgets\18\Name="UnlockButton.UnlockButton2"
Widgets\Size=18

#Widgets
#  The [Name] must match the WidgetName defined in the Widgets list
[DateTime]
Alignment="center"
PosL="center;0"
PosP="center;0"
DateFontSize=12
TimeFontSize=30
TimeFormat="hh:mm"
DateFormat="dddd dd/MM/yyyy"

[Rect_Bottom]
SizeL="120;80"
PosL="center;400"
SizeP="480;70"
PosP="0;730"
Radius=0
Color="0;0;0;150"

[Rect_Top]
SizeL="240;70"
PosL="center;0"
SizeP="480;70"
PosP="0;0"
Radius=0
Color="0;0;0;150"

[Rect_NextButton]
SizeL="430;130"
PosL="360;160"
PosP="290;160"
SizeP="185;130"
Radius=0
Color="0;0;0;150"

[Rect_BackButton]
SizeL="135;130"
SizeP="75;130"
PosL="220;160"
PosP="210;160"
Radius=0
Color="0;0;0;150"

[Rect_Metadata]
SizeL="570;65"
PosL="220;90"
PosP="210;90"
SizeP="265;65"
Radius=0
Color="0;0;0;150"

[Battery]
Images=":/images/battery_0.png;:/images/battery_1.png;:/images/battery_2.png;:/images/battery_3.png;:/images/battery_4.png;:/images/battery_5.png;:/images/battery_6.png"
PosL="700;15"
PosP="380;15"
PercentageFontSize=2

[UnlockButton]
WaitTimeMsec=1000
BackGroundImage=":/images/unlock.png"
BackGroundImagePressed=":/images/unlockPressed.png"
PosL="center;410"
PosP="center;730"

[PlayPauseButton]
#BackGroundImagePause=":/images/pause.png"
#BackGroundImagePausePressed=":/images/pausePressed.png"
#BackGroundImagePlay=":/images/play.png"
#BackGroundImagePlayPressed=":/images/playPressed.png"
PosL="10;90"
PosP="5;90"
SizeL="200;200"
SizeP="200;200"

[NextButton]
BackGroundImage=":/images/forward.png"
BackGroundImagePressed=":/images/forwardPressed.png"
PosL="360;160"
PosP="290;160"
SizeL="430;130"
SizeP="400;130"

[BackButton]
BackGroundImage=":/images/back.png"
BackGroundImagePressed=":/images/backPressed.png"
PosL="220;160"
PosP="210;160"
SizeL="130;130"
SizeP="75;130"

[Metadata]
TitleFontSize=20
ArtistFontSize=14
Alignment="left"
SizeL="565;100"
PosL="225;92"
PosP="215;95"
SizeP="255;65"

[AlbumArt]
NoCoverImage=":/images/no-album-art.png"
SizeL="200;200"
PosL="10;90"
PosP="5;90"

[TimeLabelBackground]
PosL="10;270"
PosP="5;270"
SizeL="50;20"
Color="0;0;0;150"
Radius=0

[TimeLabel]
PosP="5;270"
PosL="10;270"
SizeL="50;20"

[MissedCalls]
Icon=":/images/call.png"
PosL="center;300"
PosP="center;520"
SizeL="160;100"
Type="call"
FontSize=13

[UnreadSMS]
Icon=":/images/message.png"
PosL="50;300"
PosP="left;520"
SizeL="160;100"
Type="sms"
FontSize=13

[UnreadEmails]
Icon=":/images/email.png"
PosL="590;300"
PosP="right;520"
SizeL="160;100"
Type="email"
FontSize=13

[UnlockButton2]
BackGroundImage=""
BackGroundImagePressed=""
WaitTimeMsec=1000
PosL="center;400"
SizeL="120;80"
PosP="center;730"
SizeP="480;70"
 

The Following 7 Users Say Thank You to qw3rty For This Useful Post:
Posts: 60 | Thanked: 29 times | Joined on Dec 2009 @ Germany
#3
Care:
Notifications only in portrait mode!
Attached Images
  
Attached Files
File Type: zip lingling QtLockscreen.zip (1.5 KB, 1240 views)
 

The Following 8 Users Say Thank You to lingling92 For This Useful Post:
Posts: 185 | Thanked: 49 times | Joined on Apr 2010 @ The Netherlands
#4
I only edited portrait mode, but did nothing with the notifications. I also still did nothing with the font.

The space above the time and date is one giant invisible media player next-button

 

The Following 8 Users Say Thank You to Zekahz For This Useful Post:
Posts: 104 | Thanked: 60 times | Joined on Dec 2009 @ London
#5
Zekahz, can you share your .ini file?
 

The Following 2 Users Say Thank You to qw3rty For This Useful Post:
christexaport's Avatar
Posts: 1,589 | Thanked: 719 times | Joined on Aug 2009 @ Arlington (DFW), Texas
#6
We really need someone to Wikify this.
__________________
Maemo-Freak.com
"...and the Freaks shall inherit the Earth."
 

The Following User Says Thank You to christexaport For This Useful Post:
Posts: 104 | Thanked: 60 times | Joined on Dec 2009 @ London
#7
I don't think the wiki is the place for people to share their designs... I'm pretty sure that's why there is a "Design" sub-forum. It might be worth creating a wiki page to explain how to edit QtLockscreen.ini, but to be honest it's already been explained so well by sakya I'm not sure it's worth it...
 
Posts: 212 | Thanked: 340 times | Joined on Feb 2011 @ Jordan
#8
Originally Posted by lingling92 View Post
Care:
Notifications only in portrait mode!
what is the name of the font ?
 
Posts: 1,225 | Thanked: 1,905 times | Joined on Feb 2011 @ Quezon City, Philippines
#9

Images (/home/user/lock-img)
Config (not a real zip - wget this and mv to QtLockscreen.ini)

EDIT: updated for portrait mode.
__________________
N9 PR 1.3 Open Mode + kernel-plus for Harmattan
@kenweknot, working on Glacier for Nemo.

Last edited by Hurrian; 2011-07-23 at 23:56.
 

The Following 5 Users Say Thank You to Hurrian For This Useful Post:
Posts: 36 | Thanked: 28 times | Joined on Jul 2011 @ Germany
#10
no musicfiles in mediaplayer at the moment.
2 seperate files for background...

font for battery percentage invisible.

want to edit icons, but must wait...

Code:
[Main]
#Orientation: auto, landscape, portrait
Orientation="auto"

#Path to background image for Portrait (P) and Landscape (L)
BackGroundImageP="/etc/hildon/theme/backgrounds/lockslider_P.png"
BackGroundImageL="/etc/hildon/theme/backgrounds/lockslider_L.png"

#List of widgets.
#  Name is composed by WidgetType.WidgetName
#  The WidgetName must be unique.
#  If you add/remove widget remember to update the Size at the end of the list
Widgets\1\Name="Rect.Rect_Bottom"
Widgets\2\Name="Rect.Rect_Top"
Widgets\3\Name="DateTime.DateTime"
Widgets\4\Name="Battery.Battery"
Widgets\5\Name="UnlockButton.UnlockButton"
Widgets\6\Name="MediaPlayPauseButton.PlayPauseButton"
Widgets\7\Name="MediaNextButton.NextButton"
Widgets\8\Name="MediaBackButton.BackButton"
Widgets\9\Name="MediaMetadata.Metadata"
Widgets\10\Name="MediaAlbumArt.AlbumArt"
Widgets\11\Name="Rect.TimeLabelBackground"
Widgets\12\Name="MediaTimeLabel.TimeLabel"
Widgets\13\Name="Notification.MissedCalls"
Widgets\14\Name="Notification.UnreadSMS"
Widgets\15\Name="Notification.UnreadEmails"
Widgets\Size=15

#Widgets
#  The [Name] must match the WidgetName defined in the Widgets list
[DateTime]
Alignment="center"
PosL="center;0"
PosP="center;0"
DateFontSize=12
TimeFontSize=24
TimeFormat="hh:mm"
DateFormat="dddd dd.MM.yyyy"

[Rect_Bottom]
SizeL="800;70"
PosL="0;410"
SizeP="480;70"
PosP="0;730"
Radius=0
Color="0;0;0;150"

[Rect_Top]
SizeL="800;80"
PosL="0;0"
SizeP="480;70"
PosP="0;0"
Radius=0
Color="0;0;0;150"

[Battery]
Images=":/images/battery_0.png;:/images/battery_1.png;:/images/battery_2.png;:/images/battery_3.png;:/images/battery_4.png;:/images/battery_5.png;:/images/battery_6.png"
PosL="700;15"
PosP="380;15"
PercentageFont=";10;normal;0"
PercentageColor="0;0;0;0"

[UnlockButton]
WaitTimeMsec=1000
BackGroundImage=":/images/unlock.png"
BackGroundImagePressed=":/images/unlockPressed.png"
PosL="center;410"
PosP="center;730"

[PlayPauseButton]
BackGroundImagePause=":/images/pause.png"
BackGroundImagePausePressed=":/images/pausePressed.png"
BackGroundImagePlay=":/images/play.png"
BackGroundImagePlayPressed=":/images/playPressed.png"
PosL="210;160"
PosP="210;160"

[NextButton]
BackGroundImage=":/images/forward.png"
BackGroundImagePressed=":/images/forwardPressed.png"
PosL="280;160"
PosP="280;160"

[BackButton]
BackGroundImage=":/images/back.png"
BackGroundImagePressed=":/images/backPressed.png"
PosL="140;160"
PosP="140;160"

[Metadata]
TitleFontSize=20
ArtistFontSize=14
Alignment="left"
SizeL="400;100"
PosL="140;90"

[AlbumArt]
NoCoverImage=":/images/no-album-art.png"
SizeL="120;120"
PosL="5;90"

[TimeLabelBackground]
PosL="5;190"
SizeL="50;20"
Color="0;0;0;150"
Radius=0

[TimeLabel]
PosL="5;190"
SizeL="50;20"

[MissedCalls]
Icon=":/images/call.png"
PosL="center;250"
PosP="center;360"
SizeL="160;100"
Type="call"
FontSize=14

[UnreadSMS]
Icon=":/images/message.png"
PosL="120;250"
PosP="left;360"
SizeL="160;100"
Type="sms"
FontSize=14

[UnreadEmails]
Icon=":/images/email.png"
PosL="520;250"
PosP="right;360"
SizeL="160;100"
Type="email"
FontSize=14
Attached Images
  
 

The Following 14 Users Say Thank You to MaikEF For This Useful Post:
Reply

Tags
play'n_share

Thread Tools

 
Forum Jump


All times are GMT. The time now is 16:34.