#7299 NORM Never A: external keyboard remap confusion
Zarro Boogs per Child
bugtracker at laptop.org
Wed Jun 18 12:54:35 EDT 2008
#7299: external keyboard remap confusion
-----------------------------+----------------------------------------------
Reporter: pgf | Owner: bernie
Type: defect | Status: new
Priority: normal | Milestone: Never Assigned
Component: x window system | Version: Update.1
Keywords: | Verified: 0
Blocking: | Blockedby:
-----------------------------+----------------------------------------------
after xmodmap'ing a USB keyboard to swap ctrl/capslock, using control key
on built-in keyboard will undo the mapping, though
xev shows mapping still in place.
to reproduce:
plug USB keyboard into XO
observe that the XO control key and the two control keys and the CapsLock
key on the USB keyboard all behave normally.
run the following command:
{{{
xmodmap \
-e 'remove Lock = Caps_Lock' \
-e 'remove Control = Control_R' \
-e 'keysym Control_R = Caps_Lock' \
-e 'keysym Caps_Lock = Control_R' \
-e 'add Lock = Caps_Lock' \
-e 'add Control = Control_R'
}}}
use the USB keyboard -- observe that the CapsLock and right Control key
have swapped roles, as expected.
use the XO keyboard, and exercise the control key.
go back to the USB keyboard, and observe that the CapsLock key is once
again behaving as a CapsLock key. running xev at this point shows that
the key is still emitting the Control_R keysym, although it's clearly
affecting the CapsLock state.
(running xev is a pain, since sugar makes it full-screen -- best technique
is to "xhost +" from Terminal, then switch to linux console and use
"DISPLAY=localhost:0 xev" to start it -- this gives more visible lines
than running it from Terminal. even better, use an ssh or serial shell.)
--
Ticket URL: <http://dev.laptop.org/ticket/7299>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list