Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After upgrading to Ubuntu 11.04 (from 10.10) with Unity, and after I've been messing around with the (gtk, I guess?) theme a little, I've encountered a little problem.

In my panel (the one with the systray) all text are gray, the same goes on for all my right click menus and so on. After googleing I've found out that I need to change the text[normal] (or something like) variable in my GTK theme. Please correct me if I'm wrong.

I've also found out that I need to edit a file in my theme /usr/share/themes/<theme-name>

But which file, and where in the file? Needs to be changed to black. (Can I use hex codes, ex.: #000000 ?)

Actually I see that the text in my right click menu is black when an option is disabled. I actually need to switch those two colors - in order to get everything right. Correct?

Thanks alot!

share|improve this question

migrated from stackoverflow.com May 7 '11 at 11:25

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 1 down vote accepted

If the theme is a system theme (installed by default), you can find it in the /usr/share/themes/ directory. So for example if it is Ambiance, you will find it in /usr/share/themes/Ambiance/gtk-2.0/gtkrc file.

If you have installed it on user mode you can probably find the theme in ~/.themes/ directory. Then go to the relevant themes gtk-2/0 and open the gtkrc file.

At the top you might find a line as gtk-color-scheme =. There you can find the text colors.

But one can also change the color from right-click on desktop, them change background. Then under Theme tab select Customize and then after selecting the relevant theme, go to colors tab. Here you can change the text colors.

share|improve this answer
    
Thanks for your answer! I tried the gui way (right clicking desktop), and tried changing the different colors. But ended up just using the Ambiance theme instead of "Radiance". –  jack May 7 '11 at 22:15
    
You can also use "Reset to Defaults" under the colors tab (Theme), in case you have changed colors and want to get back the original look. –  Arindom May 8 '11 at 3:14
    
Yeah I did that under the Radiance theme, but they were allready there. –  jack May 9 '11 at 6:37
    
Ok, then the Radiance theme should be usable. –  Arindom May 9 '11 at 6:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.