Click to See Complete Forum and Search --> : Change icon theme for GTK2


hop-frog
03-23-2005, 10:26 PM
I am trying to install Nuvola icons system-wide on my desktop.

I have the icons placed in folders such like so:
/usr/share/icons/Nuvola/scalable/apps/
/usr/share/icons/Nuvola/scalable/devices/
/usr/share/icons/Nuvola/scalable/emblems/
/usr/share/icons/Nuvola/scalable/filesystems/
/usr/share/icons/Nuvola/scalable/mimetypes/
/usr/share/icons/Nuvola/scalable/stock/

I do not have GNOME installed or any of the configuration tools and installing these is not an option on this system. I have been using ~/.gtkrc-2.0 to switch GTK2 themes, but do not know how to change icon themes.

Is there a line to add to ~/.gtkrc-2.0 to change to this theme?

Thanks.

Hayl
03-23-2005, 11:37 PM
if you mean the icon theme for the buttons in the apps, it's part of the gtk theme.

the gtkrc for the theme with eithe rhave a bunch of icons listed out in it or a lie like this:
include "iconrc"

and then the iconrc would look (partially) like this:

pixmap_path "/usr/share/icons/Nuvola/scalable/stock"
style "icon-style"
{
# stock["gnome-stock-about"] = {{ "star-button.svg" }}
stock["gnome-stock-volume"] = {{ "stock-volume.svg" }}
# stock["gnome-stock-mic"] = {{ "stock_mic.svg" }}
# stock["gnome-stock-line-in"] = {{ "stock_line-in.svg" }}
# stock["gnome-stock-attach"] = {{ "stock_attach.svg" }}

..................

# stock["gnome-stock-book-blue"] = {{ "stock_book.svg" }}
# stock["gnome-stock-book-green"] = {{ "stock_book.svg" }}
}
class "GtkWidget" style "icon-style"

madcompnerd
03-23-2005, 11:49 PM
Incidentally, you can also just include that in your ~/.gtk2-rc I think. But the trouble with that is that gnome and xfce manage things all on their own (pretty annoying IMO).
The defaults have to be stored somewhere though :).

hop-frog
03-24-2005, 09:40 PM
So, I have an icon theme for GNOME with hundreds of icons (which I downloaded here (http://librsvg.sourceforge.net/theme.php)) and I have to type of a out huge file just to use it?

XiaoKJ
03-25-2005, 04:46 AM
actually, if you don't use gnome, and you use kde, I will just use gtk-qt engine, although it might not be gtk2 or gtk, whatever it uses. At least it works in most programs like gaim.