Benches macOS

4

x11 keyboard mapping screwed up

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Suddenly the keyboard layout in x11 is completely wrong. All keys give wrong characters (w gives =, delete gives ",", t gives w etc.), but otherwise x11 seems to work. It happens in xterm and in inkscape. It might be that this has happened after the 10.5.7 update, I don't use x11 often. What can I do to fix this problem?

4 replies

Sign in or join Beachball Help to reply.

  1. 0

    nerowolfe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Check the X11 keyboard preferences.

    Be sure you are running at least version 2.0

    You might also drag these files to the desktop and log out and back it and see if that helps.

    org.x.X11.plist

    com.apple.x11.plist

    They are in the

    ~/library/preferences

    directory.

  2. 0

    ahostmadsen

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Well, I found the solution on the xquartz site. If anybody else has this problem: remove the folder /usr/X11/share/X11/xkb.

  3. 0

    nerowolfe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    ahostmadsen wrote:

    Well, I found the solution on the xquartz site. If anybody else has this problem: remove the folder /usr/X11/share/X11/xkb.

    You must have had some special files in there.

    The only thing I found in that complete directory chain:

    /usr/X11/share/X11/xkb/

    is one additional directory

    compiled

    which contains only an innocuous textfile,

    README.compiled.

    The question is what was in your directory.

    Message was edited by: nerowolfe

  4. 0

    ahostmadsen

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    My directory had lots of files and subdirectories, here

    compat geometry.dir keymap.dir symbols types.dir

    compat.dir keycodes rules symbols.dir xkbcomp

    compiled keycodes.dir semantics torture

    geometry keymap semantics.dir types

    So, maybe that's the problem. For some reason, this directory gets populated on some computers. Then it causes problems.