Comment 1 for bug 524774

Revision history for this message
Richard Harding (rharding) wrote :

I'm trying to transfer my .xmodmap over to Lucid from karmic.

Error using xmodmap .Xmodmap:

X Error of failed request: BadValue (integer parameter out of range for operation)
  Major opcode of failed request: 118 (X_SetModifierMapping)
  Value in failed request: 0x17
  Serial number of failed request: 16
  Current serial number in output stream: 16

.xmodmap file:

clear control
clear mod4

keycode 66 = Control_L
keycode 37 = Super_L
keycode 133 = Caps_Lock

add control = Control_L Control_R
add mod4 = Super_L

If I remove the line for "add control" then the error does not appear, but then I fail to get my control key mapped to the caps lock.

The end goal is to get
Caps Lock Key == Control
Left Control Key == Mod4

This looks close to the error in this debian bug here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564327

Except that I cannot get the xmodmap to take place with/without a call to setxkbmap

ProblemType: Bug
Architecture: amd64
Date: Fri Feb 19 23:22:38 2010
DistroRelease: Ubuntu 10.04
DkmsStatus: Error: [Errno 2] No such file or directory
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100217)
MachineType: LENOVO 7658CTO
Package: xserver-xorg-core 2:1.7.5-1ubuntu1
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-13-generic root=UUID=8c9f29b6-28a1-412d-8030-5fe879a694cd ro single
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.32-13.18-generic
RelatedPackageVersions:
 xserver-xorg 1:7.5+1ubuntu6
 libgl1-mesa-glx 7.7-3ubuntu1
 libdrm2 2.4.18-1ubuntu2
 xserver-xorg-video-intel 2:2.9.1-1ubuntu5
SourcePackage: xorg-server
Uname: Linux 2.6.32-13-generic x86_64
dmi.bios.date: 12/06/2007
dmi.bios.vendor: LENOVO
dmi.bios.version: 7LETA7WW (2.07 )
dmi.board.name: 7658CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7LETA7WW(2.07):bd12/06/2007:svnLENOVO:pn7658CTO:pvrThinkPadT61:rvnLENOVO:rn7658CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7658CTO
dmi.product.version: ThinkPad T61
dmi.sys.vendor: LENOVO
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.32-13-generic