Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SVG Icons (GTK2/Nautilus)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
blamothe
Apprentice
Apprentice


Joined: 31 Jan 2003
Posts: 231
Location: Cambridge Mass

PostPosted: Sun Jul 27, 2003 2:50 pm    Post subject: SVG Icons (GTK2/Nautilus) Reply with quote

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
View user's profile Send private message
timmfin
Guru
Guru


Joined: 04 Sep 2002
Posts: 336
Location: Maryland, USA

PostPosted: Sun Jul 27, 2003 7:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
athemi
n00b
n00b


Joined: 28 Jan 2003
Posts: 28
Location: Duesseldorf, Germany

PostPosted: Sun Jul 27, 2003 7:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
timmfin
Guru
Guru


Joined: 04 Sep 2002
Posts: 336
Location: Maryland, USA

PostPosted: Mon Jul 28, 2003 1:54 am    Post subject: Reply with quote

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
View user's profile Send private message
blamothe
Apprentice
Apprentice


Joined: 31 Jan 2003
Posts: 231
Location: Cambridge Mass

PostPosted: Mon Jul 28, 2003 4:43 am    Post subject: Reply with quote

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
View user's profile Send private message
athemi
n00b
n00b


Joined: 28 Jan 2003
Posts: 28
Location: Duesseldorf, Germany

PostPosted: Mon Jul 28, 2003 11:16 am    Post subject: Reply with quote

Have you tried to reemerge gtk-engines and GTK2, as I suggested above?
Back to top
View user's profile Send private message
blamothe
Apprentice
Apprentice


Joined: 31 Jan 2003
Posts: 231
Location: Cambridge Mass

PostPosted: Mon Jul 28, 2003 11:56 am    Post subject: Reply with quote

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
View user's profile Send private message
spectatorion
n00b
n00b


Joined: 12 Jul 2003
Posts: 35

PostPosted: Tue Aug 19, 2003 9:48 pm    Post subject: my solution to the same problem Reply with quote

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
View user's profile Send private message
kerrick
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2003
Posts: 141
Location: Strongbadia

PostPosted: Tue Aug 19, 2003 10:05 pm    Post subject: Reply with quote

You might have to emerge gtk+ again in order for GdkPixbuf to recognize the library.
_________________
Real men use every GAIM protocol.
Back to top
View user's profile Send private message
Reformist
Guru
Guru


Joined: 06 Oct 2002
Posts: 323

PostPosted: Fri Aug 22, 2003 7:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Skip.za
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2003
Posts: 110
Location: Cape Town, South Africa

PostPosted: Fri Aug 22, 2003 9:31 am    Post subject: Reply with quote

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
View user's profile Send private message
tom.barbeau
n00b
n00b


Joined: 13 Aug 2003
Posts: 32
Location: Montreal, Canada

PostPosted: Tue Aug 26, 2003 3:08 am    Post subject: Reply with quote

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! :lol:

That's sweet cause I love that gorilla theme. Got to find a background that matches now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum