lxtips

random hints for linux, bash, vim, firefox, ubuntu, gnome, nautilus, vlc... 
« Back to blog

use the same #gtk theme for applications started as root with sudo ln -s ~/.themes /root/.themes http://bit.ly/36aNQL #linux

Categorized | Applications, System

Use the same GTK theme for applications started as root

September 1st, 2009 by T4L

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.


Hi, Be the first leave some reply

Leave A Reply


Loading mentions Retweet

Comments (0)

Leave a comment...

 
Got an account with one of these? Login here, or just enter your comment below.
Posterous-login    Connect    twitter