You are not logged in.

#1 2010-10-29 03:15:07

N-Acc
Member
Registered: 2009-02-19
Posts: 18

gtk does not recognize svg icons

gtk constantly complains about not recognizing svg icons and shows a default not-found icon everywhere. I am sure I got librsvg; everything else involving svgs is fine (I can use inkscape, and thunar seems to display svg file icons fine). I just set up Arch on my new x64 box and must have missed something obvious here ...

Some sample complaints:

(gimp:6797): Gtk-WARNING **: Error loading theme icon 'document-save' for stock: Unrecognized image file format
/usr/lib/python2.7/site-packages/sonata/main.py:764: GtkWarning: Error loading icon: Couldn't recognize the image file format for file '/home/nacc/.icons/ALLGREY/scalable/status/stock_volume-med.svg'

Offline

#2 2010-10-29 03:41:49

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,405
Website

Re: gtk does not recognize svg icons

Install librsvg and python-rsvg.

Offline

#3 2010-10-29 05:16:22

N-Acc
Member
Registered: 2009-02-19
Posts: 18

Re: gtk does not recognize svg icons

I have librsvg installed, and the problem still exists after installing python-rsvg (and reinstalling librsvg) ....

It seems only the svg icons in gtk was affected though, in other situations svgs are displayed normally...

Offline

#4 2010-10-29 07:01:06

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,405
Website

Re: gtk does not recognize svg icons

You are fully up to date?  I can not replicate...

Offline

#5 2010-11-17 23:53:04

Blazeix
Member
Registered: 2006-10-26
Posts: 25

Re: gtk does not recognize svg icons

N-Acc, did you managed to resolve this? I'm also affected by this on a brand new install.

x86_64 Arch, fully up to date
Gnome 2.32
librsvg and python-rsvg 2.32

An icon set that shows this problem is elementary-icons in AUR.

In addition to various icons that don't work (like those in the notification area in the panel) the icon theme chooser is also broken. (screenshot)

Last edited by Blazeix (2010-11-17 23:55:33)

Offline

#6 2010-11-18 03:34:13

dedanna1029
Member
From: Cheyenne, WY, US
Registered: 2010-10-01
Posts: 98

Re: gtk does not recognize svg icons

I'm experiencing the same...

I have both packages installed...

[root@dedanna dedanna]# pacman -S librsvg python-rsvg
--->warning: librsvg-2.32.0-2 is up to date -- reinstalling
--->warning: python-rsvg-2.32.0-3 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (2): librsvg-2.32.0-2 [0.11 MB]  python-rsvg-2.32.0-3 [0.00 MB]

Total Download Size:    0.12 MB
Total Installed Size:   0.75 MB

Proceed with installation? [Y/n] n

Last edited by dedanna1029 (2010-11-18 03:37:05)

Offline

#7 2010-11-18 11:25:41

birdflesh
Member
From: Greece
Registered: 2010-08-04
Posts: 97

Re: gtk does not recognize svg icons

usr/bin/gdk-pixbuf-query-loaders --update-cache

That fixed this for me in the past. (It's off the install script of librsvg package)

Offline

Board footer

Powered by FluxBB