Results 1 to 10 of 76

Thread: HOWTO: Change Font Color in Gnome Panels

Threaded View

  1. #1
    Join Date
    Mar 2006
    Location
    Denmark - Copenhagen
    Beans
    2,162

    HOWTO: Change Font Color in Gnome Panels

    - THIS THREAD IS OUTDATED - It doesn't seam to work on newer versions of Ubuntu.

    I have been looking around for a way to change the font color in the Gnome Panels. I found many ways, but non of them worked.

    Finally I found a way it works for me in Edgy, so I will post a small howto do this below.

    1)
    In terminal write:
    Code:
    gedit .gtkrc-2.0
    2)
    An empty Text document will open, and you need to copy/paste this into it:
    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"
    }
    widget "*PanelWidget*" style "my_color"
    widget "*PanelApplet*" style "my_color"
    widget_class "*MenuItem*" style "my_color"
    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"
    And save.


    3)
    Change the color code of: fg[NORMAL] = "#FFFFFF"
    To whatever you like, and the text in gnome panels will become that color.
    I made the part you need to change red.


    4) (optinal)
    If you dont know the code for the color you want, you can use this little handy program.

    In Terminal type:
    Code:
    sudo apt-get install gcolor2
    And when you are done, type:
    Code:
    gcolor2
    To open the program.

    5)
    Screenshots below, of my Gnome Panels with white text fonts. And one of the program gcolor2.

    Good Luck!
    Aktiwers
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot.png 
Views:	1590 
Size:	917.1 KB 
ID:	22595   Click image for larger version. 

Name:	Screenshot-1.png 
Views:	1448 
Size:	873.0 KB 
ID:	22596  
    Last edited by aktiwers; March 16th, 2009 at 06:18 PM.

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
  •