GTK issues

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

GTK issues

Postby ProtoJazz on Sat Apr 28, 2012 1:55 pm

I was able to get GTK themes working kind of.

It looks perfect if I run the program as superuser, but all broken and half themed as normal

Normal
http://imageshack.us/f/201/nonsudogtk.png/

Sudo
http://imageshack.us/f/440/sudogtk.png/

I dont think just running ff and thunderbird as su will work, it deletes most of my data when I do. Why doesnt it work normal though?
Been using mint for about a month now and really like it, but this just has be stumped
ProtoJazz
Level 1
Level 1
 
Posts: 9
Joined: Sat Apr 28, 2012 1:02 pm

Linux Mint is funded by ads and donations.
 

Re: GTK issues

Postby GeneC on Sat Apr 28, 2012 2:03 pm

Did you put your theme (as root) in usr/share/themes?
If only in Home/.themes you will have that problem.
GeneC

AMD Phenom2x4 3.2 ghz, 12GB DDR3, Nvidia GTX 460

1. LMDE(201303) - Gnome Shell 3.6/Cin. 1.8 - Testing
2. LMDE - XFCE 4.10 - SID

3. SolydXK/KDE 4.10-3/SID
(All 64bit multiarch, Nvidia 319.17 - Liquorix 3.8.xx)
User avatar
GeneC
Level 6
Level 6
 
Posts: 1405
Joined: Fri Sep 03, 2010 1:59 pm
Location: Maine, USA

Re: GTK issues

Postby ProtoJazz on Sat Apr 28, 2012 3:36 pm

It was only in usr/share/themes, I tried with it just in my home/.themes, and it did nothing at all, then in both and its the same result as when it was just in usr, No idea why it will only run it if I launch the program as root though..
Most things either work all the way, or break all the way.
ProtoJazz
Level 1
Level 1
 
Posts: 9
Joined: Sat Apr 28, 2012 1:02 pm

Re: GTK issues

Postby ProtoJazz on Sat Apr 28, 2012 5:45 pm

Cool. I figured it out, It was a KDE issue. If I had understod more about how sudo works I would have figured it out faster. root isnt bound to the same user rules you set (or in this case the default).
I found a thread where someone was having issues in KDE with GTK themes, and one of the replys was

In a terminal, run the following two commands, and paste the output here.

Code: Select all
echo $GTK_PATH
echo $GTK2_RC_FILES



You can use Konsole to do this.


so I did it, and the GTK2 one pointed to a file, so I decided to look for it and open it. Inside was a note
# If you do not want KDE to override your GTK settings, select
# Appearance -> Colors in the System Settings and disable the checkbox
# "Apply colors to non-KDE4 applications"


So I disabled the check box, and everything works as it should. Fairly easy fix, but the KDE settings area is a bit confusing, and pretty big.
ProtoJazz
Level 1
Level 1
 
Posts: 9
Joined: Sat Apr 28, 2012 1:02 pm


Return to Newbie Questions

Who is online

Users browsing this forum: FireSoul and 45 guests