HOWTO: Keep your theme consistent when running apps as root.
If you've ever modified your theme and went into synaptic or nautilus (as root) only to find that the interface is the boring default one then this fix is for you.
It's really simple actually. Simply run these commands.
Code:
sudo rm -R /root/.themes
sudo rm -R /root/.icons
sudo ln -s /home/$USER/.themes /root
sudo ln -s /home/$USER/.icons /root
And now administrative apps (such as Synaptic) will be able to use your current theme.
The one caveat is that should a new theme be added while gnome-theme manager is running as root, then the new theme will be uninstallable by the user unless he/she does so as root (or changes the permissions of the newly added/updated theme folder). This should never happen under normal circumstances.
Last edited by Zeroangel; April 3rd, 2006 at 09:50 AM.
"Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world"
-- Albert Einstien
Bookmarks