You are not logged in.

#1 2005-12-18 15:39:57

beniro
Member
From: St. Petersburg, FL, USA
Registered: 2002-12-31
Posts: 313

GTK2 icon switching? [solved]

Hello. I've used xfce for a long while now, off and on, and I'm moving back to blackbox.  Sweet.  The thing is that I want to switch my GTK2 icons to the ones found here:

http://www.gnome-look.org/content/show. … tent=26757

Very nice.  I've become reliant on xfce's config utils to get this stuff done.  I've used switch2 to get the GTK2 theme to work in general, but in my apps (like rox), it still shows the default icons across the top (the actual folders/file types are displayed correctly).

Any help?

Offline

#2 2005-12-18 16:55:53

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,925
Website

Re: GTK2 icon switching? [solved]

Take a look at .gtkrc .... .gtkmine .... .gtkrc-2.0 ....

On Rox website there are instructions on how to change icons (toolbar) in Rox ,,,

HTH


Mr Green

Offline

#3 2005-12-19 21:33:42

beniro
Member
From: St. Petersburg, FL, USA
Registered: 2002-12-31
Posts: 313

Re: GTK2 icon switching? [solved]

That will work, but I'm interested in getting the whole icon set working, not just those widgets in rox.  I'm using gperfection2 (which doesn't have an iconrc file, works perfectly under xfce4 or gnome), and I want to figure out what the option for just switching the iconset for gtk2 is.

The solution on rox' site would work, but I would have to recreate the whole thing entry by entry.  Lame.

I've scoured the net, but I haven't found an answer.  What entry can I put in my gtkrc file that fixes this?

Offline

#4 2005-12-19 21:45:22

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: GTK2 icon switching? [solved]

I think you put

include "/path/to/your/index.theme"

in .gtkrc-2.0.

Offline

#5 2005-12-21 15:23:50

beniro
Member
From: St. Petersburg, FL, USA
Registered: 2002-12-31
Posts: 313

Re: GTK2 icon switching? [solved]

Thanks for the your help, guys.

I've been trying that.  When I try to including an index.theme, it appears that GTK is expecting a iconrc file, which, AFAIK, is no longer required in themes.  I made a perfunctory iconrc file, and that works, but gperfection2 is 18 megs worth of icons, so I'll not get all those included in the iconrc...

Point is, I'm still searching for the answer.

Offline

#6 2005-12-23 09:23:13

miniml
Member
From: Zadar, Croatia
Registered: 2005-12-22
Posts: 10

Re: GTK2 icon switching? [solved]

zenned wrote:
gtk-icon-theme-name = "Tango"

Works for me (with tango, obviously), but YMMV.

And where to put icon theme and in what file to put that snippet of code?

Offline

#7 2005-12-23 11:44:38

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,925
Website

Re: GTK2 icon switching? [solved]

emm .icons .... maybe

Gtk has to know where icons are ... /usr/share/icons normal ... but I like to load some to ~/.icons easy to manage etc...

my2c


Mr Green

Offline

#8 2005-12-23 11:51:21

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: GTK2 icon switching? [solved]

miniml wrote:
zenned wrote:
gtk-icon-theme-name = "Tango"

Works for me (with tango, obviously), but YMMV.

And where to put icon theme and in what file to put that snippet of code?

Put that in ~/.gtkrc-2.0.

Offline

#9 2005-12-23 15:52:33

beniro
Member
From: St. Petersburg, FL, USA
Registered: 2002-12-31
Posts: 313

Re: GTK2 icon switching? [solved]

That did it.  Thanks zenned!  Nicely done!

Thanks for the attention from everyone to this issue.

Hurrah!

Offline

#10 2005-12-23 19:25:38

miniml
Member
From: Zadar, Croatia
Registered: 2005-12-22
Posts: 10

Re: GTK2 icon switching? [solved]

Works for me also, thanks guys!

Offline

Board footer

Powered by FluxBB