Convention is to put it in /usr/share/themes but it can go anywhere. You can source it systemwide with

/etc/gtk-2.0/gtkrc

and the include line should have the absolute path in double quotes

Alternatively, you can source the file from

~/.gtkrc-2.0

and it should work.

Or if you use gnome, just download the tarball and install the theme by pointing the gnome theme manager to the tarball. Similarly with xfce4. I don't know how it works on KDE.

It will change all the gkt+2 stuff, not just coot.

On Jan 16, 2009, at 9:36 AM, Stefan Arold wrote:

Thank you for your swift reply!

Anticipating problems with the space in the name, I had initially changed the directory name to Glossy_P (-no space). However, changing it back, and pointing to it in the way you indicated, does not help...
Is there a particular directory where Glossy P needs to be sitting?
Or where the .gtkrc-2.0 file (containing the include "/usr/share/ themes/Glossy\ P/gtk-2.0/gtkrc") needs to be placed? (I tried ~/, or COOT subdirectories etc and themes) Or did I miss out something in my path? (for COOT it points at the bin directory of the current COOT download)

Many thanks for your time and suggestions!
Stefan



==================================================
Stefan T. Arold, PhD
Centre de Biochimie Structurale
CNRS UMR 5048 - UM 1 - INSERM UMR 554
29 rue de Navacelles
34090 MONTPELLIER Cedex  - France
email: stefan.ar...@cbs.cnrs.fr
Phone: +33 (0)4.67.41.77.02
Fax:   +33 (0)4.67.41.79.13
==================================================

----- Original Message ----- From: "William G. Scott" <wgsc...@chemistry.ucsc.edu >
To: <COOT@JISCMAIL.AC.UK>
Sent: Friday, January 16, 2009 6:04 PM
Subject: Re: Glossy_P gtk+2


That would be my fault.

On Ubuntu, I have this:

% more /etc/gtk-2.0/gtkrc

include "/usr/share/themes/Glossy\ P/gtk-2.0/gtkrc"
gtk-font-name = "Sans 13"

The one difference I see is the escaped space rather than the underscore, so verify which you should have.



On Jan 16, 2009, at 8:30 AM, Stefan Arold wrote:

Dear All,

I am using coot 0.5.2 on a PC (i686 Intel(R) Core(TM)2 Duo 2.20GHz
GNU/Linux) under mandriva 2008.
I tried to install the Glossy_P gtk +2 themes as described in the coot wiki.

To get this effect, you need the Glossy_P gtk+2 theme:
http://art.gnome.org/download/themes/gtk2/571/GTK2-Glossy_P.tar.gz
Edit a file called ~/.gtkrc-2.0 and put into it the following line:
include "/usr/share/themes/Glossy_P/gtk-2.0/gtkrc"

However: no effect...
I've tried to copy the Glossy_P/gtk-2.0/gtkrc in various places, including
the subdirectories 'themes' and 'etc' of my current coot download
(coot-Linux-i386-redhat-8.0-gtk1-python). Without effect...

any help to gloss my coot would be greatly appreciated!
Cheers
Stefan

Reply via email to