Notices


Reply
Thread Tools
eefo's Avatar
Posts: 1,444 | Thanked: 461 times | Joined on Dec 2010 @ pakistan
#321
Originally Posted by Loz View Post
Ok looking good ish... I know Im in the right place now cuz the portrait image isnt there now!! lol... but atleast I know were to go to sort it out... ill be back with the final outcome shortly..

Loz.
hope to see a screenshot in next post :P
__________________
Every hero becomes a bore at last.
www.itechiapk.com
 
nokiaqueen's Avatar
Posts: 163 | Thanked: 38 times | Joined on Apr 2010
#322
ok I'm having issues...when I installed the app it ran fine but now that I'm trying to change the background it just won't work

Code:
 [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/lockslider1-1.png"
BackGroundImageL="/etc/hildon/theme/backgrounds/lockslider-1.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\16\Name="Notification.NewIM"
Widgets\Size=16

#Widgets
#  The [Name] must match the WidgetName defined in the Widgets list
[DateTime]
Alignment="center"
PosL="center;0"
PosP="center;0"
SizeL="200;80"
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"
ChargingImage=":/images/battery_charging.png"
PosL="700;15"
PosP="380;15"
PercentageFont=";8;normal;0"
PercentageColor="255;255;255;255"

[UnlockButton]
WaitTimeMsec=800
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="224;250"
PosP="center;360"
SizeL="160;100"
Type="call"
Font=";14;normal;0"
Color="255;255;255;255"

[UnreadSMS]
Icon=":/images/message.png"
PosL="32;250"
PosP="left;360"
SizeL="160;100"
Type="sms"
Font=";14;normal;0"
Color="255;255;255;255"

[UnreadEmails]
Icon=":/images/email.png"
PosL="416;250"
PosP="right;360"
SizeL="160;100"
Type="email"
Font=";14;normal;0"
Color="255;255;255;255"

[NewIM]
Icon=":/images/message.png"
PosL="608;250"
PosP="center;460" 
SizeL="160;100"
Type="im"
Font=";14;normal;0"
Color="255;255;255;255"
ok when I lock the screen by pressing the power button twice, upon unlock I see the default slider lock screen, and when I press the power button once and form the options select to lock screen and keys, I see sakya lock screen (but with black background, and not with the background image I chose)

so i have both lockscreens working currently on my phone
Attached Images
  

Last edited by nokiaqueen; 2011-07-27 at 16:01.
 
Loz's Avatar
Posts: 127 | Thanked: 49 times | Joined on Nov 2010 @ Ipswich, Uk
#323
Originally Posted by nokiaqueen View Post
ok I'm having issues...when I installed the app it ran fine but now that I'm trying to change the background it just won't work

Code:
 [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/lockslider1-1.png"
BackGroundImageL="/etc/hildon/theme/backgrounds/lockslider-1.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\16\Name="Notification.NewIM"
Widgets\Size=16

#Widgets
#  The [Name] must match the WidgetName defined in the Widgets list
[DateTime]
Alignment="center"
PosL="center;0"
PosP="center;0"
SizeL="200;80"
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"
ChargingImage=":/images/battery_charging.png"
PosL="700;15"
PosP="380;15"
PercentageFont=";8;normal;0"
PercentageColor="255;255;255;255"

[UnlockButton]
WaitTimeMsec=800
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="224;250"
PosP="center;360"
SizeL="160;100"
Type="call"
Font=";14;normal;0"
Color="255;255;255;255"

[UnreadSMS]
Icon=":/images/message.png"
PosL="32;250"
PosP="left;360"
SizeL="160;100"
Type="sms"
Font=";14;normal;0"
Color="255;255;255;255"

[UnreadEmails]
Icon=":/images/email.png"
PosL="416;250"
PosP="right;360"
SizeL="160;100"
Type="email"
Font=";14;normal;0"
Color="255;255;255;255"

[NewIM]
Icon=":/images/message.png"
PosL="608;250"
PosP="center;460" 
SizeL="160;100"
Type="im"
Font=";14;normal;0"
Color="255;255;255;255"
Dont think youve done anything wrong but what I had to do was the image i imported were jpg and Im assuming that yours are jpg too? and so what i did was at the end of the line were it finishes png" lose the little " and type .jpg" then see how you go.

Loz.
__________________
SGS3 unlocked and rooted, N900 @ 1100 MHz Poetry in motion.( When it works! )

Audiophile real hi end hifi lover: Revolver Rebel turntable Ortofon CMBPRO stylus, Arcam FMJ MS250 Media server, Krell KRC-2 Analogue pre amp, DENON UDRA-70 sub amp, Harmon Kardon EQ8 eq.
ECS EA1 mono block amps x2, Tannoy M3, Tannoy ST50 super tweeters.
Tannoy 625 Alfie Sub, Revo iblik Wifi reflashed now with DAB. Pure Sound


Dont steal, the govenment hates the compitition.

www.vacrite.co.uk
 
nokiaqueen's Avatar
Posts: 163 | Thanked: 38 times | Joined on Apr 2010
#324
Originally Posted by Loz View Post
Dont think youve done anything wrong but what I had to do was the image i imported were jpg and Im assuming that yours are jpg too? and so what i did was at the end of the line were it finishes png" lose the little " and type .jpg" then see how you go.

Loz.
my images are .png so changing it to .jpg won't work.

i tried adding .jpg images into it as well but still i'm getting same black background.

Last edited by nokiaqueen; 2011-07-27 at 16:45.
 
Loz's Avatar
Posts: 127 | Thanked: 49 times | Joined on Nov 2010 @ Ipswich, Uk
#325
Originally Posted by nokiaqueen View Post
my images are .png so changing it to .jpg won't work.

i tried adding .jpg images into it as well but still i'm getting same black background.
If youve added them to the same location as the originals and no text as changed in the paths? then I would surgest the image size!. what do you say?

Loz
__________________
SGS3 unlocked and rooted, N900 @ 1100 MHz Poetry in motion.( When it works! )

Audiophile real hi end hifi lover: Revolver Rebel turntable Ortofon CMBPRO stylus, Arcam FMJ MS250 Media server, Krell KRC-2 Analogue pre amp, DENON UDRA-70 sub amp, Harmon Kardon EQ8 eq.
ECS EA1 mono block amps x2, Tannoy M3, Tannoy ST50 super tweeters.
Tannoy 625 Alfie Sub, Revo iblik Wifi reflashed now with DAB. Pure Sound


Dont steal, the govenment hates the compitition.

www.vacrite.co.uk
 

The Following User Says Thank You to Loz For This Useful Post:
Posts: 270 | Thanked: 45 times | Joined on May 2010 @ UK
#326
Originally Posted by nokiaqueen View Post
my images are .png so changing it to .jpg won't work.

i tried adding .jpg images into it as well but still i'm getting same black background.
i had same problem but i solved it by making sure that you have correct path chosen for the file for instance if your file is in images then the path should be
/home/user/MyDocs/.images/wallpapername.JPG
make sure jpg is written in caps hopefully thats should work!
then make sure you save the .ini file and write
killalla qtlockscreen in xterminal
give that a try!
 

The Following 2 Users Say Thank You to romiiio For This Useful Post:
nokiaqueen's Avatar
Posts: 163 | Thanked: 38 times | Joined on Apr 2010
#327
thanks Lolz and romiiio....romiiio I did as u said and it worked...I guess JPG needed to be capitalized...thanks a bunches
 
Posts: 270 | Thanked: 45 times | Joined on May 2010 @ UK
#328
Nokiaqueen you are welcome!
TO SET YOUR 800 X 480 JPEG WALLPAPERS AS YOUR LOCKSCREEN BACKGROUND FOLLOW THIS INSTRUCTION!
make sure you choose the correct path to the folder as following
/home/user/MyDocs/.images/wallpapername.JPG
make sure jpg is in capital then make sure you save .ini and write killall qtlockscreen in x-terminal and thats it done for portrait mode make sure you have 480 X 800 pictures and you can still use jpeg files as much as you write .jpg in capital like this .JPG
this for the people who dont have much knowledge with this or are having trouble i have tried to be as simple as i can hope this helps!
 

The Following 2 Users Say Thank You to romiiio For This Useful Post:
Posts: 52 | Thanked: 42 times | Joined on Jan 2010 @ Bulgaria
#329
I think I found a small bug with this otherwise quite polished app.
The size of the Date rectangle seems to be static and most probably it's size is determined during start up according to the current string in the ini file. But that way if you start your phone lets say on Monday and the string is like "Monday 31 August 2011", eventually when you end up on "Saturday 10 September 2011" the string won't fit and is cut at both ends. This happens in both landscape and portrait modes.
Initially I thought that there is something wrong with the ini config file,
but after manual restart of qtlockscreen the problem was solved.

Does anyone else has experienced such behavior?
__________________
N900 Bulgarian localization
 
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#330
You're right. I didn' think the date would change.
To solve this issue just set an explicit size in the config file for the datetime widget. The default config file of the next version will be fixed.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:58.