Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Somebody recommended that I add the following code to .gtkrc-2.0:

style "tooltips" {
    fg[NORMAL] = { 0.0, 0.0, 0.0 }
    text[NORMAL] = { 0.0, 0.0, 0.0 }

widget "gtk-tooltips*" style "tooltips"

How do I go about this? I am using Ubuntu 10.04 LTS.

share|improve this question
What exactly is the problem? "Add the following code" sounds pretty straightforward. – Adam Byrtek May 22 '11 at 16:30
I am having a problem with Open Office's calc program. see here:… – user11833 May 22 '11 at 17:04
up vote 0 down vote accepted

Press Alt + F2, then type

gedit ~/.gtkrc-2.0

to start the text editor gedit with the file already opened. Then copy and paste the code, save the file, log out and back in again.

share|improve this answer
Thank you. It appears that the file is empty. Does it make sense? (I just want to make sure I am editing the right file). – user11833 May 22 '11 at 17:04
Yeah, it isn't there by default. If it already would be there, you would see something when directly open it like described. – htorque May 22 '11 at 17:16
Thank you. I made the change, yet, it still did not solve my problem. any idea you can help?… – user11833 May 22 '11 at 20:57

Your Answer


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.