Editing QtLockscreen
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 36: | Line 36: | ||
== Change Log == | == Change Log == | ||
- | ===''' Version 0.1. | + | ===''' 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 | ||
- | + | ===''' Version 0.1.4 '''=== | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | * Added german translation (NightShift79) | |
- | + | * The default config file is always copied to /home/user/.config/sakya/QtLockscreen.ini.default | |
- | * | + | * Added postrm script |
- | + | * Fixed metadata update | |
- | + | ||
- | + | ||
- | * Fixed | + | |
- | + | ||
===''' Version 0.1.5 '''=== | ===''' Version 0.1.5 '''=== | ||
Line 91: | Line 74: | ||
* Removed embedded resources: all resources are copied to /opt/qtlockscreen | * Removed embedded resources: all resources are copied to /opt/qtlockscreen | ||
- | ===''' Version 0.1. | + | ===''' Version 0.1.6 '''=== |
- | * | + | * Fixed background problem when Orientation is set to "portrait" |
- | + | * Added to SlideToUnlock settings UnlockXL, UnlockXP, UnlockYL, UnlockYP | |
- | * Added | + | |
- | + | ||
- | ===''' Version 0.1. | + | ===''' Version 0.1.7 '''=== |
- | * | + | * Fixed background problem when Orientation is set to "portrait" (really) :) |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ===''' Version 0.1. | + | ===''' Version 0.1.8 '''=== |
- | * Fixed | + | * Added setting to override the system locale (see the default config file) |
+ | * Added wifi widget | ||
+ | * Added Weather widget | ||
+ | * Fixed albumart corrupted if the widget has different size in portrait and landscape | ||
+ | * Added languages: sv_SV | ||
+ | * Fixed: reverted to old orientation manager (it should fix the problems appeared from version 0.1.5) | ||
- | ===''' Version 0.1. | + | ===''' Version 0.1.9 '''=== |
- | * | + | * Fixed Weather widget script |
- | * | + | * Fixed languages: sv_SV (I forgot the file in v.0.1.8) |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
== Known Issues == | == Known Issues == | ||
Line 124: | Line 102: | ||
* The rotation is slow. | * The rotation is slow. | ||
* Album art is not loaded correctly in some situations | * Album art is not loaded correctly in some situations | ||
- | |||
== Requested Features == | == Requested Features == | ||
Line 136: | Line 113: | ||
* <s>Swipe to unlock widget / feature</s> (Implemented in v0.1.5) | * <s>Swipe to unlock widget / feature</s> (Implemented in v0.1.5) | ||
* <s>IM notification widget</s> (Implemented in v0.1.5) | * <s>IM notification widget</s> (Implemented in v0.1.5) | ||
- | * | + | * Operator widget |
* <s>Wifi/3g widget</s> (Implemented in v0.1.8) | * <s>Wifi/3g widget</s> (Implemented in v0.1.8) | ||
* <s>Weather widget</s> (Implemented in v0.1.8) | * <s>Weather widget</s> (Implemented in v0.1.8) | ||
- | * | + | * Signal widget |
* Change profile (general / silent) widget | * Change profile (general / silent) widget | ||
== Widget list == | == Widget list == | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
+ | </pre> | ||
DateTime: | DateTime: | ||
Alignment text alignment | Alignment text alignment | ||
Line 167: | Line 130: | ||
TimeFont font for time text | TimeFont font for time text | ||
DateFont font for date text | DateFont font for date text | ||
- | |||
Battery: | Battery: | ||
- | |||
Images list of images (separated by ;) to represent the battery charge | Images list of images (separated by ;) to represent the battery charge | ||
ChargingImage image to use when the battery is charging | ChargingImage image to use when the battery is charging | ||
Line 184: | Line 145: | ||
SliderPos initial slider position (relative to the widget) | SliderPos initial slider position (relative to the widget) | ||
SliderImage image for the slider | SliderImage image for the slider | ||
- | |||
BackgroundImage widget background image | BackgroundImage widget background image | ||
UnlockXP unlock x position (portrait) | UnlockXP unlock x position (portrait) | ||
Line 225: | Line 185: | ||
Notification: | Notification: | ||
Type notification type (call, sms, email, im) | Type notification type (call, sms, email, im) | ||
- | TextAlignment text alignment relative to the image (top, bottom, left, right | + | TextAlignment text alignment relative to the image (top, bottom, left, right) |
Color text color | Color text color | ||
Font text font | Font text font | ||
Line 231: | Line 191: | ||
Text: | Text: | ||
Alignment text alignment | Alignment text alignment | ||
- | |||
Color text color | Color text color | ||
Font text font | Font text font | ||
Text text | Text text | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
Weather: | Weather: | ||
- | |||
AutoUpdateIntervalSeconds seconds between each auto update | AutoUpdateIntervalSeconds seconds between each auto update | ||
- | |||
- | |||
- | |||
- | |||
CurrentText text to use before the current temp | CurrentText text to use before the current temp | ||
CurrentPos position of the current temp text (relative to this widget) | CurrentPos position of the current temp text (relative to this widget) | ||
Line 264: | Line 210: | ||
LowColor color for the current temp | LowColor color for the current temp | ||
MinimumSecondsBetweenUpdates minimum time between each update | MinimumSecondsBetweenUpdates minimum time between each update | ||
- | Link yahoo weather link | + | Link yahoo weather link (without http://weather.yahoo.com/) ex: italy/lombardy/milan-718345 |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
Unit unit to use (c or nothing) | Unit unit to use (c or nothing) | ||
- | + | Wifi: | |
- | + | Image image | |
- | + | </pre> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
== Customization == | == Customization == | ||
Line 331: | Line 232: | ||
(it is automatically created in /home/user/.config/sakya/QtLockscreen.ini the first time the app is launched) '''as root''': | (it is automatically created in /home/user/.config/sakya/QtLockscreen.ini the first time the app is launched) '''as root''': | ||
- | ''' | + | '''Just some hints for better theme quality and easier management:''' |
- | + | /opt/qtlockscreen/default/ is the default theme and shouldn't use it to store your custom images, so you should not overwrite files here. It is advised to create a directory that is named as your theme in directory /opt/qtlockscreen/ and put everything there. | |
- | + | ||
- | + | ||
- | + | ||
- | + | Additionally, place your customized QtLockscreen.ini in /opt/qtlockscreen/<yourthemename> too, and simply symlink it to /home/user/.config/sakya/QtLockscreen.ini: | |
- | + | <pre> | |
+ | ln -s /opt/qtlockscreen/<yourthemename> /home/user/.config/sakya QtLockscreen.ini | ||
+ | </pre> | ||
- | + | Doing so, you would not have to overwrite settings every time; this enables simple theme switching for now. | |
- | + | ||
- | + | -> this file also uses 'ThemeName = <themename>' instead of "Default" internally | |
- | < | + | |
- | + | As for the backgrounds like all other customized images, it is suggested to also include them in /opt/qtlockscreen/<yourthemename> as 'backgroundL.(jpg|png)' for landscape orientation and 'backgroundP.(jpg|png)' for portrait orientation. | |
- | + | As the major result of taking such precautions your QtLockscreen theme is basically self-contained, and can be more easily distributed to other users. Another positive point is it will not place used theme backgrounds / icons that are not true desktop backgrounds in '/home/user/MyDocs/.images' or other file system directories too, keeping everything tidy. | |
- | + | <pre>[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 | ||
+ | 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" | ||
+ | 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" | ||
+ | </pre> | ||
+ | |||
+ | If you change the configuration file you need to kill the lockscreen (or reboot). | ||
+ | |||
+ | To kill the lockscreen type | ||
+ | |||
+ | <pre>pkill -HUP qtlockscreen</pre> | ||
+ | |||
+ | in Xterm and hit enter. | ||
=== Customizing time format === | === Customizing time format === | ||
Line 398: | Line 447: | ||
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. | 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. | Just be sure that the Size you set is enough to display the icon and the text. | ||
- | To change the notifications icon you | + | To change the notifications icon you shold change the |
<pre>Icon=":/images/message.png"</pre> | <pre>Icon=":/images/message.png"</pre> | ||
Line 414: | Line 463: | ||
rm .config/sakya/QtLockscreen.ini | rm .config/sakya/QtLockscreen.ini | ||
pkill -HUP qtlockscreen</pre> | pkill -HUP qtlockscreen</pre> | ||
+ | |||
== Available Customizations == | == Available Customizations == | ||
Line 439: | Line 489: | ||
Config.ini: n/a | Config.ini: n/a | ||
- | |||
- | |||
=== 3) Created by [http://talk.maemo.org/member.php?u=51399 "Hurrian"] === | === 3) Created by [http://talk.maemo.org/member.php?u=51399 "Hurrian"] === | ||
Line 550: | Line 598: | ||
Config script + instructions: [http://talk.maemo.org/showpost.php?p=1061798&postcount=4098 Post] | Config script + instructions: [http://talk.maemo.org/showpost.php?p=1061798&postcount=4098 Post] | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
=== 12) Created by [http://talk.maemo.org/member.php?u=41707 "Harick"] === | === 12) Created by [http://talk.maemo.org/member.php?u=41707 "Harick"] === | ||
Line 617: | Line 656: | ||
Instructions: [http://talk.maemo.org/showpost.php?p=1069510&postcount=223 Post] | Instructions: [http://talk.maemo.org/showpost.php?p=1069510&postcount=223 Post] | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
=== 13) Created by [http://talk.maemo.org/member.php?u=50952 "Laith.M.Y"] === | === 13) Created by [http://talk.maemo.org/member.php?u=50952 "Laith.M.Y"] === | ||
Line 643: | Line 672: | ||
2- IPhone : | 2- IPhone : | ||
- | Short description: iphone style lockscreen,contains clock,date,battery,mediaplayer | + | Short description: iphone style lockscreen,contains clock,date,battery,mediaplayer and notifications . All notifications availables (Missed calls,SMS,IM and Email).You can change the background as you want because the backgrounds of time and slider are transparent. |
3 backgrounds available (default iphone background , Clown fish , Fresh series) | 3 backgrounds available (default iphone background , Clown fish , Fresh series) | ||
Line 649: | Line 678: | ||
Type : Slide to unlock | Type : Slide to unlock | ||
- | Screenshots: with MP widget [http:// | + | Screenshots: with MP widget [http://img819.imageshack.us/img819/5779/screenshot2011081815212.png "Portrait"] , [http://img716.imageshack.us/img716/9258/screenshot2011081816105.png "Landscape"] |
, without MP widget [http://img600.imageshack.us/img600/3701/screenshot2011081822571.png "Portrait"] , [http://img148.imageshack.us/img148/8516/screenshot2011081822564.png "Landscape"] | , without MP widget [http://img600.imageshack.us/img600/3701/screenshot2011081822571.png "Portrait"] , [http://img148.imageshack.us/img148/8516/screenshot2011081822564.png "Landscape"] | ||
- | Instructions : [http://talk.maemo.org/showpost.php?p= | + | Instructions : [http://talk.maemo.org/showpost.php?p=1072337&postcount=299 "Post"] |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
=== 14) Created by [http://talk.maemo.org/member.php?u=47919 "Robin92"] === | === 14) Created by [http://talk.maemo.org/member.php?u=47919 "Robin92"] === | ||
Line 701: | Line 706: | ||
<br> | <br> | ||
Screenshots & Download: [http://talk.maemo.org/showpost.php?p=1072727&postcount=309 "http://talk.maemo.org/showpost.php?p=1072727&postcount=309"] | Screenshots & Download: [http://talk.maemo.org/showpost.php?p=1072727&postcount=309 "http://talk.maemo.org/showpost.php?p=1072727&postcount=309"] | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
== Donations == | == Donations == |
Learn more about Contributing to the wiki.