| View previous topic :: View next topic |
| Author |
Message |
blamothe Apprentice


Joined: 31 Jan 2003 Posts: 231 Location: Cambridge Mass
|
Posted: Sun Jul 27, 2003 2:50 pm Post subject: SVG Icons (GTK2/Nautilus) |
|
|
| I am trying to use the nuvola metatheme from gnome-themes-extras, and it works fine except for one thing, the nautilus icons. for some reason, nautilus and gnome-panel can't recognize SVG icons, so instead of the cool looking icon popping up, a white sheet of paper with a red x pops up. i ran nautilus in a terminal and it just spitts out a bunch of "unrecognized format" errors. i am not talking about the gnome icon theme, but the icons in the nautilus menu and the foot icon on the gnome panel. if anyone has successfully gotten SVG to work with these icons, please post. any help would be greatly appreciated. thanks. |
|
| Back to top |
|
 |
timmfin Guru


Joined: 04 Sep 2002 Posts: 336 Location: Maryland, USA
|
Posted: Sun Jul 27, 2003 7:30 pm Post subject: |
|
|
| Most of them work fine with me but not all of them. What version of librsvg do you have? (emerge -p librsvg) |
|
| Back to top |
|
 |
athemi n00b


Joined: 28 Jan 2003 Posts: 28 Location: Duesseldorf, Germany
|
Posted: Sun Jul 27, 2003 7:49 pm Post subject: |
|
|
I had the same problem. To fix it, try this:
- Make sure, you have librsvg-2.2.5 (most recent one in portage) or higher
- recompile gtk-engines and gtk+ (GTK2)
Restart X, gdm, or whatsoever and everything should run just fine. |
|
| Back to top |
|
 |
timmfin Guru


Joined: 04 Sep 2002 Posts: 336 Location: Maryland, USA
|
Posted: Mon Jul 28, 2003 1:54 am Post subject: |
|
|
A newer version of librsvg is out, but not in portage. If you rename librsvg-2.2.5.ebuild to librsvg-2.3.1.ebuild it will give the the newer version. EVery version of it fixes alot of icons. I should go submit this to bugzilla.
<edit>I noticed that 2.3.1 is out</edit> |
|
| Back to top |
|
 |
blamothe Apprentice


Joined: 31 Jan 2003 Posts: 231 Location: Cambridge Mass
|
Posted: Mon Jul 28, 2003 4:43 am Post subject: |
|
|
| i have librsvg 2.2.5, and none of the icons work whatsoever. i am trying to install the nuvola theme, and the theme installs, but where the icons are supposed to be, i just see white sheets of paper with red x's through them. the same thing happens when i try to install gorilla. |
|
| Back to top |
|
 |
athemi n00b


Joined: 28 Jan 2003 Posts: 28 Location: Duesseldorf, Germany
|
Posted: Mon Jul 28, 2003 11:16 am Post subject: |
|
|
| Have you tried to reemerge gtk-engines and GTK2, as I suggested above? |
|
| Back to top |
|
 |
blamothe Apprentice


Joined: 31 Jan 2003 Posts: 231 Location: Cambridge Mass
|
Posted: Mon Jul 28, 2003 11:56 am Post subject: |
|
|
| i didn't even have gtk-themes installed (it was masked). i merged it and nothing changed, still get the sheet of paper with the red x through it. |
|
| Back to top |
|
 |
spectatorion n00b


Joined: 12 Jul 2003 Posts: 35
|
Posted: Tue Aug 19, 2003 9:48 pm Post subject: my solution to the same problem |
|
|
I was having the exact same problem. I re-emerged librsvg, gnome-themes-extras, and gtk-engines. gtk-engines was masked, so i had to do this:
| Code: | | ACCEPT_KEYWORDS="~x86" emerge gtk-engines |
then, restart X, GNOME, gdm, and whatever other x11-related stuff you are running. For me (using gdm) all I had to do was log out and log back in. The red X's are gone and everything looks nice.
currently I have the following versions:
librsvg-2.2.5
gnome-themes-extras-0.2
gtk-engines-2.2.0
and:
gnome-2.2.1
gtk+-2.2.1 |
|
| Back to top |
|
 |
kerrick Tux's lil' helper


Joined: 22 Apr 2003 Posts: 141 Location: Strongbadia
|
Posted: Tue Aug 19, 2003 10:05 pm Post subject: |
|
|
You might have to emerge gtk+ again in order for GdkPixbuf to recognize the library. _________________ Real men use every GAIM protocol. |
|
| Back to top |
|
 |
Reformist Guru


Joined: 06 Oct 2002 Posts: 323
|
Posted: Fri Aug 22, 2003 7:11 am Post subject: |
|
|
I didn't have to emerge jack. Having them not recognized initially in the edit shortcuts menu, I ran this, as suggested by jrollins (5 times, nonetheless) in another thread:
| Code: |
gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders
|
After running that, I did have to restart X; when gnome booted up, I could edit shortcuts and SOME svg icons worked, but not all. I emerged the 2.3.1 version of librsvg, as suggested above, and more of the svg icons worked =) _________________ -Phil Crosby |
|
| Back to top |
|
 |
Skip.za Tux's lil' helper

Joined: 19 May 2003 Posts: 110 Location: Cape Town, South Africa
|
Posted: Fri Aug 22, 2003 9:31 am Post subject: |
|
|
| I had the same problem as this. It seems that the /etc/gtk-2.0/gdk-pixbuf.loaders file is not configured correctly (or another program changes it) so that librsvg is not called to draw svg icons in gtk2 widgets. I solved it by just re-emerging librsvg (2.2.5), and then accepting the updated config file with etc-update. After that it was all good. |
|
| Back to top |
|
 |
tom.barbeau n00b


Joined: 13 Aug 2003 Posts: 32 Location: Montreal, Canada
|
Posted: Tue Aug 26, 2003 3:08 am Post subject: |
|
|
Thanks Skip.za for the tip. I had that problem too with the gorilla theme, emerged librsvg again as you said ...
restarted X and it worked!
That's sweet cause I love that gorilla theme. Got to find a background that matches now. |
|
| Back to top |
|
 |
|