Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151722 - x11-apps/setxkbmap: Couldn't interpret _XKB_RULES_NAMES property
Summary: x11-apps/setxkbmap: Couldn't interpret _XKB_RULES_NAMES property
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-17 10:35 UTC by Martin Gramatke
Modified: 2006-10-21 12:57 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Gramatke 2006-10-17 10:35:22 UTC
Since a recent, bigger "emerge -uDN world" I have a problem with setxkbmap:

# setxkbmap -model pc105 -layout de

Couldn't interpret _XKB_RULES_NAMES property
Use defaults: rules - 'xorg' model - 'pc101' layout - 'us'
Error loading new keyboard description

Unfortunately I can not say which of the many updated packages caused this bug. I remember that the emerge stopped in the middle with a message I should remove /usr/lib/X11/xkb. I did that and continued. Now setxkbmap is broken :(

# emerge --info
Portage 2.1.2_pre3-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18 i686)
=================================================================
System uname: 2.6.18 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.5
Last Sync: Tue, 17 Oct 2006 15:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/www/localhost"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.gg3.net/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.phy.olemiss.edu/mirror/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de nds"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentoo-de /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acpi alsa apache apache2 arts asf audiofile authfile berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cgi cjk cli cracklib crypt cscope ctype cups dbus dlloader doc dri dts dv dvb dvd dvdr dvdread elibc_glibc emboss encode esd exif expat fam fastbuild ffmpeg firefox flac fontconfig force-cgi-redirect fortran ftp gd gdbm gif gimp gphoto2 gpm gs gstreamer gtk hal hash httpd iconv idn ieee1394 imagemagick imap input_devices_keyboard input_devices_mouse isdnlog java javascript jpeg jpeg2k kde kdeenablefinal kernel_linux lcms ldap libcaca libg++ linguas_de linguas_nds lirc lirc_devices_com1 live lm_sensors logrotate lzo mad maildir matroska memlimit mikmod mjpeg mmx mmxext mozilla mp3 mpeg musepack mysql mysqli ncurses nls nptl nptlonly nsplugin ofx ogg opengl oss pam pcre pdf pdo perl php png posix ppds pppd python pyzor qt3 qt4 quicktime razor readline real reflection rtc samba scanner sdl session simplexml smp sndfile snmp soap sockets speex spell spl sqlite sse sse2 ssl stream subversion syslog tcltk tcpd tetex theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utf8 v4l v4l2 vcd vdr vhosts video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga vorbis win32codecs xanim xine xml xml2 xmlreader xmlwriter xmms xorg xprint xsl xv xvid zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-17 12:33:55 UTC
Are you using evdev? Reopen with relevant part of xorg.conf, can't guess.
Comment 2 Martin Gramatke 2006-10-17 14:57:20 UTC
# grep -v ^# /etc/X11/xorg.conf | grep -v ^\s*$
Section "Files"
    RgbPath     "/usr/share/X11/rgb"
    FontPath    "/usr/share/fonts/local"
    FontPath    "/usr/share/fonts/misc"
    FontPath    "/usr/share/fonts/Type1"
    FontPath    "/usr/share/fonts/TTF"
    FontPath    "/usr/share/fonts/CID"
    FontPath    "/usr/share/fonts/75dpi"
    FontPath    "/usr/share/fonts/100dpi"
EndSection
Section "Module"
    Load        "dbe"
    SubSection  "extmod"
        Option  "omit xfree86-dga"
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load        "glx"
EndSection
Section "ServerFlags"
    Option      "blank time"    "10"    # 10 minutes
    Option      "standby time"  "20"
    Option      "suspend time"  "30"
    Option      "off time"      "60"
EndSection
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "keyboard"
    Option      "AutoRepeat"    "500 5"
    Option      "XkbModel"      "pc105"
    Option      "XkbLayout"     "de"
EndSection
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option      "Device"        "/dev/input/mice"
    Option      "Protocol"      "Auto"
    Option "ZAxisMapping"   "4 5"
EndSection
Section "Monitor"
    Identifier  "Generic Monitor"
    HorizSync   30-64         # multisync
    VertRefresh 50-100        # multisync
    Option      "dpms"
EndSection
Section "Device"
    Identifier  "Nvidia"
    Driver      "nvidia"
    #Driver      "vesa"
    Option     "NoLogo" "true"
    VideoRam    65536
EndSection
Section "Screen"
    Identifier  "Screen 1"
    Device      "Nvidia"
    Monitor     "Generic Monitor"
    DefaultDepth 24
    SubSection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    SubSection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    SubSection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection
Section "ServerLayout"
    Identifier  "Main Layout"
    Screen      "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Comment 3 Martin Gramatke 2006-10-17 15:06:26 UTC
Some re-emerges of xkbdata or xkeyboard-config fixed my problem. So I can no longer reproduce this problem. Thanks.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-10-18 00:06:01 UTC
OK, closing then. Thanks for reporting back.
Comment 5 Martin Gramatke 2006-10-21 12:43:44 UTC
Meanwhile I found out that this problem only occured in NX sessions. Here is the solution for this NX problem: http://gentoo-wiki.com/Talk:HOWTO_FreeNX_Server#Couldn.27t_interpret__XKB_RULES_NAMES_property
Maybe the NX maintainer should get aware of this.