[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Correct way to specify GTK 1.x theme?

Hi David,

As far as I can tell, while running Gnome 2, Gnome uses the
.gtkrc-1.2-gnome file for all gnome 1.x settings. A workaround is to do
the following:

cp .gtkrc .grkrc-1.2-gnome

Then start up X normally. This will work as a one-time fix, but it sucks
for a number of reasons, chief among them is the fact that Gnome 2 will
overwrite your .gtkrc-1.2-gnome file with default theme information. I
think it tries to match your gnome 2 theme to a gnome 1 theme and if it
can't find it it will use the default theme. Try finding a matching gtk
1.x theme for your gtk 2 theme and installing it
/usr/share/themes/(themename) directory with your gtk 2 theme. Then
Gnome 2 will automatically use the correct gtk1.x theme (by writing to
that .gtkrc-1.2-gnome file) I haven't tried this yet, but I think that's
how it is supposed to work.

Hmm other gtk1.x apps...I think grip is still 1.x

Good luck,

On Sun, 2004-01-04 at 19:24, david.venz@invensys.com wrote:
> Hello,
> Currently running testing/unstable with GNOME 2.4 on x86.
> I want to get rid of the ugly fonts / select another theme for all GTK 1.x
> apps like gnucash and xmms.  When I use gtk-theme-switch, it writes to
> ~/.gtkrc OK.  I've got a font override in ~/.gtkrc-mine.  But I'm not
> seeing those apps using the theme I selected...   Could someone please
> suggest:
> 1) Some other 1.x apps to try, to see whether it's a problem across the
> board
> 2) Some other "Debian" way of setting 1.x themes?
> TIA,
> -Dave.

Reply to: