You are not logged in.

#1 2009-12-28 21:38:00

BowlSmoker
Member
Registered: 2009-10-09
Posts: 27

forcing gksu/things run as root to conform to GTK theme?

I haven't seen this in the wiki and not sure if its been asked in the forum. I use Gnome and when I run apps as root, the theme is the ugly basic theme.

How would I change themes for root?

Offline

#2 2009-12-28 21:40:43

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: forcing gksu/things run as root to conform to GTK theme?

One crude yet effective solution would be to log in as root and set things the way you want.

Offline

#3 2009-12-28 21:45:29

BowlSmoker
Member
Registered: 2009-10-09
Posts: 27

Re: forcing gksu/things run as root to conform to GTK theme?

That's a good idea. I use SLiM instead of GDM though, which leaves me with the problem of figuring out how to enable root GUI for gnome+slim.

Offline

#4 2009-12-28 21:52:35

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: forcing gksu/things run as root to conform to GTK theme?

# echo "exec gnome-session" >> /root/.xinitrc; xinit -- :1

should work.

Offline

#5 2009-12-28 23:23:04

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: forcing gksu/things run as root to conform to GTK theme?

symlink your ~/.themes, ~/.config and ~/.icons directory from root.

hmmm, maybe not config...

Last edited by falconindy (2009-12-28 23:23:26)

Offline

#6 2009-12-29 03:35:16

BowlSmoker
Member
Registered: 2009-10-09
Posts: 27

Re: forcing gksu/things run as root to conform to GTK theme?

lucke wrote:
# echo "exec gnome-session" >> /root/.xinitrc; xinit -- :1

should work.

Logged in as root and changed it. Thanks.

Offline

#7 2009-12-29 13:41:36

danielrmt
Member
Registered: 2009-12-03
Posts: 34

Re: forcing gksu/things run as root to conform to GTK theme?

falconindy wrote:

symlink your ~/.themes, ~/.config and ~/.icons directory from root.

hmmm, maybe not config...

+1, I don't link .config, but I link my .gtkrc-2.0 and .fonts.conf files.

ln -sf /home/username/.{fonts,icons,themes,gtkrc-2.0,fonts.conf} /root

Offline

Board footer

Powered by FluxBB