Change Font Colour in Gnome Panels

If you want to change Font Colour in Gnome Panels follow these steps

Open your terminal and edit this file

vi .gtkrc-2.02


An empty Text document will open, and you need to copy/paste the following lines

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_colour=”#888888″
#NautilusIconContainer::light_info_colour=”#bbbbbb”
#NautilusIconContainer::highlight_alpha=200

style “my_colour”
{
fg[NORMAL] = “#000000”
}
widget “*PanelWidget*” style “my_colour”
widget “*PanelApplet*” style “my_colour”
widget_class “*MenuItem*” style “my_colour”
widget_class “*ToolItem*” style “my_colour”
widget_class “*SeparatorMenuitem*” style “my_colour”
widget_class “*SeparatorToolitem*” style “my_colour”
widget_class “*ImageMenuitem*” style “my_colour”
widget_class “*RadioMenuitem*” style “my_colour”
widget_class “*CheckMenuitem*” style “my_colour”
widget_class “*TearoffMenuitem*” style “my_colour”

save and exit the file

Change the colour code of: fg[NORMAL] = “#000000”

To whatever you like, and the text in gnome panels will become that colour.

If you don’t know the code for the colour you want, you can use this little handy program.

sudo apt-get install gcolor2

If you want to access this program use the following command

gcolor2

Sponsored Link

Leave a comment

Your email address will not be published. Required fields are marked *