Changing Panel Color Scheme

After a lot of fight to locate the a simple hack to change the panel colour scheme,instead of installing another application for this, finally got the answer as a '.gtkrc-2.0' file with colour definitions for panel.

All needed is to create a simple file with name as .gtkrc-2.0, the definition fg[NORMAL] = "#ffffff" defines the foreground colour [Font Colour] to be white [#ffffff].This value can be set to any value per your needs.A list of hex values for different colours are available at http://www.free-webmaster-tools.com/colorpicker.htm.

Steps to create this file, and change the colour . Per this example font colour will be changed.

1. Go to your home directory,using the terminal. [ cd ~ ]
2. vi .gtkrc-2.0
3. Go to the Insert mode of vi editor by pressing in INSERT key,
4. -- INSERT --,should appear at the bottom left corner of the terminal screen.
5. Copy the mentioned contents and paste in the file.
6. Press Esc. key followed by [:wq] to save the changes made to the file.
7. Type in following lines at prompt,this will reload the settings done to panel UI.
8. killall gnome-panel
9. Once done,you are now having your new colour scheme.


Contents of file [.gtkrc-2.0] :
style "panel"
{
fg[NORMAL] = "#ffffff"
# fg[PRELIGHT] = "#000000″
# fg[ACTIVE] = "#ffffff”
# fg[SELECTED] = "#000000″
# fg[INSENSITIVE] = "#8A857C”
# bg[NORMAL] = "#000000″
# bg[PRELIGHT] = "#dfdfdf”
# bg[ACTIVE] = "#D0D0D0″
# bg[SELECTED] = "#D8BB75″
# bg[INSENSITIVE] = "#EFEFEF”
# base[NORMAL] = "#ffffff”
# base[PRELIGHT] = "#EFEFEF”
# base[ACTIVE] = "#D0D0D0″
# base[SELECTED] = "#DAB566″
# base[INSENSITIVE] = "#E8E8E8″
# text[NORMAL] = "#161616″
# text[PRELIGHT] = "#000000″
# text[ACTIVE] = "#000000″
# text[SELECTED] = "#ffffff”
# text[INSENSITIVE] = "#8A857C”
}
widget "*PanelWidget*" style "panel"
widget "*PanelApplet*" style "panel"
class "*Panel*" style "panel"
widget_class "*Mail*" style "panel"
class "*notif*” style "panel"
class "*Notif*” style "panel"
class "*Tray*” style "panel"
class "*tray*” style "panel"

Comments

Popular posts from this blog

Chrome @ Fedora

Dock the Appications

Bash Scripting Cookies