maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   * The Truly Epic Maemo 5 MODs Thread * (https://talk.maemo.org/showthread.php?t=39565)

Diamorph 2010-02-17 16:34

Re: N900 MODs - share your MODs!!
 
1 Attachment(s)
I changed the fonts of my N900 on another way than overwrite the four Nokia fonts.
I placed my own font in /usr/share/fonts/nokia and changed it in the
gtkrc file (/usr/share/themes/*THEME-NAME*/gtk-2.0)
With this method I can decide wich font is changed. (See screenshot: white letters changend but the orange smaller are orginal font)

Part from gtkrc:

##############################
#
# Font definitions
#
##############################

# legacy

style "osso-SystemFont" {
font_name = "Nokia Sans 18"
}

....

###########################
# new fonts for fremantle #
###########################

style "SystemFont" {
font_name = "Nokia Sans 18"
}

style "EmpSystemFont" {
font_name = "Nokia Sans Bold 18"
}

style "LargeSystemFont" {
font_name = "Nokia Sans 26"
}

style "SmallSystemFont" {
font_name = "Nokia Sans 13"
}

style "EmpSmallSystemFont" {
font_name = "Nokia Sans Bold 13"
}

style "X-LargeSystemFont" {
font_name = "Nokia Sans 31"
}
....

mscarrot 2010-02-17 16:46

Re: N900 MODs - share your MODs!!
 
Thanks that sounds a lot better, gonna try that !!

les_garten 2010-02-17 17:05

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by Diamorph (Post 532492)
I changed the fonts of my N900 on another way than overwrite the four Nokia fonts.
I placed my own font in /usr/share/fonts/nokia and changed it in the
gtkrc file (/usr/share/themes/*THEME-NAME*/gtk-2.0)
With this method I can decide wich font is changed. (See screenshot: white letters changend but the orange smaller are orginal font)

Part from gtkrc:

##############################
#
# Font definitions
#
##############################

# legacy

style "osso-SystemFont" {
font_name = "Nokia Sans 18"
}

....

###########################
# new fonts for fremantle #
###########################

style "SystemFont" {
font_name = "Nokia Sans 18"
}

style "EmpSystemFont" {
font_name = "Nokia Sans Bold 18"
}

style "LargeSystemFont" {
font_name = "Nokia Sans 26"
}

style "SmallSystemFont" {
font_name = "Nokia Sans 13"
}

style "EmpSmallSystemFont" {
font_name = "Nokia Sans Bold 13"
}

style "X-LargeSystemFont" {
font_name = "Nokia Sans 31"
}
....

Can you advise what you learned about the different font designators, like EmpSmallSystemFont or SmallSystemFont

Diamorph 2010-02-17 17:13

Re: N900 MODs - share your MODs!!
 
Thats a good question... ^^ I changend the theme about 20 times in the last hour to figure that out!
The most sections are used on different places...
So far I came:

style "osso-SystemFont"
#Used by the GSM/3G Switcher (See screenshot on my last post)

style "SystemFont"
# This is used by the most elements so far I can see that

style "SmallSystemFont"
#Submenu sub text (orange, see screenshot on my last post)

les_garten 2010-02-17 17:25

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by Diamorph (Post 532565)
Thats a good question... ^^ I changend the theme about 20 times in the last hour to figure that out!
The most sections are used on different places...
So far I came:

style "osso-SystemFont"
#Used by the GSM/3G Switcher (See screenshot on my last post)

style "SystemFont"
# This is used by the most elements so far I can see that

style "SmallSystemFont"
#Submenu sub text (orange, see screenshot on my last post)

Heh, I used to date a girl from K-Town when I lived in Stuttgart, a LONG time ago, circa 1973.

If you change the font size in that file, do you have to reboot?

Diamorph 2010-02-17 17:29

Re: N900 MODs - share your MODs!!
 
I only change the theme to another and then back... I think it is not necessary to restart the phone when you only change things in the theme location.

Diamorph 2010-02-17 17:35

Re: N900 MODs - share your MODs!!
 
1 Attachment(s)
This happens when you make too much experiments ^^

mscarrot 2010-02-17 17:37

Re: N900 MODs - share your MODs!!
 
ouch :( that's not nice looking...

Well if you like it minimalistic and grey it looks wonderful :D

mscarrot 2010-02-17 17:41

Re: N900 MODs - share your MODs!!
 
Have a question It is possible for somebody who has the reboot and soft power-off button mod on their phone to post their systemui.xml file
for me.

Been wrestling with this for 3 days now and still ending up with only a phone button left.

Tried so many editors, so that can't be it, but when I save it gets corrupt, don't ask me why it is just not working for me.

(using Win SCP and SHH server).

Please (blinks her eyelashes heavily....ROFL...)

les_garten 2010-02-17 18:30

Re: N900 MODs - share your MODs!!
 
1 Attachment(s)
Quote:

Originally Posted by mscarrot (Post 532611)
Have a question It is possible for somebody who has the reboot and soft power-off button mod on their phone to post their systemui.xml file
for me.

Been wrestling with this for 3 days now and still ending up with only a phone button left.

Tried so many editors, so that can't be it, but when I save it gets corrupt, don't ask me why it is just not working for me.

(using Win SCP and SHH server).

Please (blinks her eyelashes heavily....ROFL...)

I have a good one, lots of stuff on it. It has the cellular disable installed as well and custom icons. You'll have to drop the txt off the end of the file.

You'll find that cut and paste off the forum to not work much.


All times are GMT. The time now is 16:46.

vBulletin® Version 3.8.8