You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

x11 keyboard mapping screwed up

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?

MacBook Air 1.6/HDD, Mac OS X (10.5.6), MacBook (10.4.11) iPhone 2G Dell Windows Vista

Posted on Jun 10, 2009 9:17 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 10, 2009 9:29 AM

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.
4 replies

Jun 10, 2009 11:14 AM in response to ahostmadsen

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

Jun 10, 2009 10:37 PM in response to nerowolfe

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.

x11 keyboard mapping screwed up

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.