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)

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



All times are GMT. The time now is 23:41.

vBulletin® Version 3.8.8