LinuxQuestions.org
Review your favorite Linux distribution.
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 05-13-2003, 09:12 AM   #1
jonadab
LQ Newbie
 
Registered: May 2003
Location: Ohio
Distribution: Mandrake
Posts: 6

Rep: Reputation: 0
Odd gtk theme issue, inconsistent between wm sessions


This is highly odd. First some background...

I'm using Mandrake 9.1, which comes with Gnome2, so I was not very
surprised when the Gnome control panel only lets me change the theme
for GTK2 apps, and of course, GTK 1.x apps (e.g., Gimp) don't use it.
So I went looking for a way to change the GTK theme from the command
line, found one, and told it to apply the thEmacs theme that I liked when
I was using Gnome1 (on a different install).

Apps didn't use the new theme, and I figured the tool didn't work -- but
I was (partly) wrong (I think). I finally got utterly fed up with metacity
and started trying out other sessions besides Gnome. When I tried
icewm, lo and behold, my GTK apps were picking up and using the
thEmacs theme that I had applied.

But under gnome-session that doesn't happen; GTK apps get the default
theme or whatever. I tried other window manager sessions, and most of
them do what Gnome does, but a couple do what icewm does. And KDE
makes a sort of hybrid, which looks really funky. (Screenshots available
upon request.)

So here's my question: what's different under gnome-session (even if
I change the window manager to icewm via killall metacity; icewm &)
than under the icewm session, that causes Gimp and other GTK apps
to pick up a different GTK theme -- and, more importantly, how do I
get the theme installed so that it will be used under all sessions? Now
that I've got sawfish installed, I'd like to go back to the Gnome session,
but the inability to get GTK apps to use a sensible theme (no blinding
white backgrounds) is crucial.

No, I do not have multiple versions of Gimp installed.

TIA for any assistance.
 
Old 05-14-2003, 08:01 AM   #2
jonadab
LQ Newbie
 
Registered: May 2003
Location: Ohio
Distribution: Mandrake
Posts: 6

Original Poster
Rep: Reputation: 0
ANSWER (for single-user systems)

Found my answer on Google Groups :-), posting it here in
case anyone else does a web search and finds this...

This is of course only good if you don't need to keep it from having
an impact on any other users who share your system, but for most
desktop systems that's irrelevant. Anyway, all I had to do was
this:

ln -s /usr/share/themes/thEmacs/gtk/gtkrc /etc/gtk/gtkrc

For some reason, it wasn't enough for ~/.gtkrc to say
include "/usr/share/themes/thEmacs/gtk/gtkrc"
but I don't know why. Anyway, the global fix solved my problem.
 
  


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
Change GTK and Qt theme without installing them? (plus an odd question or two) AlexMax Linux - General 1 10-08-2005 06:28 AM
where to get gorilla gtk theme? jogurt666 Linux - General 1 03-26-2005 04:14 PM
can't change theme in GTK 2.4.x leadazide Linux - Software 1 10-03-2004 07:15 AM
Firefox doesn't use gtk theme Haiyadragon Linux - Software 3 08-28-2004 10:14 AM
gentoo + theme GTK+ m4r1u5z Linux - General 4 06-06-2004 01:53 AM

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

All times are GMT -5. The time now is 12:53 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