PDA

View Full Version : [ubuntu] Linking user theme to root doesn't work



l07
April 18th, 2011, 02:10 AM
I ran

sudo rm -R /root/.themes
sudo rm -R /root/.icons
sudo ln -s ~/.themes /root/.themes
sudo ln -s ~/.icons /root/.icons


but on running
gksu nautilus it still uses the same theme, not my own.
How do I fix this?

Copper Bezel
April 18th, 2011, 05:53 AM
It's not that root's theme needs to be set to yours, it's that root can't read yours, despite being launched under your GTK theme settings as an environment variable.

Instead, copy the folder of your chosen theme from ~/.themes to /usr/share/themes. If you're using a theme that mixes and matches parts of themes you've downloaded, copy all the relevant parts. Icon themes will need to be copied from ~/.icons to /usr/share/icons, as well.

In the future, just install your new downloaded themes directly in /usr/share/themes.