LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 07:20 PM   #1
Mr. Swillis
Member
 
Registered: Sep 2005
Location: The PNW
Distribution: Many. Slackware is the main reason I'm here though :)
Posts: 95

Rep: Reputation: 17
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, 07:36 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
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 07:37 PM.
 
Old 07-24-2006, 07:40 PM   #3
Mr. Swillis
Member
 
Registered: Sep 2005
Location: The PNW
Distribution: Many. Slackware is the main reason I'm here though :)
Posts: 95

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


Reply



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 10:43 AM
Upgraded to KDE 3.5 gnome apps don't have theme xvalentinex Linux - Software 1 12-18-2005 11:44 AM
How to make the QtCurve theme effect on apps of gtk-2 in suse-9.2? tony yu SUSE / openSUSE 0 02-10-2005 06:04 AM
GTK theme change w/o gnome help bpk Linux - Software 1 03-26-2004 04:24 PM
set GTK theme w/out Gnome jpbarto Linux From Scratch 4 05-01-2003 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:50 PM.

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
Open Source Consulting | Domain Registration