Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Gnome panel fonts

  1. #1
    Join Date
    Dec 2008
    Location
    Sydney, Australia
    Posts
    1,020

    Default Gnome panel fonts

    In pursuit of the "perfect desktop", I'd like to use a different font (or perhaps a different font size) in the Gnome panel, but the Appearance>Fonts>Application font setting governs so much more than the panel. Gconf appears to do the same.
    Is there a way of changing the panel font without affecting anything else?

  2. #2
    Camalen NNTP User

    Default Re: Gnome panel fonts

    gminnerup wrote:

    > In pursuit of the "perfect desktop", I'd like to use a different font
    > (or perhaps a different font size) in the Gnome panel, but the
    > Appearance>Fonts>Application font setting governs so much more than the
    > panel. Gconf appears to do the same.
    > Is there a way of changing the panel font without affecting anything
    > else?


    I am almost sure there is... but gnome tweaks are very, very, very
    hidden :-)

    Take a search in Google:

    http://www.google.com/search?hl=en&q....0&btnG=Search

    Sorry for not being more precise, but I couldn't get any documentation on
    this. Anyway, I guess editing your ~/.gtkrc-2.0 file is the way to go.

    Greetings,

    --
    Camalen

  3. #3
    Join Date
    Dec 2008
    Location
    Sydney, Australia
    Posts
    1,020

    Default Re: Gnome panel fonts

    Thanks for the suggestion but I've done that and the search comes up with zillions of discussions of how to change the font colour - which I have managed to do before - but not the font itself. Everything I try just changes the global "application font" when I just want to change the font used in the panel.

  4. #4
    Camalen NNTP User

    Default Re: Gnome panel fonts

    gminnerup wrote:

    > Thanks for the suggestion but I've done that and the search comes up
    > with zillions of discussions of how to change the font colour - which I
    > have managed to do before - but not the font itself. Everything I try
    > just changes the global "application font" when I just want to change
    > the font used in the panel.


    Is not that hard ;-)

    Edit (or create) your ~/.gtkrc-2.0 file and add the following:

    Code:
    sytle "my_panel"
    {
    font_name = "Arial 10"
    }
    
    widget "MenuItem" style "my_panel"
    And then, restart "gnome-panel"

    Code:
    killall gnome-panel
    And check the result.

    Greetings,

    --
    Camalen

  5. #5
    Join Date
    Dec 2008
    Location
    Sydney, Australia
    Posts
    1,020

    Default Re: Gnome panel fonts

    Nope, doesn't work, even when I change "sytle" to "style"
    But thanks for trying!

  6. #6
    Camalen NNTP User

    Default Re: Gnome panel fonts

    gminnerup wrote:

    > Nope, doesn't work, even when I change "sytle" to "style"
    > But thanks for trying!


    Weird. It works for me (using openSUSE 11.1 and default Gnome release).

    It changes the Gnome panel (old style, not suse style) font to Arial font at
    10pt while system default is Tahoma 8 pt :-?

    Greetings,

    --
    Camalen

  7. #7
    Join Date
    Dec 2008
    Location
    Sydney, Australia
    Posts
    1,020

    Default Re: Gnome panel fonts

    Quote Originally Posted by Camalen View Post
    It changes the Gnome panel (old style, not suse style) font to Arial font at
    10pt while system default is Tahoma 8 pt :-?
    You mean the menu? I'm using SUSE's menu not the old Gnome one with "Applications/Places/System".

  8. #8
    Camalen NNTP User

    Default Re: Gnome panel fonts

    gminnerup wrote:

    > You mean the menu? I'm using SUSE's menu not the old Gnome one with
    > "Applications/Places/System".


    Yes, that tip was for "old style" menu, not the new one (named "Slab").

    Well, let me see...

    Code:
    style "my_panel"
    {
    font_name = "Arial 10"
    }
    
    widget "*slab-main-menu-window*" style "my_panel"
    And then, restart "gnome-panel"

    Code:
    killall gnome-panel
    Hope this time goes better ;-)

    Greetings,

    --
    Camalen

  9. #9
    Join Date
    Dec 2008
    Location
    Sydney, Australia
    Posts
    1,020

    Default Re: Gnome panel fonts

    No difference...

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,672
    Blog Entries
    15

    Default Re: Gnome panel fonts

    Quote Originally Posted by gminnerup
    No difference...

    Hi
    Did you do a copy and paste of the gtkrc config, if so copying from the
    web can create invisible characters.... Manually enter the info and
    then try that.

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 (i586) Kernel 2.6.27.21-0.1-pae
    up 23:41, 1 user, load average: 0.24, 0.07, 0.02
    ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME


Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •