You are not logged in.

#1 2009-04-15 22:39:50

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Not displaying customized themes when running apps as root

The thing is that i usually have compiz enabled as normal user... but whenever i run an application as root, this appears withouth any decoration........ i know is really not really important thing,but the point is that i remember it not happening before..... which could be the reason for this behaviour?

thanks!

Offline

#2 2009-04-15 23:02:00

Ronin-Sage
Member
Registered: 2008-10-24
Posts: 153
Website

Re: Not displaying customized themes when running apps as root

If you mean the GTK+ theme is off, that's because each user typically has it's own config file: ~/.gtkrc-2.0(/root/.gtrc-2.0 in the case of root) is the standard(KDE4 uses it's own, afaik).

Last edited by Ronin-Sage (2009-04-15 23:02:45)

Offline

#3 2009-04-15 23:29:33

droog
Member
Registered: 2004-11-18
Posts: 877

Re: Not displaying customized themes when running apps as root

Xi0N wrote:

The thing is that i usually have compiz enabled as normal user... but whenever i run an application as root, this appears withouth any decoration........ i know is really not really important thing,but the point is that i remember it not happening before..... which could be the reason for this behaviour?

thanks!

like ronin said you would have to set up your themes for root, It's good they look different though then you won't forget they're running as root and do something you shouldn't thinking the app is running as a user.

Offline

#4 2009-04-16 00:49:17

Macyou
Member
Registered: 2009-04-16
Posts: 1

Re: Not displaying customized themes when running apps as root

I think you should install your themes to system directory /usr/share/themes not your home directory if you want the sudo applications can have the same layout as your current user.

Offline

#5 2009-04-16 03:05:54

LeoSolaris
Member
From: South Carolina
Registered: 2008-03-30
Posts: 354

Re: Not displaying customized themes when running apps as root

I usually have my root .gtkrc-2.0 set to a color scheme and icon setting that is near opposite of the one my user has. It keeps me fore doing something stupid while in root, like creating a folder or something as root in my home folder. (I've done that a few times before, it's a pain in the ass)


I keep getting distracted from my webserver project...

huh? oooh...  shiny!

Offline

Board footer

Powered by FluxBB