View Single Post
Posts: 6 | Thanked: 9 times | Joined on Jul 2011
#90
Hi,

this is my version of lockscreen, hope you like it

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

#Path to background image for Portrait (P) and Landscape (L)
BackGroundImageP="/home/user/.config/sakya/images/wallpaper-1064497P.jpg"
BackGroundImageL="/home/user/.config/sakya/images/wallpaper-1064497L.jpg"

#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\2\Name="DateTime.DateTime"
Widgets\3\Name="Battery.Battery"
Widgets\4\Name="UnlockButton.UnlockButton"
Widgets\5\Name="Notification.MissedCalls"
Widgets\6\Name="Notification.UnreadSMS"
Widgets\7\Name="Notification.UnreadEmails"
Widgets\8\Name="DateTime.DateTime3"
#Widgets\9\Name="DateTime.DateTime2"
Widgets\Size=9

#Widgets
#  The [Name] must match the WidgetName defined in the Widgets list
[DateTime]
Alignment="left"
PosL="left;60"
PosP="left;80"
DateFont="Tabitha;0;normal;0"
TimeFont="Tabitha;120;normal;0"
TimeFormat="hh:mm"
DateFormat=""
SizeP="450;400"
SizeL="450;400"

#[DateTime2]
#Alignment="center"
#PosL="600;80"
#PosP="400;80"
#TimeFont=";30;normal;0"
#TimeFormat="AP"
#DateFont=";0;normal;0"
#DateFormat=""

[DateTime3]
Alignment="center"
PosP="center;210"
PosL="250;center"
TimeFont=";0;normal;0"
TimeFormat=""
DateFont=";30;normal;0"
DateFormat="dd-MMM-yyyy"


[Rect_Bottom]
SizeL="100;100"
PosL="center;370"
#SizeP="480;70"
SizeP="100;100"
PosP="center;690"
Radius="15"
Color="0;0;0;150"

#[Rect_Top]
#SizeL="800;80"
#SizeL="0;0"
#PosL="0;0"
#SizeP="100;100"
#PosP="center;690"
#Radius="15"
#Color="0;0;0;100"

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

[UnlockButton]
WaitTimeMsec=200
BackGroundImage=":/images/unlock.png"
BackGroundImagePressed=":/images/unlockPressed.png"
PosL="center;385"
PosP="center;705"

[MissedCalls]
Icon=":/images/call.png"
PosL="center;270"
PosP="center;420"
SizeL="160;100"
Type="call"
FontSize="Tabitha;14;normal;0"

[UnreadSMS]
Icon=":/images/message.png"
PosL="120;270"
PosP="left;560"
SizeL="180;100"
Type="sms"
FontSize="Tabitha;14;normal;0"

[UnreadEmails]
Icon=":/images/email.png"
PosL="520;270"
PosP="right;560"
SizeL="160;100"
Type="email"
FontSize="Tabitha;14;normal;0"
Font: http://www.webpagepublicity.com/free.../t/Tabitha.ttf

How To:
Make images directory ( mkdir /home/user/.config/sakya/images ) if you dont have it already.
Put wallpapers in /home/user/.config/sakya/images/
Put font in /usr/share/fonts/
Put code in /home/user/.config/sakya/QtLockscreen.ini
killall qtlockscreen

HF
Attached Images
    
 

The Following 3 Users Say Thank You to Jarno420 For This Useful Post: