Linux

Categorized | Applications, System

Use the same GTK theme for applications started as root

If you start a GTK GUI with root permissions and you notice that it uses the old GTK theme, you can make all applications started as root to use your current theme by doing this:

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

This will basically create symlinks to your icons, fonts and themes directories that draw your current GTK theme.

Author Profile

T4L ;

Other posts by T4L

Author's web site



Are you satisfied with this blog?
Why not subscribe our RSS Feed? you will always get the latest post.


1 Comment


  1. Or a) use a decent version of Linux that sets things up correctly (a guy at work had old GTK windows in Ubuntu, but I don’t get it in Fedora 11 or OpenSuse 11.1) or b) if you use themes that you’ve installed yourself then move them to /usr/share/icons and /usr/share/themes instead of ~/.icons and ~/.themes (makes them available to everyone - does require sudo/super user permissions to move them)

    1

1 Trackback(s)

  1. 08 09 2009 : Mas Comandos Útiles Para OpenSuse_ « SuSELife_

Leave A Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>