Re: [gentoo-user] Icon loading problem after updating for GNOME based application [SOLVED]

2009-10-22 Thread Hung Dang
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

2009-10-22 Thread Neil Bothwick
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

2009-10-22 Thread David W Noon
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

2009-10-22 Thread Jacob Todd
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


[gentoo-user] Icon loading problem after updating for GNOME based application

2009-10-22 Thread Hung Dang
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

 
Portage 2.1.7.1 (default/linux/amd64/2008.0/desktop, gcc-4.4.1, 
glibc-2.10.1-r0, 2.6.30-gentoo-r8-hhserver x86_64)
=
System uname: 
linux-2.6.30-gentoo-r8-hhserver-x86_64-intel-r-_core-tm-_i7_cpu_9...@_2.67ghz-with-gentoo-2.0.1
Timestamp of tree: Tue, 20 Oct 2009 21:45:01 +
app-shells/bash: 4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python: 2.6.3, 3.1.1-r1
dev-util/cmake:  2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.5.2-r1
sys-apps/sandbox:2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.6.3, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release 
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ 
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash 
/etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d 
/etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news 
parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs 
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LDFLAGS="-Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j7 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 apache2 aspell bash-completion 
bluetooth boost branding bzip2 cairo cdr cg cli compat consolekit cracklib 
crypt cups dbus djvu dri dts dvd dvdr dvipdfm eds emboss encode esd evo extra 
fam fbcondecor fbsplash ffmpeg fftw flac fltk fortran gcj gd gdbm gfortran gif 
gnuplot gpm graphics gstreamer gtk hal hddtemp hdf5 iconv imagemagick ipv6 
isdnlog java java6 jpeg jpeg2k kde kerberos kpathsea lapack laptop latex lcms 
ldap libnotify lm_sensors lua lyx mad math mikmod mmx mmxext mng modules mp3 
mp4 mpeg msn mudflap multilib multislot mysql ncurses netcdf nls npp nptl 
nptlonly nsplugin nvidia ocaml ogg omega opengl openmp pam patented pcre pdf 
perl php plotutil png ppds pppd pstricks publishers python qt3support qt4 
quicktime rdesktop readline reflection science sdl sensord server session spell 
spl sql sse sse2 ssl ssse3 startup-notification svg symlink sysfs tcl tcpd 
threads thunar thunderbird tidy tiff tk truetype unicode usb v4l v4l2 vhosts 
vnc vorbis webkit winbind wma wxwidgets wxwindows x264 xcomposite xml xorg 
xulrunner xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp 
atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 
hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem 
ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug 
file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null 
plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic 
authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm 
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 
dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache 
filter headers include info log_config logio mem_cache mime mime_magic 
negotiation rewrite setenvif speling status unique_id userdir usertrack 
vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" 
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses 
text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, 
LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, POR