xmodmap: right alt remapped to right control has issues with shift

Bug #613328 reported by Steven Thomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

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

Revision history for this message
Steven Thomas (sthomas314) wrote :
Bryce Harrington (bryce)
affects: xorg (Ubuntu) → nvidia-graphics-drivers (Ubuntu)
Revision history for this message
Steven Thomas (sthomas314) wrote :

Hi Bryce, are you sure this is related to the Nvidia graphics driver? IIRC it was also happening on my Intel graphics based laptop, but my laptop's busted right now and I can't confirm that unfortunately.

Revision history for this message
Steven Thomas (sthomas314) wrote :

I double checked, and the issue is the same on my netbook with Intel integrated graphics (asus eeepc 1005peb), so I doubt it's related to the nvidia graphics driver.

Revision history for this message
dino99 (9d9) wrote :

That version is no more supported; please open a new bug report if the actual archive found version also has the same issue.

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.