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 550: Line 478:
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 665: Line 584:
Instructions : [http://talk.maemo.org/showpost.php?p=1077505&postcount=419 "Post"]
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 702: Line 609:
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"] ===
+
=== 16)Created by [http://talk.maemo.org/member.php?u=29731 "niqbal"] ===
-
''1)'' '''Absolut Pears Vodka'''<br>
+
''1)'' '''Harmattan Concept'''<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>
Tried to mimic harmattan (n950) lockscreen feel<br>
Slide the Wallpaper right to unlock<br>
Slide the Wallpaper right to unlock<br>
<br>
<br>
-
Screenshot: [http://i.imgur.com/R7Lc9.png Harmattan Portrait]<br>
+
Screenshot: [http://i.imgur.com/zkeVs.png Harmattan Portrait]<br>
-
Post      : [http://talk.maemo.org/showpost.php?p=1088019&postcount=559 Download]<br>
+
Post      : [http://talk.maemo.org/showpost.php?p=1080449&postcount=452 Download]<br>
<br>
<br>
-
''3)'' '''An Angel'''<br>
+
''2)'' '''An Angel'''<br>
Elements revolving around a beautiful angel in distress<br>
Elements revolving around a beautiful angel in distress<br>
Weather<br>
Weather<br>
Line 728: Line 627:
Post      : [http://talk.maemo.org/showpost.php?p=1076049&postcount=381 Download]<br>
Post      : [http://talk.maemo.org/showpost.php?p=1076049&postcount=381 Download]<br>
<br>
<br>
-
''4)'' '''High Definition'''<br>
+
''3)'' '''High Definition'''<br>
Elements revolving around Liquid Battery<br>
Elements revolving around Liquid Battery<br>
Weather<br>
Weather<br>
Line 737: Line 636:
Post      : [http://talk.maemo.org/showpost.php?p=1081165&postcount=474 Download]<br>
Post      : [http://talk.maemo.org/showpost.php?p=1081165&postcount=474 Download]<br>
<br>
<br>
-
''5)'' '''Album Art Original'''<br>
+
''4)'' '''Album Art Original'''<br>
Elements revolving around an album art covering most of the screen<br>
Elements revolving around an album art covering most of the screen<br>
Controls sufficiently big enough for easier thumb navigation<br>
Controls sufficiently big enough for easier thumb navigation<br>
Line 745: Line 644:
Post      : [http://talk.maemo.org/showpost.php?p=1076808&postcount=400 Download]<br>
Post      : [http://talk.maemo.org/showpost.php?p=1076808&postcount=400 Download]<br>
<br>
<br>
-
''6)'' '''Album Art Iphone'''<br>
+
''5)'' '''Album Art Iphone'''<br>
Tried to mimic Iphone Media Player Widget Lockscreen using Laith's Iphone theme<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>
Elements revolving around an album art covering most of the screen<br>
Line 755: Line 654:
Post      : [http://talk.maemo.org/showpost.php?p=1075089&postcount=374 Download]<br>
Post      : [http://talk.maemo.org/showpost.php?p=1075089&postcount=374 Download]<br>
<br>
<br>
-
''7)'' '''N900 Minions'''<br>
+
''6)'' '''N900 Minions'''<br>
Media player widget<br>
Media player widget<br>
Date via System settings<br>
Date via System settings<br>
Line 762: Line 661:
<br>
<br>
Screenshot and Post: [http://talk.maemo.org/showpost.php?p=1059253&postcount=112 Download]<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)