Gentoo Archives: gentoo-user

From: Hung Dang <hungptit@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Icon loading problem after updating for GNOME based application [SOLVED]
Date: Thu, 22 Oct 2009 22:29:32
Message-Id: 4AE0DCC7.5010702@gmail.com
In Reply to: Re: [gentoo-user] Icon loading problem after updating for GNOME based application by Neil Bothwick
1 Thanks a lot for valuable suggestions. By running update-mime-database
2 ~/.local/share/mime/ my GNOME applications work again :).
3
4 Hung
5
6
7 Neil Bothwick wrote:
8 > On Thu, 22 Oct 2009 15:55:31 +0000, Jacob Todd wrote:
9 >
10 >
11 >> On Thu, Oct 22, 2009 at 01:48:57PM -0600, Hung Dang wrote:
12 >>
13 >>> Hi all,
14 >>> After updating my system I find out that some gnome based applications
15 >>> have problem with png images. For example, I got this message when
16 >>> trying to open stadict
17 >>> "Can not load image. Couldn't recognize the image file format for file
18 >>> '/usr/share/pixmaps/stardict.png'" and this problem happened to at
19 >>> least two of my machines.
20 >>> Does anyone know what is going on with my system? I use KDE 4.3.2 then
21 >>> only gtk USE flag is enabled on my box. Please see the output of
22 >>> emerge --info in the attached file for more information.
23 >>>
24 >>> Thanks a lot
25 >>> Hung
26 >>>
27 >>>
28 >>>
29 >> # update-mime-database /usr/share/mime-info
30 >>
31 >
32 > This doesn't exist here.
33 >
34 >
35 >> # update-mime-database /usr/share/mime
36 >>
37 >
38 > This is done by the ebuild, you need to do it for /usr/local/share/mime
39 > and it should be done as root.
40 >
41 >
42 >> % update-mime-database ~/.config/mime
43 >>
44 >
45 > This should be ~/.local/share/mime/ and needs to be run by each user.
46 >
47 > http://bugs.gentoo.org/show_bug.cgi?id=288312 contains the details, and
48 > the elog from emerging shared-mime-info also covers the details now,
49 > although it didn't when the current version was first added to portage.
50 >
51 >
52 >