Archive | November 27, 2006

How to Change the Color of your Tooltips

With all the customization fun I’ve been having with my Ubuntu Desktop, one thing kept bugging me. There isn’t an easy way to change the color of the tooltips. I think this is important to have a consistent color scheme throughout your desktop so I went to find a solution.

I found the answer on the Ubuntu Forums yet again, posted by mcduck.

UPDATE: This may also work in other distributions, not just Ubuntu, since it is a GTK setting.

UPDATE: This seems to only work in Ubuntu 6.10 or lower. People have reported that it does not work in Feisty Fawn (7.04).

Now, when changing the color of the tooltips, it’s important to note that this will change it for ALL themes.

To change the color of the tooltips, do this:

  1. gedit ~/.gtkrc-2.0
  2. Copy and paste the following lines in that file:

    style “tooltip” { bg[NORMAL] = “#FFFFFF” }
    widget “gtk-tooltips” style “tooltip”

  3. Change the Hex code (#FFFFFF) to whatever color you want.
  4. Save the file.
  5. Log out and log back in (or do a CTRL+BACKSPACE). You can probably just do a Desktop Refresh:

    killall nautilus gnome-panel

    …and it may work. I haven’t tested it, though.
    …TESTED: It works. NOTE: You’ll have to change ALL the smart quotes ” to regular quotes after you paste. Just delete them and type in the quotes again. Then do another killall nautilus gnome-panel. (2007.02.12)

Test it by placing your mouse over the Date and Time applet.

Enjoy!

Linux Shell Scripting for Idiots

Oooh… he makes it look so easy! The thing is, it is easy. :o

Blessen Cherian, CTO and Executive Team Member of bobcares.com writes:

“Shell scripting is nothing but a group of commands put together and executed one after another in a sequential way. Let’s start by mentioning the steps to write and execute a shell script.”

He then goes into step-by-step instructions on creating a script in a way that any idiot can understand! :)

Cherian says, “This is just the first part of my article on shell scripting. The Advanced Part … will be published soon.”

I’m an idiot, so this will definitely help me! :D

Follow

Get every new post delivered to your Inbox.