Qt Lockscreen – Highly configurable lockscreen replacement

 

QtLockscreen is a highly configurable lockscreen replacement. Every item on the screen is configurable (position, size, font, image…).

You can also remove or add items.

To unlock the N900 keep the unlock button pressed for 1 second.

Qt-Screen-Shot-MeeGo-MeeGoExperts-Avatar

Video (F2thaK):

This is the default configuration (it is automatically created in /home/user/.config/sakya/QtLockscreen.ini the first time the app is launched):

:

[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 value: 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

#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.
#  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
Widgets1Name="Rect.Rect_Bottom"
Widgets2Name="Rect.Rect_Top"
Widgets3Name="DateTime.DateTime"
Widgets4Name="Battery.Battery"
Widgets5Name="UnlockButton.UnlockButton"
Widgets6Name="MediaPlayPauseButton.PlayPauseButton"
Widgets7Name="MediaNextButton.NextButton"
Widgets8Name="MediaBackButton.BackButton"
Widgets9Name="MediaMetadata.Metadata"
Widgets10Name="MediaAlbumArt.AlbumArt"
Widgets11Name="Rect.TimeLabelBackground"
Widgets12Name="MediaTimeLabel.TimeLabel"
Widgets13Name="Notification.MissedCalls"
Widgets14Name="Notification.UnreadSMS"
Widgets15Name="Notification.UnreadEmails"
WidgetsSize=15

#Widgets
#  The [Name] must match the WidgetName defined in the Widgets list
[DateTime]
Alignment="center"
PosL="center;0"
PosP="center;0"
DateFont=";12;normal;0"
DateColor="255;255;255;255"
TimeFont=";30;normal;0"
TimeColor="255;255;255;255"
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;80"
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=";8;normal;0"
PercentageColor="255;255;255;255"

[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]
TitleFont=";20;normal;0"
TitleColor="255;255;255;255"
ArtistFont=";14;normal;0"
ArtistColor="255;255;255;255"
Alignment="left"
SizeL="400;100"
PosL="140;90"

[AlbumArt]
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"
Font=";10;normal;0"
Color="255;255;255;255"

[MissedCalls]
Icon=":/images/call.png"
PosL="center;250"
PosP="center;360"
SizeL="160;100"
Type="call"
Font=";14;normal;0"
Color="255;255;255;255"

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

[UnreadEmails]
Icon=":/images/email.png"
PosL="520;250"
PosP="right;360"
SizeL="160;100"
Type="email"
Font=";14;normal;0"
Color="255;255;255;255"If you change the configuration file you need to kill the lockscreen (or reboot).

 
To kill the lockscreen:

killall qtlockscreen

 
The package is available in extras-devel

More information can be found at this Talk Maemo thread

 
Source Twitter