X11 2.1.2 bug: Keyboard maps
X11 2.1.2 bug: Keyboard maps
- Subject: X11 2.1.2 bug: Keyboard maps
- From: "Adam D. I. Kramer" <email@hidden>
- Date: Wed, 16 Jan 2008 17:31:10 -0800 (PST)
Hi,
I'm one of those freaky dvorak keyboard users, and I discovered this
bug in X11: It loads the system keyboard layout when it launches.
So, if you change your system's keyboard layout (e.g., via the
"input menu"), X11 apps will not reflect the change...you have to actually
quit X11 and then relaunch it before the change is reflected.
Note that X11 *itself* is behaving correctly: The command-key
commands to X11.app or the xserver or whatever are correct: Since dvorak
maps the qwerty "l" to the letter "n," I push what looks like command-L to
open a new xterm...and it works correctly. But if I simply push the button
marked "l" on my keyboard, the letter that appears in my xterm is an 'l,' when
it should be an 'n'.
Now, don't get me wrong, I do appreciate that x11 takes care of its
keypresses directly; there are a number of reasons why this is important.
However, it is frustrating as hell if I launch x11 in one layout,
then later have to change layouts. This happens with some frequency, as I
use remote desktop and VNC to communicate between my at-home and at-work
computers from work and home respectively...because VNC transmits keycodes
and not letters, I have to have one system set to a qwerty layout and the
other to a dvorak layout if I want my keypresses to be interpreted in a
dvorak manner. Because I want all of the applications I access to allow me
to type in the dvorak layout, this means that the REMOTE computer has to be
in qwerty mode, because the computer I am accessing directly needs to take
dvorak input in applications besides VNC. Effectively, this means I have to
quit and restart X11 whenever I go to work or go home from work. Not cool.
Proposed solution: Can the xserver notice when the system keyboard
map is changed, and then simply run an invisible xmodmap? The appropriate
.Xmodmap file could be generated dynamically based on the old and new
keyboard layouts in what I would expect would be a near-fullproof way...
--Adam
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden