Re: [gentoo-user] Icon loading problem after updating for GNOME based application [SOLVED]
Thanks a lot for valuable suggestions. By running update-mime-database ~/.local/share/mime/ my GNOME applications work again :). Hung Neil Bothwick wrote: > On Thu, 22 Oct 2009 15:55:31 +, Jacob Todd wrote: > > >> On Thu, Oct 22, 2009 at 01:48:57PM -0600, Hung Dang wrote: >> >>> Hi all, >>> After updating my system I find out that some gnome based applications >>> have problem with png images. For example, I got this message when >>> trying to open stadict >>> "Can not load image. Couldn't recognize the image file format for file >>> '/usr/share/pixmaps/stardict.png'" and this problem happened to at >>> least two of my machines. >>> Does anyone know what is going on with my system? I use KDE 4.3.2 then >>> only gtk USE flag is enabled on my box. Please see the output of >>> emerge --info in the attached file for more information. >>> >>> Thanks a lot >>> Hung >>> >>> >>> >> # update-mime-database /usr/share/mime-info >> > > This doesn't exist here. > > >> # update-mime-database /usr/share/mime >> > > This is done by the ebuild, you need to do it for /usr/local/share/mime > and it should be done as root. > > >> % update-mime-database ~/.config/mime >> > > This should be ~/.local/share/mime/ and needs to be run by each user. > > http://bugs.gentoo.org/show_bug.cgi?id=288312 contains the details, and > the elog from emerging shared-mime-info also covers the details now, > although it didn't when the current version was first added to portage. > > >
Re: [gentoo-user] Icon loading problem after updating for GNOME based application
On Thu, 22 Oct 2009 15:55:31 +, Jacob Todd wrote: > On Thu, Oct 22, 2009 at 01:48:57PM -0600, Hung Dang wrote: > > Hi all, > > After updating my system I find out that some gnome based applications > > have problem with png images. For example, I got this message when > > trying to open stadict > > "Can not load image. Couldn't recognize the image file format for file > > '/usr/share/pixmaps/stardict.png'" and this problem happened to at > > least two of my machines. > > Does anyone know what is going on with my system? I use KDE 4.3.2 then > > only gtk USE flag is enabled on my box. Please see the output of > > emerge --info in the attached file for more information. > > > > Thanks a lot > > Hung > > > > > > # update-mime-database /usr/share/mime-info This doesn't exist here. > # update-mime-database /usr/share/mime This is done by the ebuild, you need to do it for /usr/local/share/mime and it should be done as root. > % update-mime-database ~/.config/mime This should be ~/.local/share/mime/ and needs to be run by each user. http://bugs.gentoo.org/show_bug.cgi?id=288312 contains the details, and the elog from emerging shared-mime-info also covers the details now, although it didn't when the current version was first added to portage. -- Neil Bothwick Pedestrians come in two types: Quick or Dead. signature.asc Description: PGP signature
Re: [gentoo-user] Icon loading problem after updating for GNOME based application
On Thu, 22 Oct 2009 21:50:03 +0200, Hung Dang wrote about [gentoo-user] Icon loading problem after updating for GNOME based application: >Hi all, >After updating my system I find out that some gnome based applications >have problem with png images. For example, I got this message when >trying to open stadict >"Can not load image. Couldn't recognize the image file format for file >'/usr/share/pixmaps/stardict.png'" and this problem happened to at >least two of my machines. >Does anyone know what is going on with my system? Open a root console and cd to /etc/env.d. Edit file 30xdg-data-local and look for a line like: XDG_DATA_DIRS='/usr/local/share' and change it to: XDG_DATA_DIRS='usr/local/share:/usr/share' The do env-update, logout and login again. -- Regards, Dave [RLU #314465] == dwn...@ntlworld.com (David W Noon) == signature.asc Description: PGP signature
Re: [gentoo-user] Icon loading problem after updating for GNOME based application
On Thu, Oct 22, 2009 at 01:48:57PM -0600, Hung Dang wrote: > Hi all, > After updating my system I find out that some gnome based applications > have problem with png images. For example, I got this message when > trying to open stadict > "Can not load image. Couldn't recognize the image file format for file > '/usr/share/pixmaps/stardict.png'" and this problem happened to at least > two of my machines. > Does anyone know what is going on with my system? I use KDE 4.3.2 then > only gtk USE flag is enabled on my box. Please see the output of emerge > --info in the attached file for more information. > > Thanks a lot > Hung > > # update-mime-database /usr/share/mime-info # update-mime-database /usr/share/mime % update-mime-database ~/.config/mime -- Jake Todd // If it isn't broke, tweak it! pgpTLBKDXZkkh.pgp Description: PGP signature