Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93190 - Can not add French Canadian to the layout list in Gnome Keyboard Indicator Applet.
Summary: Can not add French Canadian to the layout list in Gnome Keyboard Indicator Ap...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 86232 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-19 04:51 UTC by Ivan Yosifov
Modified: 2006-03-31 20:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ca_enhanced (ca_enhanced,8.73 KB, text/plain)
2005-08-10 08:25 UTC, Ivan Yosifov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Yosifov 2005-05-19 04:51:18 UTC
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
Comment 1 Ivan Yosifov 2005-05-19 04:52:58 UTC
I also got this when adding Albanian layout, but not with
Farsi,English,Bulgarian,Greek for example.
Comment 2 Ivan Yosifov 2005-05-19 04:53:47 UTC
And at least the French Canadian works in KDE, so I guess this is a Gnome, not X
problem.
Comment 3 foser (RETIRED) gentoo-dev 2005-05-19 09:19:04 UTC
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.
Comment 4 Ivan Yosifov 2005-05-19 09:33:32 UTC
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.
Comment 5 Jan Soucek 2005-08-09 07:57:40 UTC
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.
Comment 6 Ivan Yosifov 2005-08-10 08:24:09 UTC
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 ?
Comment 7 Ivan Yosifov 2005-08-10 08:25:34 UTC
Created attachment 65608 [details]
ca_enhanced

The missing file. Attaching here for reference.

Should go in /usr/X11R6/lib/X11/xkb/symbols/pc/
Comment 8 Ivan Yosifov 2005-08-10 08:39:02 UTC
Upstream bug is https://bugs.freedesktop.org/show_bug.cgi?id=4042
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2005-08-10 10:33:43 UTC
(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.
Comment 10 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-01-07 13:56:03 UTC
*** Bug 86232 has been marked as a duplicate of this bug. ***
Comment 11 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-01-07 14:00:13 UTC
This seems to be an issue at the X server level, handing it to the X11 herd.
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-31 20:05:01 UTC
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.