maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   N9 Standby / Low Power Mode Lock Screen MOD (https://talk.maemo.org/showthread.php?t=79210)

F2thaK 2011-10-19 12:42

N9 Standby / Low Power Mode Lock Screen MOD
 
Below is a link to a lock screen MOD for N9.

More info below of how to customise the lock screen even more!

*Compatible with PR1.2*


http://blogs.nokia.com/northblog/wp-....-14.28.38.png

http://blogs.nokia.com/northblog/dev...your-nokia-n9/



VIDEO

http://i4.ytimg.com/vi/Cv5ljfn5hNg/hqdefault.jpg
http://www.youtube.com/watch?v=Cv5ljfn5hNg





--------------------------------------------------------------------------------

To increase size of operator logo image/clock/date,
change colour of date/clock, and change lock screen corners:




All modifications are made in the file:
/usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/libsysuid-screenlock-nokia.css



for LOCK SCREEN CORNERS:

[update: this MOD doesnt work as of PR1.1]

under "LockScreenBackgroundPixmapStyle"

change:

corner-radius: 0mm; > corner radius

[set to zero for square edges, increase to get rounder edges.]



for standby CLOCK:

under "LockScreen MLabelStyle#LockScreenLowPowerModeClockLabel"

change:

font: $FONT_FAMILY_LIGHT 11mm; > font size
color: #dc0000; > font colour
preferred-size: -1 11.4mm; > font size
minimum-size: -1 11.4mm; > font size
maximum-size: -1 11.4mm; > font size

[all font size numbers must match, Ive found 11 is pretty well the biggest you can go. you can change FONT_FAMILY_LIGHT to FONT_FAMILY_BOLD for a bold font.]



for OPERATOR LOGO:

under "LockScreen MImageWidgetStyle#LockScreenLowPowerModeOperatorLo go"

change:

minimum-size: 45mm 45mm; > size
maximum-size: 45mm 45mm; > size

[maximum size is pretty well 45mm. for this setting I used a square 450 pixel image, so 1mm = 1 pixel.]



for LOCK SCREEN CLOCK

under "LockScreen MLabelStyle#LockScreenHeaderClockLabel"

change:

font: $FONT_FAMILY_LIGHT 11mm; > font size
color: #FFFFFF; > font colour
preferred-size: -1 11.4mm; > font size
minimum-size: -1 11.4mm; > font size
maximum-size: -1 11.4mm; > font size

[you can change FONT_FAMILY_LIGHT to FONT_FAMILY_BOLD for a bold font.]

slai 2011-10-19 13:10

Re: N9 Lock Screen MOD
 
ey! i was just gonna post that.

Request that you rename to "Post your N9 Lockscreen" so we can see wtf people are doing?

spectrax0x 2011-10-19 13:11

Re: N9 Lock Screen MOD
 
so if u replace the image with a completely black png, then it will look like there's nothing except the clock there?

slai 2011-10-19 14:00

Re: N9 Lock Screen MOD
 
https://lh4.googleusercontent.com/-X...9_15-49-44.png

spectrax0x: you dont have it completely black except the clock by default?

I do :s .


edit: small issue with the app: closes upon selecting "choose from gallery" if I have a ton of images in gallery.

spectrax0x 2011-10-19 14:22

Re: N9 Lock Screen MOD
 
afaik, some operators put logos there, and it looks ugly :X

slai 2011-10-19 14:30

Re: N9 Lock Screen MOD
 
Yeah thats no good

noetus 2011-10-30 13:53

Re: N9 Lock Screen MOD
 
It looks like only 3 bit colour is supported on the lock screen (binary values of R, G, and B). Can anyone else confirm this? Trying other colours produced weird effects on my device.

F2thaK 2011-11-05 09:25

Re: N9 Lock Screen MOD
 
http://i4.ytimg.com/vi/Cv5ljfn5hNg/hqdefault.jpg
http://www.youtube.com/watch?v=Cv5ljfn5hNg

- lock screen: increased clock and date size, removed rounded screen edge
- standby screen: increased clock and operator logo size

slai 2011-11-05 10:50

Re: N9 Lock Screen MOD
 
But how was this all changed? Mind writing up a little How-To in the OP?

F2thaK 2011-11-05 10:54

Re: N9 Lock Screen MOD
 
okey dokey

F2thaK 2011-11-05 11:12

Re: N9 Lock Screen MOD
 
instructions for further modification in 1st post

Drekkie 2011-11-06 13:03

Re: N9 Lock Screen MOD
 
Quote:

Originally Posted by F2thaK (Post 1110862)
for OPERATOR LOGO:

under "LockScreen MImageWidgetStyle#LockScreenLowPowerModeOperatorLo go"

change:

minimum-size: 45mm 45mm; > size
maximum-size: 45mm 45mm; > size

[maximum size is pretty well 45mm. for this setting I used a square 450 pixel image, so 1mm = 1 pixel.]

Just wanted to add in case it wasn't clear, for people have branded phones with the operator logo on the lock screen (like starHub, as mine had), you can get rid of the logo by setting the sizes above to 0mm and rebooting the phone (I only had a "max" entry in mine, and I set the two mm values to 0) . Now it just has the clock in low power mode and I'm much happier. No need to replace images, etc.

Off to find ways to strip the other branding without doing any kind of flashing business...

shmerl 2011-11-07 00:37

Re: N9 Lock Screen MOD
 
This didn't work for me on N950, may be because I have a wallpaper set up there. How can I switch wallpaper off?

UPDATE: Looks like the operator mod applies only to N9, and not to N950.

slai 2011-11-07 08:44

Re: N9 Lock Screen MOD
 
Wallpaper on the lowpower screen?

mece 2011-11-07 08:51

Re: N9 Lock Screen MOD
 
Quote:

Originally Posted by shmerl (Post 1119290)
This didn't work for me on N950, may be because I have a wallpaper set up there. How can I switch wallpaper off?

UPDATE: Looks like the operator mod applies only to N9, and not to N950.

N950 doesn't have a low power screen. It's lcd so the screen is completely off when phone is sleeping.

ste-phan 2011-11-07 12:25

Re: N9 Lock Screen MOD
 
Very fine N9 mods, thank you.

I am already happy with Nick Larssons' Logo LPMCustomizer, how convenient.

Here is the result:

http://flic.kr/p/aCEF8S

http://flic.kr/p/aCEF8S

qwazix 2011-11-14 17:18

Re: N9 Lock Screen MOD
 
I think PR1.1 changed the corner radius with overlay images. (now the radius is smaller) I have this code in the css
Code:

corner-top-left: "meegotouch-lockscreen-corner-top-left";
    corner-top-right: "meegotouch-lockscreen-corner-top-right";
    corner-bottom-left: "meegotouch-lockscreen-corner-bottom-left";
    corner-bottom-right: "meegotouch-lockscreen-corner-bottom-right";

commenting it out and adding

corner-radius: 4mm;

results in no radius

Schturman 2011-11-14 19:38

Re: N9 Lock Screen MOD
 
Guys, maybe with this pictures, you can share yours "libsysuid-screenlock-nokia.css" files for some people that like your work ? ;)

dolphins 2011-11-14 20:01

Re: N9 Lock Screen MOD
 
I wonder if Sleeping Screen could somehow be integrated, or whether the team there is working on N9 version

Obviously there is the way where you could 'treat' the pictures with a S^3 phone using Sleeping Screen and then just transfer that to the N9, put it as wallpaper, and voila! you've got a low power consumption image

qwazix 2011-11-15 23:44

Re: N9 Lock Screen MOD
 
If somebody is still on PR1.0 please share your libsysuid-screenlock-nokia.css or just the LockScreenBackgroundPixmapStyle section. Thanks

F2thaK 2011-11-17 10:48

Re: N9 Lock Screen MOD
 
Quote:

Originally Posted by qwazix (Post 1123496)
I think PR1.1 changed the corner radius with overlay images. (now the radius is smaller) I have this code in the css
Code:

corner-top-left: "meegotouch-lockscreen-corner-top-left";
    corner-top-right: "meegotouch-lockscreen-corner-top-right";
    corner-bottom-left: "meegotouch-lockscreen-corner-bottom-left";
    corner-bottom-right: "meegotouch-lockscreen-corner-bottom-right";

commenting it out and adding

corner-radius: 4mm;

results in no radius

correct, it seems theyve replaced the corners with images

qwazix 2011-11-17 12:04

Re: N9 Lock Screen MOD
 
i am searching for the old file to see of there was any other directive tjat made corner-radius work. Do you happen to have a backup of your pr1.0 file?

lauri.paasio 2011-11-18 09:16

Re: N9 Lock Screen MOD
 
My current lowpower-mod:

http://paasio.com/lowpower_lock_mod.jpg

System-font changed to SegoeWP, size fixed, 2-tone meego-logo as png. It's not that bright in real.

Next I'll look in to changing icon png:s. Anyone managed to use border-style on lockscreen mods?

F2thaK 2011-11-18 09:22

Re: N9 Lock Screen MOD
 
Quote:

Originally Posted by qwazix (Post 1124974)
i am searching for the old file to see of there was any other directive tjat made corner-radius work. Do you happen to have a backup of your pr1.0 file?

nah, I dont sorry..

-------------------
you could try removing
Code:

    corner-top-left: "meegotouch-lockscreen-corner-top-left";
    corner-top-right: "meegotouch-lockscreen-corner-top-right";
    corner-bottom-left: "meegotouch-lockscreen-corner-bottom-left";
    corner-bottom-right: "meegotouch-lockscreen-corner-bottom-right";

and replacing with the old
Code:

corner-radius: 0mm;
I will try this

qwazix 2011-11-18 20:01

Re: N9 Lock Screen MOD
 
that is exactly what I did but it results in square corners, so I assume there is another directive that works with corner radius to apply rounded corners. I searched for any documentation but found none. I didn't try the standard css3 'border-radius' though, that may work. For the time being I just resized the corner png's to obtain the pr1.0 feeling.

waldelf 2011-11-19 09:45

Re: N9 Lock Screen MOD
 
What ist the used color palette in the low power mode?

i am a bit confused because it seems to use some sort of 4bit indexed color but i already saw some kind of light blue that shouldn't be in there... (oke.. maybe its turquoise 0,255,255 on a dimmed amoled ^^)

Petteri 2011-11-19 09:52

Re: N9 Lock Screen MOD
 
Quote:

Originally Posted by lauri.paasio (Post 1125382)
My current lowpower-mod:

http://paasio.com/lowpower_lock_mod.jpg

System-font changed to SegoeWP, size fixed, 2-tone meego-logo as png. It's not that bright in real.

Next I'll look in to changing icon png:s. Anyone managed to use border-style on lockscreen mods?

Nice. Does this use more battery than the default one?

lolloo 2011-11-20 08:48

Re: N9 Lock Screen MOD
 
Did you know when you flip the phone its on face the dimmed light will turn off. good way to save battery.

just sharing my two cents.

Thanks F2thaK

waldelf 2011-11-20 14:19

Re: N9 Lock Screen MOD
 
Its seems completely unpredictable what color will be used in the low power mode..

i think 008000 will be 000000 and 009000 will be 00ff00 (it seems to round up or down)

how did you choose your colors?

also is there a method to apply settings without restarting the device?

lolloo 2011-11-20 14:45

Re: N9 Lock Screen MOD
 
awesome red light for the clock! can I add the date also?

waldelf 2011-11-20 16:18

Re: N9 Lock Screen MOD
 
oke .. now its clear.. the subpixels RGB can be turned off or on in low powermode only.. so there are only 8 colors available

000000
ff0000
00ff00
0000ff
00ffff
ff00ff
ffff00
ffffff

the only thing i noticed is that only ffffff grants a smooth font face.. all the others look a little bit odd (maybe because the pixels that are lit are too little and to far away from each other)

enki71 2011-11-20 19:06

Re: N9 Lock Screen MOD
 
i cant access my n9 with ssh (i have to check what is blocking, maybe the firewall). Is there another way to modify this css file ? I tried with File manager app but i cant go into this folder, i tried with Filebox (another app) i can go into the folder but cant edit the file.... thanks for your help

ossipena 2011-11-20 19:26

Re: N9 Lock Screen MOD
 
Quote:

Originally Posted by enki71 (Post 1126489)
i cant access my n9 with ssh (i have to check what is blocking, maybe the firewall).

probably settings rolled in PR1.1 to disable ssh root login?

enki71 2011-11-21 00:43

Re: N9 Lock Screen MOD
 
i dont have received the update... so dont know.. ssh wifi.the only way?

eres 2011-11-24 14:22

Re: N9 Lock Screen MOD
 
is there any possibility to make lock screen clock smaller and static? ie. in the right bottom corner?

superjunior 2011-11-24 19:57

Re: N9 Lock Screen MOD
 
1 Attachment(s)
My Lockscreen ;)

IsaacDFP 2011-11-24 20:11

Re: N9 Lock Screen MOD
 
Quote:

Originally Posted by superjunior (Post 1128581)
My Lockscreen ;)

hahahaha, thats an awesome one!

vihru 2011-11-28 07:30

Re: N9 Lock Screen MOD
 
can you share your mod? its great..



Quote:

Originally Posted by lauri.paasio (Post 1125382)
My current lowpower-mod:

http://paasio.com/lowpower_lock_mod.jpg

System-font changed to SegoeWP, size fixed, 2-tone meego-logo as png. It's not that bright in real.

Next I'll look in to changing icon png:s. Anyone managed to use border-style on lockscreen mods?


Schturman 2011-12-03 22:27

Re: N9 Lock Screen MOD
 
Quote:

Originally Posted by superjunior (Post 1128581)
My Lockscreen ;)

I have a question..
I don't have a Operator logo in my phone, how I can add a small pic to this section ?
Code:

LockScreen MImageWidgetStyle#LockScreenLowPowerModeOperatorLogo {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    margin-top: 6mm;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    maximum-size: 12mm 12mm;
}

Or how you added this image to lockscreen ? Can you share your file ?
Thanks

noetus 2011-12-04 00:30

Re: N9 Lock Screen MOD
 
Quote:

Originally Posted by waldelf (Post 1126426)
oke .. now its clear.. the subpixels RGB can be turned off or on in low powermode only.. so there are only 8 colors available

000000
ff0000
00ff00
0000ff
00ffff
ff00ff
ffff00
ffffff

the only thing i noticed is that only ffffff grants a smooth font face.. all the others look a little bit odd (maybe because the pixels that are lit are too little and to far away from each other)

Was reported earlier in the thread (8 posts from the top)


All times are GMT. The time now is 14:04.

vBulletin® Version 3.8.8