The gnome keyboard indicator applet has an option to display flags instead of the letter abreviation to indicate what keyboard layout is used. When selected the keyboard indicator dosen't display flags but a little red error icon. Reproducible: Always Steps to Reproduce: 1.Add keyboard indicator applet to panel 2.Right click on applet select preferences 3.Select Use flags as indicators Actual Results: A little red error icon appears Expected Results: The flag of the currnetly used keyboard should appear. Portage 2.0.51_rc9 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r10 i686) ================================================================= System uname: 2.6.8-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.5.3 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fforce-addr -falign-functions=32 -fprefetch-loop-arrays -mfpmath=sse,387 -fomit-frame-pointer -funroll-loops -fstack-protector" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fforce-addr -falign-functions=32 -fprefetch-loop-arrays -mfpmath=sse,387 -fomit-frame-pointer -funroll-loops -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.seren.com/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac aalib acpi acpi4linux activefilter aim alsa amd apm audiofile avi bdf berkdb bidi bindist bitmap-fonts bonobo bzlib c calendar cddb cdparanoia cdr cdrom cjk codecs crypt cups curl curlwrappers dga dhcp directfb divx4linux doc dvd dvdr dvdread eds emoticon encode erandom esd ethereal evo exif f77 faac faad fam fbcon ffmpeg fftw flac flash foomaticdb ftp gb gcj gd gdbm geoip ggi gif gimp gimpprint glade gnome gnomedb gnuplot gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile hal hbci hostap-noplx hub i8x0 icq icu imagemagick imap imlib imlib2 interbase intl ipv6 jabber java javacomm javadoc javamail javascript jbig jce jikes jp2 jpeg jpeg2k junit jython kadu-modules kadu-voice latex lcd libcaca libg++ libgda libwww live lzo lzw lzw-tiff mad matroska mdb mikmod mime ming mmx mmx2 mng monkey mono mozilla moznocompose moznoirc moznomail mozp3p mozsvg mp3 mpeg mpeg4 mplayer msn ncurses net network nls nntp nptl ntlm objc ocaml offensive oggvorbis openal opengl oscar oss pam pcmcia pcre pda pdf pdflib perl png pnp python qt quicktime readline rtc samba scanner sdl session silc slang smime speex spell sse sse2 ssl svg svga tcltk tcpd theora tidy tiff timidity truetype trusted unicode usb v4l v4l2 vcdimager vim vim-with-x wifi wmf wxwin wxwindows x86 xine xml xml2 xmms xpm xprint xscreensaver xsl xv xvid xvmc yahoo zlib"
Gnome doesn't ship any flags by default and policy, so I'm not quite sure what we can do about this. (Export problems wrt. Greece, Macedonia, China, Taiwan fex. )
is there a gnome-flags package or something? from what i remember from the threads on gnome-dev, if there were offensive flags, then replace the two with a placeholder, like a chinese character symbol or something neutral.
There are flags in gnome-applets tarball (gkb-new/gkb) and they are installed in proper place (/usr/share/pixmaps/gkb). No bugs on gnome bugzilla, so it is gentoo bug :(
its not looking for those flags or it is looking in the wrong path.
Yeh, gswitchit looks for the icons in /usr/share/pixmaps, but they are installed in /usr/share/pixmaps/gkb.
So, theoretically moving the .png files from /usr/share/pixmaps/gkb to /usr/share/pixmaps should make it work. It worked for me, however not at first. There was a mysterious combination of log-outs and reboots that made it recognize the flags.
Moving the .png files from /usr/share/pixmaps/gkb to /usr/share/pixmaps works. After coopy I just did #killall gnome-keyboard-applet metacity (?) kindly asked to restart gnome-keyboard-applet, I answererd "Yes" and everything is fine.
Looks like gswitchit looks for $pixmapsdir which = $datadir/pixmaps which should equate to /usr/share/pixmaps in gnome-applets-2.12.0.