← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 613328] [NEW] xmodmap: right alt remapped to right control has issues with shift

 

Public bug reported:

Binary package hint: xorg

I like to use xmodmap to remap the right alt key to control. What I find
is that (starting in Ubuntu 10.04), pressing shift before I press the
remapped right alt key causes the right alt key _not_ to activate with a
modifier (it should be right control). Here's the sequence of key
presses and the effects I see in xev:

<shift pressed>: keycode 62, shift_r
<with shift still held, right alt pressed>: keycode 108, no symbol

If I don't press shift first, I see this:

<right alt pressed>: keycode 108, control_r

Below is the xmodmap file I'm using to remap my keys. I also remap caps
lock to control, and that key has no problems with shift. I load this
file up with 'cat my-xmodmap | xmodmap -'.

>>>>>>>>>>>>>>>>>>>>>>>
! Map right alt to right control
keycode 108 = Control_R

! Map caps lock to control
keycode 66 = Control_L

clear Lock
clear mod1
add control = Control_L Control_R
add mod1 = Alt_L Alt_R Meta_L
<<<<<<<<<<<<<<<<<<<<<<<

As I mentioned, this worked fine in Ubuntu 9.10 and earlier.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xorg 1:7.5+5ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-24.38-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Tue Aug  3 23:30:53 2010
DkmsStatus:
 nvidia-current, 195.36.24, 2.6.32-22-generic, i686: installed 
 nvidia-current, 195.36.24, 2.6.32-24-generic, i686: installed 
 nvidia-current, 195.36.24, 2.6.32-23-generic, i686: installed
MachineType: LENOVO 2222222
ProcCmdLine: root=UUID=27ae2a1c-be30-427a-b739-5e44f1f05349 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: xorg
dmi.bios.date: 07/04/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 52KT43AUS
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: LENOVO
dmi.board.vendor: LENOVO
dmi.board.version: To be filled by O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnLENOVO:bvr52KT43AUS:bd07/04/2008:svnLENOVO:pn2222222:pvrLENOVOXXXX:rvnLENOVO:rnLENOVO:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: 2222222
dmi.product.version: LENOVO XXXX
dmi.sys.vendor: LENOVO
system:
 distro:             Ubuntu
 codename:           lucid
 architecture:       i686
 kernel:             2.6.32-24-generic

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
xmodmap: right alt remapped to right control has issues with shift
https://bugs.launchpad.net/bugs/613328
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.



Follow ups

References