Friday, September 11, 2009

Make Your Root Windows Pretty

When modfying your system theme the changes often do not apply to the root account. When running programs as the super user (sudo) the window theme looks likea very ugly Windows 95 clone. With two lines of code we are going to link your user and root themes so they match, and bring back the pretty in Ubuntu.

- Notice the Windows 98 feel to these root menus
synaptic (ugly)

root window (ugly)

In a terminal type:
sudo ln -s ~/.themes /root/.themes
sudo ln -s ~/.icons /root/.icons

- Now when you run programs as the super user they match the system theme.
synaptic (fixed)

root window (fixed)

and as synthetic098 pointed out:
In a terminal type:
sudo ln -s ~/.fonts /root/.fonts
- to symbolically link your fonts to the root fonts

Have a question or problem that this article doesn't cover?
Ask our Ubuntu Mini 9 Google Group for help.


anjilslaire said...

Nice tweak, thanks :)

Shiba Ikumi said...

Good work, but you can also put your icons and themes in /usr/share/themes and /usr/share/icons to make them available system wide ;)

synthetic098 said...

sudo ln -s ~/.fonts /root/.fonts