maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   Share your QtLockscreen configs! (https://talk.maemo.org/showthread.php?t=75187)

qw3rty 2011-07-23 17:57

Share your QtLockscreen configs!
 
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).

qw3rty 2011-07-23 18:05

Re: Share your QtLockscreen configs!
 
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.

http://img215.imageshack.us/img215/5...1072317200.png

http://img692.imageshack.us/img692/2...72317202vo.png

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"


lingling92 2011-07-23 18:20

Re: Share your QtLockscreen configs!
 
3 Attachment(s)
Care:
Notifications only in portrait mode!

Zekahz 2011-07-23 19:22

Re: Share your QtLockscreen configs!
 
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:)

http://goput.it/8lo.png

qw3rty 2011-07-23 20:12

Re: Share your QtLockscreen configs!
 
Zekahz, can you share your .ini file?

christexaport 2011-07-23 20:45

Re: Share your QtLockscreen configs!
 
We really need someone to Wikify this.

qw3rty 2011-07-23 21:46

Re: Share your QtLockscreen configs!
 
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...

laith.m.y 2011-07-23 22:03

Re: Share your QtLockscreen configs!
 
Quote:

Originally Posted by lingling92 (Post 1056972)
Care:
Notifications only in portrait mode!

what is the name of the font ? :)

Hurrian 2011-07-23 22:22

Re: Share your QtLockscreen configs!
 
http://goput.it/4w5.png
Images (/home/user/lock-img)
Config (not a real zip - wget this and mv to QtLockscreen.ini)

EDIT: updated for portrait mode.

MaikEF 2011-07-23 22:39

Re: Share your QtLockscreen configs!
 
2 Attachment(s)
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



All times are GMT. The time now is 20:49.

vBulletin® Version 3.8.8