Right click on the Gnome Keyboard Indicator Applet -> Open Keyboard Prefs -> Layouts -> Add -> choose French Canadian. I click ok, I get two identical error windows, saying: < snip > Error activating XKB configuration. It can happen under various circumstances: - a bug in libxklavier library - a bug in X server (xkbcomp, xmodmap utilities) - X server with incompatible libxkbfile implementation X server version data: Gentoo (The X.Org Foundation 6.8.2, revision r1-0.1.2) 60802000 If you report this situation as a bug, please include: - The result of <b>xprop -root | grep XKB</b> - The result of <b>gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd</b> < /snip > French Canadian is added to the Layouts list in the layouts tab, but I can not activate it thorugh the applet, it does not show in <right click on applet>->groups. Reproducible: Always Steps to Reproduce: Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r9 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-g0 -O2 -march=pentium4 -mtune=pentium4 -msse2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -funit-at-a-time -ftracer -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-g0 -O2 -march=pentium4 -mtune=pentium4 -msse2 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -funit-at-a-time -ftracer -mfpmath=sse -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--strip-all" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acl acpi alsa apache2 avi bash-completion berkdb bitmap-fonts bonobo cdr crypt cups curl doc dvd dvdr eds emboss encode flac foomaticdb gd gdbm gif gnome gpm gstreamer gtk gtk2 guile hal howl imagemagick imlib ipv6 ithreads java jpeg junit kde kdeenablefinal ldap libg++ libwww mad mikmod mmap mmx motif mozilla mp3 mpeg mysql ncurses nls nptl nvidia ogg oggvorbis opengl pam pdflib perl pic plotutils png postgres pthreads python qt quicktime readline sdl session sharedmem slang spell sse sse2 ssl svga symlink tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis xml xml2 xv zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET
I also got this when adding Albanian layout, but not with Farsi,English,Bulgarian,Greek for example.
And at least the French Canadian works in KDE, so I guess this is a Gnome, not X problem.
I do get the error, but the layout does get added and seems to work... Add the information requested in the error dialog please. To me it seems it is a general error with any layout added, might be due to our path changes maybe.
obelix@home ~ $ xprop -root | grep XKB _XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "en_US", "", "" _XKB_RULES_NAMES(STRING) = "xorg", "pc105", "en_US,bg", ",", "grp:lwin_toggle" obelix@home ~ $ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd layouts = [en_US,bg] model = pc105 overrideSettings = false options = [grp grp:lwin_toggle] obelix@home ~ $ As said I get this only on some layouts, and when I get it the layout does not work - I can't change to it.
The problem is caused by a missing file with the keyboard layout. It can be fixed by copying ca_enhanced to /usr/X11R6/lib/X11/xkb/symbols/pc/ . The file and additional description can be found here. http://plug.ca/article.php?story=20050729094643386 It is most likely a gnome gug, not really gentoo specific.
Thanks a lot, Jan. I would have never found this on my own. I added the file, and the problem is fixed. I am not sure if it is a Gnome bug or a X bug, looking at the path ( /usr/X11R6/... ) I guess it is a X bug. There does not seem to be a bug about this in bugs.freedesktop.org, I'll go file one. @X-Team: In the meantime, can this file go in the appropriate ebuild ?
Created attachment 65608 [details] ca_enhanced The missing file. Attaching here for reference. Should go in /usr/X11R6/lib/X11/xkb/symbols/pc/
Upstream bug is https://bugs.freedesktop.org/show_bug.cgi?id=4042
(In reply to comment #6) > @X-Team: In the meantime, can this file go in the appropriate ebuild ? We'll be happy to add it as soon as it's committed upstream.
*** Bug 86232 has been marked as a duplicate of this bug. ***
This seems to be an issue at the X server level, handing it to the X11 herd.
Please reopen if this remains an issue in modular X. Note that there were a number of XKB changes in 7.0, and configuration changes are suggested in the migration guide.