- Debian Admin - http://www.debianadmin.com -

Change Font Colour in Gnome Panels

Posted By Admin On 5th February 2007 @ 09:00 In General | No Comments

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

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

Tags: , , ,

You may also be interested in...


Article printed from Debian Admin: http://www.debianadmin.com

URL to article: http://www.debianadmin.com/change-font-colour-in-gnome-panels.html

Click here to print.