Gentoo Archives: gentoo-desktop

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-desktop@l.g.o
Subject: [gentoo-desktop] Re: KDE and GTK themes
Date: Sun, 24 Oct 2010 00:06:33
Message-Id: pan.2010.10.23.23.08.56@cox.net
In Reply to: [gentoo-desktop] Re: KDE and GTK themes by Nikos Chantziaras
1 Nikos Chantziaras posted on Fri, 15 Oct 2010 15:15:57 +0300 as excerpted:
2
3 > On 10/15/2010 02:56 PM, Coert Waagmeester wrote:
4 >> Hello all,
5 >>
6 >> How can I get a nice theme on firefox (and other gnome gtk apps) when I
7 >> use KDE?
8 >>
9 >> I have installed the gtk qtcurve package.
10 >
11 > Also install kde-misc/kcm_gtk. This will give you a new configuration
12 > option in System Settings (either in "Application Appearance" or in
13 > "Lost and Found" if you're on KDE 4.5.2) where you can configure Gtk.
14 >
15 > In order to configure QtCurve itself though, you will also have to
16 > install x11-themes/qtcurve-qt4, and switch KDE from Oxygen to that,
17 > configure it (this also configures the Gtk version) and then switch back
18 > to Oxygen (the Gtk configuration of QtCurve will be kept.)
19
20 Of course, firefox, at least recent versions, has its own themes. AFAIK
21 theming was built-in from firefox 3.6, and I've been using those.
22
23 Meanwhile, instead of going the qt-curve or whatever route, here, I
24 configure the colors in kde, and ensure that the checkbox is checked, to
25 apply those to non-kde apps. That takes care of most of it, altho it does
26 depend on how you launch the app whether the kde controlled theme is in
27 the environment for the gtk app, or not. Launching from, say, konsole,
28 doesn't seem to get it included by default, but if you put something like
29
30 export GTK@_RC_FILES="/home/user/.kde/share/config/gtkrc-2.0"
31
32 (adjust the path as necessary) either in a wrapper script (as I do for
33 pan, since I have a wrapper for it for other reasons), or in your .bashrc
34 or the like, then it should work even when launching from konsole, etc.
35
36 I think I hand-edited the file to get the font sizes, etc, but it has been
37 awhile, so I don't know if kde or my hand edits are controlling it now...
38
39 --
40 Duncan - List replies preferred. No HTML msgs.
41 "Every nonfree program has a lord, a master --
42 and if you use the program, he is your master." Richard Stallman