LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-24-2006, 08:20 PM   #1
Mr. Swillis
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 94

Rep: Reputation: 16
Executing apps in gnome as root doesn't keep GTK theme


Hi all,

I am running Fedora 5 and have noticed one strange thing that I am sure has a simple answer. I am logged in as myself (non-root user) and have noticed that when I execute a gui app as root, it doesn't use the GTK themes as it does when I execute as myself.

The only other primarily Gnome system I have used is Ubuntu, and don't recall that happening, but in that case I was using sudo instead of running as root.

This isn't really a huge deal, I was just kind of curious why this is happening and whether there was an easy "fix" for it.

Thanks,

Mr. Swillis
 
Old 07-24-2006, 08:36 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
This is normal, it will automatically use the settings defined for root, as its the root user who is executing the app. It makes sense once you think about it... after all you are pretending to be root, and you do need path settings etc.

To fix this simply set the root users theme the same as your normal user.

I delibratley keep them different, as a reminder to myself mainly.. and also to catch anything suspicious.

Last edited by leonscape; 07-24-2006 at 08:37 PM.
 
Old 07-24-2006, 08:40 PM   #3
Mr. Swillis
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 94

Original Poster
Rep: Reputation: 16
Awesome, thanks for the super quick reply. I figured it would be something simple like that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New GTK apps doesn't use GNOME theme e_liming Linux - Software 1 04-05-2006 11:43 AM
Upgraded to KDE 3.5 gnome apps don't have theme xvalentinex Linux - Software 1 12-18-2005 12:44 PM
How to make the QtCurve theme effect on apps of gtk-2 in suse-9.2? tony yu Suse/Novell 0 02-10-2005 07:04 AM
GTK theme change w/o gnome help bpk Linux - Software 1 03-26-2004 05:24 PM
set GTK theme w/out Gnome jpbarto Linux From Scratch 4 05-01-2003 11:22 PM


All times are GMT -5. The time now is 11:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration