QtLockscreen

General Information
QtLockscreen is a highly configurable replacement of Maemo5 default lockscreen created by "sakya". (Credits for the backend go to "MohammadAG")

Further information and discussions can be found here:


 * "(Announce) QtLockscreen: highly configurable lockscreen replacement"
 * "Share your QtLockscreen configs!"

For further support and information you might want to check these threads.

Check this "Screenshot" and this "video" (Created by "F2thak" ) to get an impression of how OtLockscreen looks. Currently this app is available from extras-devel (See Package Info Page).

Disclaimer
!!! CAUTION !!!

Default extras-devel disclaimer: This project is still in development stage, which means there might still be some risks, downsides and issues to be solved before it is ready for the average user... Please read this summary carefully and evaluate the risks involved for yourself! (Keep in mind that this can cause problems for the phone. Backup your data, backup your config (apps > system > backup) and know how to reflash)

Whatever you do, you are doing it at your own risk!

Version 0.1.0

 * Initial Release

Version 0.1.1

 * Changed default background to /etc/hildon/theme/backgrounds/lockslider.png
 * Changed font settings, format = "fontName;fontSize;fontWeight;italic"

Version 0.1.2

 * Fixed _HILDON_WM_ACTION_NO_TRANSITIONS

Version 0.1.3

 * Added italian translation
 * Added french translation (GaRy delaMEr)
 * Added PercentageColor setting for battery widget
 * Fixed: the lockscreen was on top of the alarm dialog
 * Fixed: battery widget now has a ChargingImage setting

Known Issues

 * When the power button is clicked the app does not update the screen for 2 seconds. This seems a Qt problem: every qt application "locks" when the power button is pressed, I don't know why.
 * The rotation is slow.

Requested Features

 * GUI for configuration (sakya is currently not planning to create a GUI, maybe someone is willing to help out here ;-) )
 * Icons to indicate wifi/3G connection
 * Clicking on the notifications directly opens the related app. i.e. sms' opens the conversation app, missed calls opens the phone app
 * Configuring the length of time the lockscreen stays before fading out

Planned Features

 * Swipe to unlock widget / feature

Customization
Every item on the screen is configurable (position, size, font, image...). You can also remove or add items.

!!!Note: Items are called widget in this context. But these aren't Maemo desktop widgets. You can't add a desktop widget to this lockscreen. "Widgets" are coded specifically for the lockscreen, you can use only the widgets provided by the app (rectangle, metadata, datetime....) Widgets are drawn in the order they are created, the last is the topmost.

In order to customize QtLocscreen you need to edit the default configuration (it is automatically created in /home/user/.config/sakya/QtLockscreen.ini the first time the app is launched):

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

Orientation="auto"
 * 1) Orientation: auto, landscape, portrait

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

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
 * 1) List of widgets.
 * 2)  Name is composed by WidgetType.WidgetName
 * 3)  The WidgetName must be unique.
 * 4)  Please respect the numeric order, don't leave "holes" in the list and set a correct Size.
 * 5)  If you add/remove widget remember to update the Size at the end of the list.
 * 6)  Widgets are drawn using this order: the higher number is the topmost widget

[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"
 * 1) Widgets
 * 2)  The [Name] must match the WidgetName defined in the Widgets list

[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 type

killall qtlockscreen

in Xterm and hit enter.

Customizing time format
Change TimeFormat="hh:mm"

to, if you want AM/PM TimeFormat="hh:mm AP"

or, if you want am/pm TimeFormat="hh:mm ap"

Customizing icons
Icon can be any size. The icon will be center/top aligned in the size you give to the widget, the text will be horizontally centered just under the icon. Just be sure that the Size you set is enough to display the icon and the text. To change the notifications icon you shold change the Icon=":/images/message.png"

The ":/" refers to the project resources, you have to use a "normal" path "/home/user/..."

Positioning items
You need to define the numbers of pixels, but you can also do "center; center" (for example) to get the object perfectly centered

Available Customizations
Please share your customized lockscreens here!!!

1) Created by "F2thak"
Short description: Bigger time and date, no email/media widget

Screenshot: "Screenshot"

Config.ini: "link"

2) Created by "qw3rty"
Short description: Big next track button

Screenshot: "Landscape" "portrait"

Config.ini: n/a

3) Created by "Hurrian"
Short description: Big time, time and date left, media widget whole width

Screenshot: "Landscape" similar version "Landscape"

Config.ini: "link"

Images: "link"

4) Created by "Syndrome"
Short description: No media player, custom wallpaper

Screenshot: "Landscape"

Config.ini: n/a

5) Created by "kishanW"
Short description: Biiiig time

Screenshot: "Portrait"

Config.ini: n/a

6) Created by "qw3rty"
Short description: Very music player centric, larger album cover and buttons. Play/pause by tapping the cover.

Screenshot: "Landscape" "portrait"

Config.ini: "link"

7) Created by "lingling92"
Short description: Big time, date and media player, notifications only in portrait mode

Screenshot: "Landscape" "portrait"

Config.ini: "link"

8) Created by "Zekahz"
Short description: Only portrait mode edited, big time, no top bar. The space above the time and date is one giant invisible media player next-button

Screenshot: "portrait"

Config.ini: n/a

9) Created by "Alfred"
Short description: Bigger time, date and album art. Everything centered in portrait. Different wallpapers for portrait and landscape.

Screenshot: "landscape" "portrait"

Config.ini: n/a

Donations
...are welcome: "donate"