This is a very minor issue, but I've noticed that whenever I sudo/gksudo some program, the color schemes are all messed up. The window decoration settings are taken from my main desktop user's settings, but everything inside the window seems to be using some bland default color scheme/icons.
I assume that this is because the root user doesn't have themes set up by default, and when programs are run as root they try to grab root's theme settings which don't exist.
Is there any easy way to fix this? I'm looking for some way to mirror the current user's theme settings to the root account so running programs as root is truly seamless. It seems like the most obvious way to solve this is to copy my user's theme directory over to root's home, but that isn't exactly a dynamic solution and would require work each time I changed themes. Would it be possible to solve this by making root's theme directory a symlink to my user's theme directory?
Bookmarks