Thursday, December 6, 2007

Out with the Brown on Ubuntu

To change themes completely to a different color in Ubuntu should be trivial and take only a couple of clicks. It seems though that there is a bug that prevents the background screen from changing colors. I'm going to go through the process of changing everything to a different color.

The first place we need to go is the "System", "Preferences", and "Appearance" menus. Select the background tab. From there I pick the solid color, and then select an alternative color. (Blue, in my case) You can of course download a wallpaper and use that as well. Then select the theme tab to choose a non-brown theme.

The next place we need to go is "System", "Administration", and "Login Window" menus. Select the
local tab. Once there, I chose the Happy Gnome theme and changed the background color to blue.

That should be the only steps required to get rid of all the brown. However, while logging on, the brown background still persists. After searching for a while, I did find a fix.

The script /etc/gdm/PreSession/Default is at fault.
You can download a version that fixes the background color like this:
Then just copy that to the original directory, restart your session, and the brown will be gone.

Because you shouldn't just blindly copy files into your system without knowing what's in them, here's a comparison of the two files, showing what's been changed. I used the program TkDiff to display the output you see here. The original file is on the left, while the new file is on the right.

That's all she wrote.


Anonymous said...

I prefer dark brown, it's warmer.

Happy Linux Guy said...

But, the point is, you should be able to change it to any color you want. A bug prevented that from happening for the background login color.

Anonymous said...

whats the need to change the default brown color ???

Happy Linux Guy said...

People like to customize their OS's to look how they want. A lot of people think that there are much nicer colors than brown. The point is, if you want to change it, you should be able to. This problem was fixed in the new release Hardy Heron.

Anonymous said...

I have Hardy Heron and it still had to be changed as you described. What you described worked just fine, made my wife very happy!