Change colors of pannel in gnome.

Asked by Mr. Cabana

How can I change font, background color, foreground color for objects in default panel in gnome?
I am sure it is possible since some themes change it.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Mario César Señoranis
Solved:
Last query:
Last reply:
Revision history for this message
Mario César Señoranis (mariocesar) said :
#1

There is no GUI for do that, if you want you would need the create the ~/.gtkrc-2.0 file, and for example put this content:

style "gnome-panel"
{
fg[NORMAL] = "#ffffff"
fg[PRELIGHT] = "#ffffff"
fg[ACTIVE] = "#ffffff"
fg[SELECTED] = "#ffffff"
fg[INSENSITIVE] = "#ffffff"

bg[NORMAL] = "#ffffff"
bg[PRELIGHT] = "#ffffff"
bg[ACTIVE] = "#ffffff"
bg[SELECTED] = "#ffffff"
bg[INSENSITIVE] = "#ffffff"

base[NORMAL] = "#ffffff"
base[PRELIGHT] = "#ffffff"
base[ACTIVE] = "#ffffff"
base[SELECTED] = "#ffffff"
base[INSENSITIVE] = "#ffffff"

text[NORMAL] = "#ffffff"
text[PRELIGHT] = "#ffffff"
text[ACTIVE] = "#ffffff"
text[SELECTED] = "#ffffff"
text[INSENSITIVE] = "#ffffff"
}

More detailed information on http://www.gtk.org/~otaylor/gtk/2.0/theme-engines.html, Sorry if there isn't an easy way.

Regards.

Revision history for this message
Best Mario César Señoranis (mariocesar) said :
#2

Dear Mr. Cabana

I found a cool app "GNOME Color Chooser" http://www.alice-dsl.net/gybrush/, with this app you can easily change the colors of the panel an many others widgets, I probe it and works great.

To install it, you would need to download the sources, and do:

$ ./configure
$ make
$ sudo make install

If when you get errors on the ./configure, you may had miss some dependencies. I have to Install the next dependencies, to get it work.

libcairomm-1.0-dev (1.2.0-0ubuntu2)
libglademm-2.4-1c2a (2.6.3-0ubuntu2)
libglademm-2.4-dev (2.6.3-0ubuntu2)
libglibmm-2.4-dev (2.13.3-0ubuntu1)
libgtkmm-2.4-dev (1:2.10.8-0ubuntu1)
libsigc++-2.0-dev (2.0.17-2build1)

Tell us if this works for you.

Regards from Bolivia.

Revision history for this message
Mr. Cabana (mrcabana) said :
#3

Great program, but I still cant change pannel's background color. Tried all the settings in the Panel part. Anyways I can change the font color.

Revision history for this message
Mr. Cabana (mrcabana) said :
#4

Thanks Mario César Señoranis, that solved my question.