maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Clock colour? (https://talk.maemo.org/showthread.php?t=78536)

HaugMedia 2011-10-05 20:41

Clock colour?
 
Anyone who knows how to change the colour of the clock on the N9 when it's in sleepmode/standbymode?

Would love to make it red because it lights up my whole damn room at night.

Thanks! :)

DrInk 2011-10-24 13:07

Re: Clock colour?
 
Quote:

Originally Posted by HaugMedia (Post 1103584)
Anyone who knows how to change the colour of the clock on the N9 when it's in sleepmode/standbymode?

Would love to make it red because it lights up my whole damn room at night.

Thanks! :)

Hello.

Edit /usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/libsysuid-screenlock-nokia.css

and change the color within LockScreen MLabelStyle#LockScreenLowPowerModeClockLabel,

then reboot N9.

I changed the colour in order to identify my own phone and wife's phone, both black N9 64GBs...

noetus 2011-10-29 20:42

Re: Clock colour?
 
Doesn't adding colour to the lockscreen drain the battery faster?

jubileums 2011-10-30 10:03

Re: Clock colour?
 
Quote:

Originally Posted by noetus (Post 1115705)
Doesn't adding colour to the lockscreen drain the battery faster?

No, it doesn't. To get white the screen has to light up the R, G and B sections of each pixel. So to get colour it in theory needs to use less power. It is important to note however, that in low power mode the display can only switch each section completely on or off. With those limitations you can have 8 different colours to choose from (including black and white).

F2thaK 2011-10-30 11:30

Re: Clock colour?
 
1 Attachment(s)
you can make the font LIGHT (default) or BOLD, and increase font size to 11mm maybe 12...

edit: bold doesnt look so good though

HsHon 2011-10-30 14:56

Re: Clock colour?
 
Hi ppl. Im v. new to meego love tis N9. Im at libsysuid-screenlock-nokia.css how do i edit it? :confused:

noetus 2011-11-01 03:14

Re: Clock colour?
 
Quote:

Originally Posted by DrInk (Post 1112834)
Hello.

Edit /usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/libsysuid-screenlock-nokia.css

and change the color within LockScreen MLabelStyle#LockScreenLowPowerModeClockLabel,

then reboot N9.

I changed the colour in order to identify my own phone and wife's phone, both black N9 64GBs...

Does anyone know if I can change the time format using this file? Near the above settings there are settings like time-format with a value of "%R" under ScreenLockClockStyle#LockScreenLowPowerModeClock.

I use a 24 hour clock and I'd really like it to display 07:30 and 01:31 instead of 7:30 and 1:39, etc.

F2thaK 2011-11-01 04:33

Re: Clock colour?
 
no doubt you can... have a look through the file and experiment

oSCho 2011-11-01 07:49

Re: Clock colour?
 
Quote:

Originally Posted by HsHon (Post 1115975)
Hi ppl. Im v. new to meego love tis N9. Im at libsysuid-screenlock-nokia.css how do i edit it? :confused:

HsHon, this is how I managed to change the clock color (there's probably a better/quicker technique but whatever):

On you phone, copy the libsysuid-screenlock-nokia.css to a folder visible when in USB Mass Storage mode (for example: /home/user/MyDocs/Documents/). I used File Manager to perform this step.

Now, connect your N9 to the computer and navigate to the folder where you copied the css file.

Edit the file using a text editor, not Word :-) I use Notepad++

The line you want to change is line 85 in my file, two lines below: LockScreen MLabelStyle#LockScreenLowPowerModeClockLabel {

I suggest using basic red(#FF0000) blue(#0000FF) green(#00FF00). I noticed some other colors also work but not all of them.

Once your done editing save the file and eject your device.

On the phone's terminal:

type in:
Code:

devel-su [enter]
You then need to type in your password, default is rootme I believe.
EDIT: I'm not sure this is necessary but I'm not a pro with these user permission things hehe. It works this way and that's enough for me.

We then need to copy the edited file from the "Documents" folder back to the original folder.

type in:
Code:

cd .. [enter]
Code:

cp home/user/MyDocs/Documents/libsysuid-screenlock-nokia.css usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/ [enter]
Reboot your device. If you don't see the clock anymore it's probably because you chose a non-supported color.

You can edit the file directly on the device in the terminal but I find this technique easier. If anyone has a better way of doing this please let me know. Could we somehow add something in the settings pane for this?

oSCho

HsHon 2011-11-01 13:56

Re: Clock colour?
 
Quote:

Originally Posted by oSCho (Post 1116709)
HsHon, this is how I managed to change the clock color (there's probably a better/quicker technique but whatever):

On you phone, copy the libsysuid-screenlock-nokia.css to a folder visible when in USB Mass Storage mode (for example: /home/user/MyDocs/Documents/). I used File Manager to perform this step.

Now, connect your N9 to the computer and navigate to the folder where you copied the css file.

Edit the file using a text editor, not Word :-) I use Notepad++

The line you want to change is line 85 in my file, two lines below: LockScreen MLabelStyle#LockScreenLowPowerModeClockLabel {

I suggest using basic red(#FF0000) blue(#0000FF) green(#00FF00). I noticed some other colors also work but not all of them.

Once your done editing save the file and eject your device.

On the phone's terminal:

type in:
Code:

devel-su [enter]
You then need to type in your password, default is rootme I believe.
EDIT: I'm not sure this is necessary but I'm not a pro with these user permission things hehe. It works this way and that's enough for me.

We then need to copy the edited file from the "Documents" folder back to the original folder.

type in:
Code:

cd .. [enter]
Code:

cp home/user/MyDocs/Documents/libsysuid-screenlock-nokia.css usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/ [enter]
Reboot your device. If you don't see the clock anymore it's probably because you chose a non-supported color.

You can edit the file directly on the device in the terminal but I find this technique easier. If anyone has a better way of doing this please let me know. Could we somehow add something in the settings pane for this?

oSCho


Woah thank you. U realli help mi a lot. Erm but when i press cd.. it says not found. Why is this so?

HsHon 2011-11-01 14:27

Re: Clock colour?
 
Woah thx guys. I change my color to purple. :) wheee thx a lot. The purple looks a little pinkish though

noetus 2011-11-04 20:40

Re: Clock colour?
 
I believe supported colours are white (ffffff), cyan (00ffff), magenta (ff00ff), yelllow (ffff00), blue (0000ff), green (00ff00), red (ff0000), and black (000000). This corresponds to each red, green, or blue subpixel being either on or off, the only supported modes when the screen is in low-power mode.

White is the smoothest colour, since all three subpixels are switched on. Choosing cyan, magenta, or yellow will result in slightlier 'jaggier' outlines in your chosen picture, while the roughest looking will be an image in any of the three primary colours, red, green, or blue, as only a third of the pixels will be used to draw the image. At least that's how I understand how things work on the pentile screen.

HsHon 2011-11-06 10:26

Re: Clock colour?
 
Quote:

Originally Posted by noetus (Post 1118435)
I believe supported colours are white (ffffff), cyan (00ffff), magenta (ff00ff), yelllow (ffff00), blue (0000ff), green (00ff00), red (ff0000), and black (000000). This corresponds to each red, green, or blue subpixel being either on or off, the only supported modes when the screen is in low-power mode.

White is the smoothest colour, since all three subpixels are switched on. Choosing cyan, magenta, or yellow will result in slightlier 'jaggier' outlines in your chosen picture, while the roughest looking will be an image in any of the three primary colours, red, green, or blue, as only a third of the pixels will be used to draw the image. At least that's how I understand how things work on the pentile screen.

Woah you are really good. Thanks for the tip. Did u experiment with all the colors? :)

tollek8 2011-11-06 13:03

Re: Clock colour?
 
who want to build an smal .deb??? :)

pyrced 2011-11-07 02:47

Re: Clock colour?
 
Anyone know how to change the colour of the notification icons that appear under the clock in standby?

soonik 2011-11-08 22:03

Re: Clock colour?
 
How about using vi to change the files?...

Tharna 2011-11-09 16:58

Re: Clock colour?
 
Quote:

Originally Posted by pyrced (Post 1119305)
Anyone know how to change the colour of the notification icons that appear under the clock in standby?

I just replaced the icons in /usr/share/themes/blanco/meegotouch/icons (icons-m-low-power-mode*.png are the ones used for the standby screen).

https://lh5.googleusercontent.com/-y...1109181838.png

oSCho 2011-11-10 07:24

Re: Clock colour?
 
Quote:

Originally Posted by Nysi (Post 1121060)
If someone could pass me the PR1.1 libsysuid-screenlock-nokia.css -file I would be very glad. I deleted it accidentaly, when modding the clock colour :(

http://dl.dropbox.com/u/48963494/lib...kia.css_backup

Pee Dee 2011-11-12 13:46

Re: Clock colour?
 
Hi Mate,

I hope you wouldn't mind explaining where I am going wrong in following the steps below...

I did everything ok until the part where I am trying to write back the file through the terminal. I keep getting denied permission in the last step.

Have I missed anything you guys have done before doing these steps?? All I did was activate dev mode and install the terminal..

Please see my error below...

https://fbcdn-sphotos-a.akamaihd.net...66603002_n.jpg

Hope you can help me please...

Thanks
Adam








Quote:

Originally Posted by oSCho (Post 1116709)
HsHon, this is how I managed to change the clock color (there's probably a better/quicker technique but whatever):

On you phone, copy the libsysuid-screenlock-nokia.css to a folder visible when in USB Mass Storage mode (for example: /home/user/MyDocs/Documents/). I used File Manager to perform this step.

Now, connect your N9 to the computer and navigate to the folder where you copied the css file.

Edit the file using a text editor, not Word :-) I use Notepad++

The line you want to change is line 85 in my file, two lines below: LockScreen MLabelStyle#LockScreenLowPowerModeClockLabel {

I suggest using basic red(#FF0000) blue(#0000FF) green(#00FF00). I noticed some other colors also work but not all of them.

Once your done editing save the file and eject your device.

On the phone's terminal:

type in:
Code:

devel-su [enter]
You then need to type in your password, default is rootme I believe.
EDIT: I'm not sure this is necessary but I'm not a pro with these user permission things hehe. It works this way and that's enough for me.

We then need to copy the edited file from the "Documents" folder back to the original folder.

type in:
Code:

cd .. [enter]
Code:

cp home/user/MyDocs/Documents/libsysuid-screenlock-nokia.css usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/ [enter]
Reboot your device. If you don't see the clock anymore it's probably because you chose a non-supported color.

You can edit the file directly on the device in the terminal but I find this technique easier. If anyone has a better way of doing this please let me know. Could we somehow add something in the settings pane for this?

oSCho


oSCho 2011-11-12 17:49

Re: Clock colour?
 
Hey!

No problem, I can't see what your doing in the terminal though the pic is too small for my eyes.

Are you sure you are copying from the file you modified? The below command should be written in one line (only hit enter at the end of the command) and the first half should reflect where the file/folder where you modified is at. In my case it was in the Documents folder.

cp home/user/MyDocs/Documents/libsysuid-screenlock-nokia.css usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/ [enter]

Is this what you have done already?

oSCho

Quote:

Originally Posted by Pee Dee (Post 1122358)
Hi Mate,

I hope you wouldn't mind explaining where I am going wrong in following the steps below...

I did everything ok until the part where I am trying to write back the file through the terminal. I keep getting denied permission in the last step.

Have I missed anything you guys have done before doing these steps?? All I did was activate dev mode and install the terminal..

Please see my error below...

https://fbcdn-sphotos-a.akamaihd.net...66603002_n.jpg

Hope you can help me please...

Thanks
Adam


Pee Dee 2011-11-13 01:17

Re: Clock colour?
 
thanks for the quick reply. when you say "the command should be written in one line" do you mean like this:


cp home/user/MyDocs/Documents/libsysuid-screenlock-
nokia.cssusr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/ [enter]

Will there be no separator between nokia.css and usr?

With the photo I uploaded, it can be read by zooming in on your browser..what i did was hit enter after .css before typing usr..

I feel like I am nearing the solution :)

Thanks

Adam

Pee Dee 2011-11-13 01:18

Re: Clock colour?
 
Hi, I finally got it to work!!! yahoo!! I just put a spacke between .css and usr and it did the trick!!! Thanks so much for your help!!!

Regards
Adam

oSCho 2011-11-13 01:48

Re: Clock colour?
 
Exactly, that was it! Glad you figured it out!

corrado85 2011-11-13 02:26

Re: Clock colour?
 
it would be awesome if a talented individual could like a small app for this ! :D

Pee Dee 2011-11-13 10:50

Re: Clock colour?
 
Hi Mate,

I saw the png files...now when you say "replace" what should I replace them with? are there png icons i can find somewhere that have different colors or do I just edit them using the steps given to change the clock menu.

Just clarifying thanks
Adam


Quote:

Originally Posted by Tharna (Post 1120769)
I just replaced the icons in /usr/share/themes/blanco/meegotouch/icons (icons-m-low-power-mode*.png are the ones used for the standby screen).

https://lh5.googleusercontent.com/-y...1109181838.png


Tharna 2011-11-13 16:37

Re: Clock colour?
 
1 Attachment(s)
I edited the originals myself, but basically you can use whatever icons you can get your hands on, just name them correctly. You can find my blue ones attached.

Quote:

Originally Posted by Pee Dee (Post 1122812)
Hi Mate,

I saw the png files...now when you say "replace" what should I replace them with? are there png icons i can find somewhere that have different colors or do I just edit them using the steps given to change the clock menu.

Just clarifying thanks
Adam


tollek8 2011-11-15 18:44

Re: Clock colour?
 
it would be nice, when this be an option in the settings...maybe some day :)

isfr21 2011-11-27 23:14

Re: Clock colour?
 
Quote:

Originally Posted by F2thaK (Post 1115890)
you can make the font LIGHT (default) or BOLD, and increase font size to 11mm maybe 12...

edit: bold doesnt look so good though

Wow, your screen has plenty of scratch marks on it, what happen to the indestructible gorilla glass?

hawx 2011-12-21 15:08

Re: Clock colour?
 
Quote:

Originally Posted by isfr21 (Post 1129783)
Wow, your screen has plenty of scratch marks on it, what happen to the indestructible gorilla glass?

i believe that's his screen guard :D

Arie 2011-12-21 20:14

Re: Clock colour?
 
Quote:

Originally Posted by Tharna (Post 1122948)
I edited the originals myself, but basically you can use whatever icons you can get your hands on, just name them correctly. You can find my blue ones attached.

Can you include the mail symbol in your package as well? It's currently not available...

eres 2011-12-22 13:25

Re: Clock colour?
 
is there any possibility to have static clock on standby screen?
I would love to have it in the right bottom corner and possibly bit smaller.

noetus 2011-12-22 13:41

Re: Clock colour?
 
Quote:

Originally Posted by eres (Post 1140802)
is there any possibility to have static clock on standby screen?
I would love to have it in the right bottom corner and possibly bit smaller.

You'll ruin your display that way...

youmeego 2011-12-22 14:19

Re: Clock colour?
 
i want to change the clock color in the thin and tiny status bar

eres 2011-12-22 15:46

Re: Clock colour?
 
Quote:

Originally Posted by noetus (Post 1140810)
You'll ruin your display that way...

could you explain more?

burnout 2011-12-22 16:57

Re: Clock colour?
 
Just modified mine.

I went for FF0000, size 8 and Bold to try and match my car's Dashboard :)

Anyone know if italic is also possible and how/where to put it?

As far as I've checked, I think the font doesn't support and I'd have to replace it all together.

Am I right?

And thanks to OP for this!

noetus 2011-12-22 17:20

Re: Clock colour?
 
Quote:

Originally Posted by eres (Post 1140865)
could you explain more?

AMOLED burn-in is a real possibility; it's why the clock moves around on the standby screen.

slansr 2011-12-23 12:46

Re: Clock colour?
 
hey guys I've changed the clock colour using nano and now i can't change it back. i make a change in the file and its there when i open it but the clock is still blue, how do i change it back?
any help would be appreciated

AlMehdi 2011-12-23 12:57

Re: Clock colour?
 
Quote:

Originally Posted by noetus (Post 1140904)
AMOLED burn-in is a real possibility; it's why the clock moves around on the standby screen.

Is that really true? If so why does not the whole UI move around? ;)

I do not think it is a problem.

Arie 2011-12-23 12:58

Re: Clock colour?
 
Quote:

Originally Posted by slansr (Post 1141142)
hey guys I've changed the clock colour using nano and now i can't change it back. i make a change in the file and its there when i open it but the clock is still blue, how do i change it back?
any help would be appreciated

Are you changing the right part? And are you saving the correct file?

slansr 2011-12-23 13:05

Re: Clock colour?
 
Quote:

Originally Posted by Arie (Post 1141144)
Are you changing the right part? And are you saving the correct file?

I'm editing the file in
/usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/libsysuid-screenlock-nokia.css
and definitely changing the right part I've double checked that and thats how i did it in the first place doing reboot afterwards and no change to the clock colour although the file has changed like i changed it.
The other thing is that i have in that folder (style) two more docs called the same only with .save at the end (.save and .save.1) when i try to edit them they have nothing in the colour section no f's or 0's changing that also didn't work. any ideas?


All times are GMT. The time now is 08:28.

vBulletin® Version 3.8.8