1. When I start gnome I get an error window about xkb error (see attached screenshot). If I switch away from Gnome and then back again I get 5 of these errors. This only happens when I am a 'normal' user; root is not affected. 2. I have just rebuilt xorg-x11 (emerge -D) and regenerated xorg.conf (attached). Root seems to get the keyboard layout that is configured; normal users do not. I have to run setxkbmap to get the right layout. raph@mailgate ~ $ xprop -root | grep XKB _XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "evdev", "us", "", "" _XKB_RULES_NAMES(STRING) = "evdev", "pc105", "gb", "", "" raph@mailgate ~ $ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd layouts = [gb,il phonetic,il lyx,il si1452] overrideSettings = true options = [grp grp:ctrls_toggle,terminate terminate:ctrl_alt_bksp,eurosigneurosign:e,lv3 lv3:ralt_switch] model = pc105 Reproducible: Always raph@mailgate ~ $ emerge --info Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r8-i686-Pentium_III_-Katmai-with-gentoo-1.12.13 Timestamp of tree: Wed, 30 Dec 2009 13:00:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r2 dev-lang/python: 2.6.4 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ ftp://ftp.kaist.ac.kr/gentoo/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://mirrors.ludost.net/gentoo/" LDFLAGS="-Wl,-O1" LINGUAS="en he" MAKEOPTS="-j2 " 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 a52 aac accessibility acl acpi alsa apache apache1 asf automount bash-completion berkdb bidi bindist bluetooth branding bzip2 cairo cdparanoia cdr cdrom chroot cli consolekit cracklib crypt css cups cvs cvsgraph cxx dbus devfs26 devmap dga dnsdb dri dts dvd dvdr eds emboss encode evo evolution exif exim exiscan exiscan-acl fam fat ffmpeg firefox flac fortran ftp gdbm gif gimp gnome gpm gstreamer gtk hal iconv innodb ipv6 java java5 java6 jpeg kde ldap libnotify mad mikmod mng modules mozilla mp3 mp4 mpeg mudflap mysql mysqli ncurses nls nntp nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime rc5 readline realmedia reflection samba sdl session sndfile sound spamassassin spell spf spl srs ssl startup-notification subversion svg sysfs tcpd thunar tiff tk truetype unicode usb vncviewer vorbis widescreen win32codecs x264 x86 xfs xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="usb-audio emu10k1" 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="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="radeon ati vesa fbdev s3 mach64" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS x11-base: xorg-drivers-1.6 xorg-server-1.6.5-r1 xorg-x11-7.4-r1 x11-drivers: xf86-input-evdev-2.3.1 xf86-video-ati-6.12.4 xf86-video-s3-0.6.3 xf86-input-keyboard-1.4.0 xf86-video-fbdev-0.4.1 xf86-video-vesa-2.2.1 xf86-input-mouse-1.5.0 xf86-video-mach64-6.8.2 x11-libs: Xaw3d-1.5-r1 libXfontcache-1.0.5 libwnck-2.26.2-r2 cairo-1.8.8 libXft-2.1.14 libxcb-1.4-r1 fltk-1.1.9 libXi-1.2.1 libxkbfile-1.0.6 gksu-2.0.2 libXinerama-1.0.1 libxkbui-1.0.2 goffice-0.6.6 libXmu-1.0.5 libxklavier-4.0 gtk+-1.2.10-r12 libXp-1.0.0 pango-1.24.5-r1 gtk+-2.16.6 libXpm-3.5.8 pixman-0.17.2 gtkglext-1.2.0 libXrandr-1.3.0 qt-core-4.5.3-r2 gtksourceview-2.6.2 libXrender-0.9.5 qt-dbus-4.5.3-r1 libICE-1.0.6 libXres-1.0.4 qt-gui-4.5.3-r2 libSM-1.1.1 libXt-1.0.7-r1 qt-opengl-4.5.3-r1 libX11-1.2.2 libXtst-1.0.3 qt-qt3support-4.5.3 libXScrnSaver-1.1.3 libXv-1.0.5 qt-script-4.5.3-r1 libXau-1.0.5 libXvMC-1.0.4 qt-sql-4.5.3 libXaw-1.0.7 libXxf86dga-1.0.2 qt-svg-4.5.3-r1 libXcomposite-0.4.1 libXxf86misc-1.0.1 qt-test-4.5.3-r1 libXcursor-1.1.10 libXxf86vm-1.0.2 qt-webkit-4.5.3 libXdamage-1.1.2 libdrm-2.4.15 startup-notification-0.10 libXdmcp-1.0.3 libfontenc-1.0.5 vte-0.20.5 libXevie-1.0.2 libgksu-2.0.12 xcb-util-0.3.6 libXext-1.0.5 libnotify-0.4.5 xtrans-1.2.5 libXfixes-4.0.4 libpciaccess-0.10.9 libXfont-1.4.1 libsexy-0.1.11
Created attachment 215486 [details] Screenshot of error message
Created attachment 215488 [details] Current xorg.conf
looks like an inconsistency between gnome settings and xorg settings. Resetting settings in gnome-keyboard-properties should make the message go away iirc.
There does not appear to be anything useful in gnome-keyboard-settings. Running it does not clear the problem, but thanks for the suggestion. When I start it from the command line I get some error messages. I have no idea if they are significant or what to do about them. A difference between root and myself (as a user) is that I have several kbd layouts configured; root has only the default. raph@mailgate $ gnome-keyboard-properties & [1] 9352 raph@mailgate $ (gnome-keyboard-properties:9352): GLib-GObject-CRITICAL **: g_param_spec_flags: assertion `G_TYPE_IS_FLAGS (flags_type)' failed (gnome-keyboard-properties:9352): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed
that sounds like bug #297483. If you could rebuild glib with the proposed patch before rebuilding anything else it would be nice to know the outcome.
(In reply to comment #5) > that sounds like bug #297483. If you could rebuild glib with the proposed patch > before rebuilding anything else it would be nice to know the outcome. > Raphael?
That bug was not related. I am runnning startx on the command line, not using xkb. AFAICT the problem arose because there are several ways of specifying a kbd layout (memory leakage does not let me list them): gnome, X, ... Even when they all say the same thing the system gets it knickers in a twist. Removing all the X and Gnome user-configs sorted the problem. The difference between root and other users was that root did not have the extra configs.
Ok this was in fact a user configuration issue. Closing invalid. Thanks for reporting.