Page 2 of 8 FirstFirst 1234 ... LastLast
Results 11 to 20 of 76

Thread: HOWTO: Change Font Color in Gnome Panels

  1. #11
    Join Date
    Mar 2007
    Beans
    3

    Re: HOWTO: Change Font Color in Gnome Panels

    To change the font color of the drop down menu using aktiwers' script:

    Open terminal
    Type: gedit .gtkrc-2.0
    Delete the line:

    widget_class "*MenuItem*" style "my_color"

    gl,
    Dave

  2. #12
    Join Date
    Mar 2007
    Location
    Olympia, Washington
    Beans
    39
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Change Font Color in Gnome Panels

    Quote Originally Posted by dstanzler View Post
    To change the font color of the drop down menu using aktiwers' script:

    Open terminal
    Type: gedit .gtkrc-2.0
    Delete the line:

    widget_class "*MenuItem*" style "my_color"

    gl,
    Dave
    You don't need to delete that line to change the color of the text for the menu item.
    It can be any color all you have to do is create a new style tag. I'm not good at teaching so look at what I did. Its in red
    Code:
    include "/home/autocrosser/.gnome2/panel-fontrc"style "desktop-icon"
    
    {
    NautilusIconContainer::frame_text = 1
    text[NORMAL] = "#000000"
    NautilusIconContainer::normal_alpha = 70
    }
    class "GtkWidget" style "desktop-icon"
    
    #NautilusIconContainer::dark_info_color="#888888"
    #NautilusIconContainer::light_info_color="#bbbbbb"
    #NautilusIconContainer::highlight_alpha=200
    
    style "my_color"
    {
    fg[NORMAL] = "#FFFFFF"
    }
    style "black_text"
    {
    fg[NORMAL] = "#000000"
    }
    widget "*PanelWidget*" style "my_color"
    widget "*PanelApplet*" style "my_color"
    widget_class "*MenuItem*" style "black_text"
    widget_class "*ToolItem*" style "my_color"
    widget_class "*SeparatorMenuitem*" style "my_color"
    widget_class "*SeparatorToolitem*" style "my_color"
    widget_class "*ImageMenuitem*" style "my_color"
    widget_class "*RadioMenuitem*" style "my_color"
    widget_class "*CheckMenuitem*" style "my_color"
    widget_class "*TearoffMenuitem*" style "my_color"
    I imagine this would work on any or all of those.
    hope that helps.
    Imagination is more important than knowledge, smarts only gets you so far.

  3. #13
    Join Date
    Mar 2006
    Location
    Germany
    Beans
    59
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Change Font Color in Gnome Panels

    Check the package gnome-color-chooser. Quite useful. But changing panel color does not work with it. But you can adjust several other settings, also very nice, that it's is possible to change the width of scrollbars etc.

  4. #14
    Join Date
    Mar 2006
    Location
    Denmark - Copenhagen
    Beans
    2,165

    Re: HOWTO: Change Font Color in Gnome Panels

    Quote Originally Posted by thenme View Post
    You don't need to delete that line to change the color of the text for the menu item.
    It can be any color all you have to do is create a new style tag. I'm not good at teaching so look at what I did. Its in red
    Code:
    include "/home/autocrosser/.gnome2/panel-fontrc"style "desktop-icon"
    
    {
    NautilusIconContainer::frame_text = 1
    text[NORMAL] = "#000000"
    NautilusIconContainer::normal_alpha = 70
    }
    class "GtkWidget" style "desktop-icon"
    
    #NautilusIconContainer::dark_info_color="#888888"
    #NautilusIconContainer::light_info_color="#bbbbbb"
    #NautilusIconContainer::highlight_alpha=200
    
    style "my_color"
    {
    fg[NORMAL] = "#FFFFFF"
    }
    style "black_text"
    {
    fg[NORMAL] = "#000000"
    }
    widget "*PanelWidget*" style "my_color"
    widget "*PanelApplet*" style "my_color"
    widget_class "*MenuItem*" style "black_text"
    widget_class "*ToolItem*" style "my_color"
    widget_class "*SeparatorMenuitem*" style "my_color"
    widget_class "*SeparatorToolitem*" style "my_color"
    widget_class "*ImageMenuitem*" style "my_color"
    widget_class "*RadioMenuitem*" style "my_color"
    widget_class "*CheckMenuitem*" style "my_color"
    widget_class "*TearoffMenuitem*" style "my_color"
    I imagine this would work on any or all of those.
    hope that helps.
    Yes this is the correct way to do it!
    Thanks for clearing it out.

  5. #15
    Join Date
    Jun 2005
    Location
    Pacific NorthWest
    Beans
    2,782
    Distro
    Ubuntu Development Release

    Post Re: HOWTo Change font color in Gnome Panels

    Hi aktiwers---

    I'm glad you guys are using the stuff I wrote (I'm autocrosser)

    For more information about this & other fun mods, take a look at:
    http://developer.gnome.org/doc/API/2.0/gtk/index.html
    The most updated reference on & about GTK inner workings & :
    http://live.gnome.org/GnomeArt/Tutorials
    for some "hands on stuff"

    You might also look at gnomelook.org for some of my "TestAlpha" stuff, & of course you can remod any of them
    "Let's nobody be dead today----Looks very bad on my report" One of my favourite lines from AVATAR
    Linux User#395230
    Ubuntu User# 13498

  6. #16
    Join Date
    Mar 2006
    Location
    Denmark - Copenhagen
    Beans
    2,165

    Re: HOWTo Change font color in Gnome Panels

    Quote Originally Posted by autocrosser View Post
    Hi aktiwers---

    I'm glad you guys are using the stuff I wrote (I'm autocrosser)

    For more information about this & other fun mods, take a look at:
    http://developer.gnome.org/doc/API/2.0/gtk/index.html
    The most updated reference on & about GTK inner workings & :
    http://live.gnome.org/GnomeArt/Tutorials
    for some "hands on stuff"

    You might also look at gnomelook.org for some of my "TestAlpha" stuff, & of course you can remod any of them
    Thanks for links!
    Actually I found out how to do this in another (more stupid i guess) way.
    I was googleing all kinds of howto's and Blogs and ended up with this solution.

    Gonna have a look at the TestAlpha now. Thanks!

  7. #17
    Join Date
    Feb 2007
    Location
    Los Angeles
    Beans
    34
    Distro
    Ubuntu 6.06 Dapper

    Re: HOWTO: Change Font Color in Gnome Panels

    You are the HERO of the day! - thank you!

  8. #18
    Join Date
    Feb 2007
    Location
    SouthEast USA
    Beans
    164
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Change Font Color in Gnome Panels

    One "weird" side affect is that now all menus related to the panels are now textless, at least, their text is white and their background is white. This goes a little too far.
    Last edited by Billy McCann; April 12th, 2007 at 03:30 AM.

  9. #19
    Join Date
    Jun 2005
    Location
    Pacific NorthWest
    Beans
    2,782
    Distro
    Ubuntu Development Release

    Post Re: HOWTO: Change Font Color in Gnome Panels

    Change one of the "ffffff" lines to "000000" or some other html color description.
    "Let's nobody be dead today----Looks very bad on my report" One of my favourite lines from AVATAR
    Linux User#395230
    Ubuntu User# 13498

  10. #20
    Join Date
    Jan 2007
    Location
    Lund, Sweden
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Change Font Color in Gnome Panels

    Quote Originally Posted by Billy McCann View Post
    One "weird" side affect is that now all menus related to the panels are now textless, at least, their text is white and their background is white. This goes a little too far.
    Did you get this fixed? Got the same problem.

    EDIT: Oh never mind, the answer was a bit up on the page,
    Last edited by Tmi; April 15th, 2007 at 09:22 PM.

Page 2 of 8 FirstFirst 1234 ... LastLast

Bookmarks

Posting Permissions

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