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 136: Line 136:
* <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)
-
* <s>Operator widget</s> (Implemented in v0.1.12)
+
* 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)
-
* <s>Signal widget</s> (Implemented in v0.1.12)
+
* Signal widget
* Change profile (general / silent) widget
* Change profile (general / silent) widget
== Widget list ==
== Widget list ==
-
There are some common settings (common to all widgets):
 
-
<pre>PosL                              position in landscape
 
-
PosP                              position in portrait
 
-
SizeL                            size in landscape
 
-
SizeP                            size in portrait
 
-
RotationL                        roatation angle in landscape
 
-
RotationP                        roatation angle in portrait</pre>
 
-
 
-
Here's a list of available widgets with their possible settings.
 
-
<pre>Widget list:
 
-
------------
 
 +
<pre>
Rect:
Rect:
   Color                          rectangle bkg color
   Color                          rectangle bkg color
Line 167: Line 157:
   TimeFont                        font for time text
   TimeFont                        font for time text
   DateFont                        font for date text
   DateFont                        font for date text
-
  BackgroundUpdateIntervalSeconds If set the widget is updated also when the lockscreen is not visible
 
Battery:
Battery:
-
  PercentageType   the type of percentage to display (default, bq27200 or dr_frost_dk)
 
   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 172:
   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
-
  SliderImagePressed           image for the slider when pressed
 
   BackgroundImage                widget background image
   BackgroundImage                widget background image
-
   UnlockXP                        unlock x position (portrait)
+
   UnlockXP                        unlock x position relative to the widget (portrait)
-
   UnlockYP                        unlock y position (portrait)
+
   UnlockYP                        unlock y position relative to the widget (portrait)
-
   UnlockXL                        unlock x position (landscape)
+
   UnlockXL                        unlock x position relative to the widget (landscape)
-
   UnlockYL                        unlock y position (landscape)
+
   UnlockYL                        unlock y position relative to the widget (landscape)
MediaPlayPauseButton:
MediaPlayPauseButton:
Line 225: Line 212:
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, center)
+
   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 218:
Text:
Text:
   Alignment                      text alignment
   Alignment                      text alignment
-
  Multiline   set it to 1 if the text is multiline
 
   Color                          text color
   Color                          text color
   Font                            text font
   Font                            text font
   Text                            text
   Text                            text
-
 
-
TextCommand:
 
-
  Alignment                      text alignment
 
-
  Color                          text color
 
-
  Font                            text font
 
-
  Text                            text
 
-
  Command                        external command to execute
 
-
  UpdateInterval                  seconds between each command execution (set to zero to disable)
 
Weather:
Weather:
-
  ShowImage                     show forecast image (1 or 0)
 
   AutoUpdateIntervalSeconds      seconds between each auto update
   AutoUpdateIntervalSeconds      seconds between each auto update
-
  ConditionsText                  text to use before the current conditions text
 
-
  ConditionsPos                  position of the current conditions text (relative to this widget)
 
-
  ConditionsFont                  color for the current conditions
 
-
  ConditionsColor                color for the current conditions
 
   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 237:
   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
-
                                  You can set this without http://weather.yahoo.com/  
+
-
                                  ex: italy/lombardy/milan-718345
+
-
                                  or set the full link:
+
-
                                  ex: http://weather.yahoo.com/italy/lombardy/milan-718345
+
   Unit                            unit to use (c or nothing)
   Unit                            unit to use (c or nothing)
-
Internet:
+
Wifi:
-
   WifiImage                      icon for wifi connection
+
   Image                           image
-
  GprsImage                      icon for gprs connection
+
</pre>
-
 
+
-
OperatorName:
+
-
  Alignment                      text alignment
+
-
  Color                           text color
+
-
  Font                            text font
+
-
  Images                          list of images to use instead of text.
+
-
                                  Ex:
+
-
                                  Vodafone IT=/home/user/vodafone.png;TIM=/home/user/tim.png
+
-
 
+
-
SignalStrength:
+
-
  Images                          list of images (separated by ;) to represent the signal strength
+
-
 
+
-
RadioMode:
+
-
  3gIcon                          image for 3g mode
+
-
  2gIcon                          image for 2g mode
+
-
 
+
-
Bluetooth:
+
-
  ImageOn                        image to display when the bluetooth is on
+
-
  ImageOff                        optional image to display when the bluetooth is off
+
-
 
+
-
Profile:
+
-
  Images                          list of images to use for profiles.
+
-
                                  Ex:
+
-
                                  general=/opt/qtlockscreen/default/profile_general.png;silent=/opt/qtlockscreen/default/profile_silent.png
+
-
 
+
-
Alarm:
+
-
  Alignment                      text alignment
+
-
  Multiline   set it to 1 if the text is multiline
+
-
  Color                          text color
+
-
  Font                            text font
+
-
  Label                          label before the alarm date/time
+
-
  Format                          format of the alarm date/time
+
-
 
+
-
Calendar:
+
-
  NoEventsText                    text displayed when no events are found
+
-
  Entries                        number of entries to display
+
-
  DateFormat                      date format
+
-
  DateColor                      date color
+
-
  DateFont                        date font
+
-
  TextColor                      text color
+
-
  TextFont                        text font</pre>
+
== Customization ==
== Customization ==
Line 332: Line 260:
'''Some guidelines for better theme quality and easier management:'''
'''Some guidelines for better theme quality and easier management:'''
-
 
-
A theme should be composed by:
 
-
- The configuration file (name it themeName.ini) in /opt/qtlockscreen
 
-
- A directory containing the images (name it /opt/qtlockscreen/themeName)
 
-
- Fonts (if needed) to be installed in /usr/share/fonts
 
'/opt/qtlockscreen/default/' is the default theme folder and should not be used to store your custom images or other files, so you should not overwrite or add / delete anything here. It is advised to create a directory that is named as your theme in directory '/opt/qtlockscreen/' and put everything there.
'/opt/qtlockscreen/default/' is the default theme folder and should not be used to store your custom images or other files, so you should not overwrite or add / delete anything here. It is advised to create a directory that is named as your theme in directory '/opt/qtlockscreen/' and put everything there.
-
Please set also 'ThemeName' and 'ThemeAuthor' in your themes - the configuration file has a section for both:
+
The configuration file has a section for the theme name:
-
 
+
<pre>ThemeName="Default"</pre>
<pre>ThemeName="Default"</pre>
Adapt this to reflect the theme namechange internally; so use the value from '<yourthemename>' here.
Adapt this to reflect the theme namechange internally; so use the value from '<yourthemename>' here.
-
The field for theme's author name:
+
Place your customized QtLockscreen.ini in /opt/qtlockscreen/<yourthemename> too, and simply symlink it to '/home/user/.config/sakya/QtLockscreen.ini' by issuing this command:
-
<pre>ThemeAuthor="sakya"</pre>
+
-
Fill both fields to support proper theme switching using the GUI application and follow the general scheme for your themes, so when the GUI utility will be released the themes will be in the correct place.
+
<pre>ln -s /opt/qtlockscreen/<yourthemename>QtLockscreen.ini /home/user/.config/sakya/QtLockscreen.ini</pre>
-
It will be supported to generate Debian packages to install themes in /opt/qtlockscreen and then set it as the active one with the configuration utility.
+
Doing so, you would not have to overwrite settings every time; this enables simple theme switching for now.
As for the backgrounds like all other customized images, it is suggested to include them in /opt/qtlockscreen/<yourthemename> as 'backgroundL.(jpg|png)' for landscape orientation and 'backgroundP.(jpg|png)' for portrait orientation.
As for the backgrounds like all other customized images, it is suggested to include them in /opt/qtlockscreen/<yourthemename> as 'backgroundL.(jpg|png)' for landscape orientation and 'backgroundP.(jpg|png)' for portrait orientation.
Line 439: Line 360:
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 469:
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]
-
 
-
 
-
5. Neon V2
 
-
 
-
Short description: Cool-looking blue dotted LED circular station, futuristic lockscreen with slide to unlock, media player, play/pause by tapping albim art, blue-dotted clock and date, portrait mode.
 
-
 
-
Screenshot: [http://i.imgur.com/Fa4dC.png "portrait"]
 
-
 
-
Config script + instructions: [http://talk.maemo.org/showpost.php?p=1073088&postcount=324 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 643: Line 553:
2- IPhone :
2- IPhone :
-
Short description: iphone style lockscreen,contains clock,date,battery,mediaplayer,wifi 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.
+
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 559:
Type : Slide to unlock
Type : Slide to unlock
-
Screenshots: with MP widget [http://img842.imageshack.us/img842/6701/screenshot2011082515280.png "Portrait"] , [http://img825.imageshack.us/img825/8140/screenshot2011082515271.png "Landscape"]
+
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=1076420&postcount=392 "Post"]
+
Instructions : [http://talk.maemo.org/showpost.php?p=1072337&postcount=299 "Post"]
-
 
+
-
 
+
-
3- Android :
+
-
 
+
-
Short description : android style lockscreen , contains clock,date,battery,wifi and notifications (missed calls,sms,IM,Email) . you can change the background as you want because all of the components of the lockscreen are transparent.
+
-
 
+
-
 
+
-
Type : Slide to unlock
+
-
 
+
-
Screenshots : [http://img844.imageshack.us/img844/6199/screenshot2011082616434.png "Portrait"] , [http://img838.imageshack.us/img838/1702/screenshot2011082718005.png "Landscape"]
+
-
 
+
-
Instructions : [http://talk.maemo.org/showpost.php?p=1077505&postcount=419 "Post"]
+
-
 
+
-
 
+
-
4- Simple Section :
+
-
 
+
-
Short description : contains clock,date,battery,wifi,gprs and notifications (missed calls,sms,IM,Email) . you can change the background as you want because all of the components of the lockscreen are transparent.
+
-
 
+
-
 
+
-
Type : Slide to unlock
+
-
 
+
-
Screenshots : [http://img534.imageshack.us/img534/2231/screenshot2011091420251.png "Portrait"] , [http://img198.imageshack.us/img198/1922/screenshot2011091602571.png "Landscape"]
+
-
 
+
-
Instructions : [http://talk.maemo.org/showpost.php?p=1089259&postcount=581 "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 587:
<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"]
-
 
-
=== 16) Created by [http://talk.maemo.org/member.php?u=29731 "niqbal"] ===
 
-
 
-
''1)'' '''Absolut Pears Vodka'''<br>
 
-
Smaller liquid battery used<br>
 
-
Slide the wallpaper up to unlock<br>
 
-
Slide up inspiration from WP7<br>
 
-
<br>
 
-
Screenshot: [http://i.imgur.com/4cxfb.png Absolut Pears Portrait]<br>
 
-
Post      : [http://talk.maemo.org/showpost.php?p=1088019&postcount=559 Download]<br>
 
-
<br>
 
-
''2)'' '''Harmattan Concept'''<br>
 
-
Tried to mimic harmattan (n950) lockscreen feel<br>
 
-
Slide the Wallpaper right to unlock<br>
 
-
<br>
 
-
Screenshot: [http://i.imgur.com/R7Lc9.png Harmattan Portrait]<br>
 
-
Post      : [http://talk.maemo.org/showpost.php?p=1088019&postcount=559 Download]<br>
 
-
<br>
 
-
''3)'' '''An Angel'''<br>
 
-
Elements revolving around a beautiful angel in distress<br>
 
-
Weather<br>
 
-
Probably the most eye-pleasing lockscreen<br>
 
-
Slide up to unlock<br>
 
-
<br>
 
-
Screenshot: [http://i.imgur.com/CVGv9.png An Angel Portrait]<br>
 
-
Post      : [http://talk.maemo.org/showpost.php?p=1076049&postcount=381 Download]<br>
 
-
<br>
 
-
''4)'' '''High Definition'''<br>
 
-
Elements revolving around Liquid Battery<br>
 
-
Weather<br>
 
-
Slide right to Unlock<br>
 
-
Apply custom wallpaper <br>
 
-
<br>
 
-
Screenshot: [http://i.imgur.com/qxVWa.png HD Portrait]<br>
 
-
Post      : [http://talk.maemo.org/showpost.php?p=1081165&postcount=474 Download]<br>
 
-
<br>
 
-
''5)'' '''Album Art Original'''<br>
 
-
Elements revolving around an album art covering most of the screen<br>
 
-
Controls sufficiently big enough for easier thumb navigation<br>
 
-
Slide right to Unlock<br>
 
-
<br>
 
-
Screenshot: [http://i.imgur.com/bTYCp.png Album Art Portrait]<br>
 
-
Post      : [http://talk.maemo.org/showpost.php?p=1076808&postcount=400 Download]<br>
 
-
<br>
 
-
''6)'' '''Album Art Iphone'''<br>
 
-
Tried to mimic Iphone Media Player Widget Lockscreen using Laith's Iphone theme<br>
 
-
Elements revolving around an album art covering most of the screen<br>
 
-
Controls made big enough for comfortable control<br>
 
-
Date using System fonts<br>
 
-
Slide right to unlock<br>
 
-
<br>
 
-
Screenshot: [http://i.imgur.com/R4Xxs.png Album Art Iphone Portrait]<br>
 
-
Post      : [http://talk.maemo.org/showpost.php?p=1075089&postcount=374 Download]<br>
 
-
<br>
 
-
''7)'' '''N900 Minions'''<br>
 
-
Media player widget<br>
 
-
Date via System settings<br>
 
-
Press to Unlock<br>
 
-
Available for both Portrait and Landscape<br>
 
-
<br>
 
-
Screenshot and Post: [http://talk.maemo.org/showpost.php?p=1059253&postcount=112 Download]<br>
 
-
 
-
== Upload your lockscreen theme to Repository ==
 
-
''' Pre-requisites : '''
 
-
Three things are necessary to upload to maemo.org Extras:
 
-
* A [http://garage.maemo.org/ Garage] account: [[https://garage.maemo.org/account/register.php signup]]
 
-
* An "invitation" to upload: [[https://garage.maemo.org/extras-assistant/index.php?target=invitation_request request]]
 
-
* Install MADDE to you pc: [[http://tablets-dev.nokia.com/MADDE.php download]]
 
-
 
-
''' Preparing the package : '''
 
-
First of all download the [http://www.mediafire.com/?9gkg25p911n752r lockscreen source template]
 
-
- after uncompressing it you will get xxxx-lockscreen folder , you must change xxxx to your lockscreen theme name
 
-
- Now copy image folder and .ini file to :
 
-
  /xxxx-lockscreen/src/opt/qtlockscreen
 
-
- Copy font file (if there is font) to :
 
-
  /xxxx-lockscreen/src/opt/usr/share/fonts
 
-
- In /xxxx-lockscreen/debian you will find necessary file for packaging , you must edit it and add your lockscreen theme information (only edit chanelog,control and rules)
 
-
'''1-Editing changelog file:'''
 
-
changelog file contain these lines :
 
-
  xxxx-lockscreen (version no.) stable; urgency=low
 
-
    put changes here .
 
-
  -- creator <email>  Sun, 18 Sep 2011 15:40:51 +0000
 
-
change the informations to become something like this examlpe :
 
-
  iphone-lockscreen (1.0) stable; urgency=low
 
-
    add operator name widget .
 
-
    -- your name <your email>  Mon, 19 Sep 2011 12:25:47 +0000
 
-
'''2-Editing control file:'''
 
-
control file contain these lines :
 
-
  Source: xxxx-lockscreen
 
-
  Section: user/graphics
 
-
  Priority: extra
 
-
  Maintainer:  <>
 
-
  Build-Depends: libqt4-dev
 
-
  Standards-Version:
 
-
  Package: xxxx-lockscreen
 
-
  Architecture: all
 
-
  Depends: qtlockscreen, qtlockscreenconfig
 
-
  Description:
 
-
  XB-Maemo-Display-Name: xxxx Lockscreen
 
-
  XSBC-Bugtracker:
 
-
  XB-Maemo-Icon-26:
 
-
change the information to become something like this example:
 
-
  Source: iphone-lockscreen
 
-
  Section: user/graphics
 
-
  Priority: extra
 
-
  Maintainer: your name <your email>
 
-
  Build-Depends: libqt4-dev
 
-
  Standards-Version: 1.0
 
-
  Package: iphone-lockscreen
 
-
  Architecture: all
 
-
  Depends: qtlockscreen, qtlockscreenconfig
 
-
  Description: iphone style lockscreen .
 
-
  XB-Maemo-Display-Name: Iphone Lockscreen
 
-
  XSBC-Bugtracker:
 
-
  XB-Maemo-Icon-26:
 
-
'''3-Editing rule file:'''
 
-
you must only edit these lines in the rules file :
 
-
  #$(MAKE) DESTDIR="$(CURDIR)/debian/xxxx-lockscreen" install
 
-
  mkdir -p "$(CURDIR)/debian/xxxx-lockscreen"
 
-
  mkdir -p "$(CURDIR)/debian/xxxx-lockscreen/usr/share/fonts/"
 
-
  cp -a "src/usr/share/fonts/font name.ttf" "$(CURDIR)/debian/xxxx-lockscreen/usr/share/fonts/"
 
-
  mkdir -p "$(CURDIR)/debian/xxxx-lockscreen/opt/qtlockscreen/"
 
-
  cp -a "src/opt/qtlockscreen/folder name" "$(CURDIR)/debian/xxxx-lockscreen/opt/qtlockscreen/"
 
-
  cp -a "src/opt/qtlockscreen/config file name.ini" "$(CURDIR)/debian/xxxx-lockscreen/opt/qtlockscreen/"
 
-
change these lines to somthing like this example:
 
-
  #$(MAKE) DESTDIR="$(CURDIR)/debian/iphone-lockscreen" install
 
-
  mkdir -p "$(CURDIR)/debian/iphone-lockscreen"
 
-
  mkdir -p "$(CURDIR)/debian/iphone-lockscreen/usr/share/fonts/"
 
-
  cp -a "src/usr/share/fonts/Arial.ttf" "$(CURDIR)/debian/iphone-lockscreen/usr/share/fonts/"
 
-
  mkdir -p "$(CURDIR)/debian/iphone-lockscreen/opt/qtlockscreen/"
 
-
  cp -a "src/opt/qtlockscreen/Iphone" "$(CURDIR)/debian/iphone-lockscreen/opt/qtlockscreen/"
 
-
  cp -a "src/opt/qtlockscreen/Iphone.ini" "$(CURDIR)/debian/iphone-lockscreen/opt/qtlockscreen/"
 
-
- After editing these files (changelog,control and rules) you must convert it to unix format using MADDE by these commands:
 
-
  cd /path/xxxx-lockscreen/debian/
 
-
  tr -d '\r' < rules > rules1
 
-
  tr -d '\r' < changelog > changelog1
 
-
  tr -d '\r' < control > control1
 
-
now delete rules,changelog and control ,then rename rules1,changelog1 and control1 to rules,changelog,control
 
-
 
-
''' Uploading to extras-devel : '''
 
-
- you must create all needed files to upload it using MADDE by these commands :
 
-
    cd /path/xxxx-lockscreen
 
-
    mad dpkg-buildpackage -sa -S
 
-
now you will get inside xxxx-lockscreen folder three files (.changes,.dsc.tar.gz)
 
-
- Go to [https://garage.maemo.org/extras-assistant/index.php Maemo Extras Assistant] to upload your lockscreen files
 
-
- In step 1 login
 
-
- In step 2 choose fremantle and upload .changes file
 
-
- In step 3 upload .dsc and .tar.gz file
 
-
- In step 4 click on "move to autobuilder"
 
-
- your package will be in repository in 30 min
 
== Donations ==
== Donations ==

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)