Public bug reported:

Binary package hint: x11-xserver-utils

This problem is happening under GNOME, KDE, and Openbox window manager
sessions.

I've deleted any ~/.Xmodmap files, so these sessions are not modifying
the xmodmap prior to my execution of the described commands.


Steps to reproduce:

1. Start a new X login session.  It doesn't seem to matter which desktop
environment is selected, as this bug is reproducible under KDE, GNOME,
and Openbox.

2. Open a terminal.

3. Type one of the following commands:

    $ xmodmap -e 'clear Lock'

OR

    $ xmodmap -e 'remove Lock = Caps_Lock'

Result:
An error message similar to the following is displayed:

    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:  11
      Current serial number in output stream:  11

The serial number values vary but the other information is consistent.


Requested information:

1) Release info:

    $ lsb_release -rd
    Description:    Ubuntu 10.04 LTS
    Release:        10.04

2) Package version:

    $ apt-cache policy x11-xserver-utils
    x11-xserver-utils:
      Installed: 7.5+1ubuntu2
      Candidate: 7.5+1ubuntu2
      Version table:
     *** 7.5+1ubuntu2 0
            500 http://ubuntu.mirror.rafal.ca/ubuntu/ lucid/main Packages
            100 /var/lib/dpkg/status

3) Expected result
  Prior to my recent upgrade to Lucid (Ubuntu release 10.04), I was able to 
unmap the Lock modifier without problems.  As a vim user I find it quite useful 
to map the [CapsLock] key to Escape, and prefer to disable the Lock modifier 
entirely: as I rarely write anything in all caps, I seldom have any use for it, 
and an accidental activation of it can cause minor confusion when editing files 
in Vim.
  My previous ~/.xmodmap file used the "clear Lock" directive to disable the 
Lock modifier.  Upon rebooting after upgrading to Lucid I discovered that this 
functionality was no longer activated, ie that the Caps Lock key continues to 
control the Lock modifier's state.
  I expected it to be activated and for the Caps Lock key to not affect the 
Lock modifier state.

4) What happened instead:
  The Caps Lock key continued to control the Lock modifier's state.  The error 
message given above was output in response to an xmodmap command to clear or 
remove that functionality.


Also: please note that my exclusion of gdm debugging information was not so 
much due to privacy concerns as because I haven't run it in months.  Although 
this install is an Ubuntu install, I installed the kubuntu-desktop metapackage 
some time ago, and so am using kdm rather than gdm.  In any case this seems 
unlikely to be affecting xmodmap functionality.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: x11-xserver-utils 7.5+1ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Wed May  5 19:03:06 2010
MachineType: Hewlett-Packard HP Pavilion tx2000 Notebook PC
ProcCmdLine: root=UUID=5212e362-bd7e-4b90-9b1b-50d67ab7563a ro quiet splash  
crashkernel=384M-2G:64M,2G-:128M
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: x11-xserver-utils
dmi.bios.date: 02/22/2008
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.06
dmi.board.name: 30E5
dmi.board.vendor: Quanta
dmi.board.version: 88.08
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias: 
dmi:bvnHewlett-Packard:bvrF.06:bd02/22/2008:svnHewlett-Packard:pnHPPaviliontx2000NotebookPC:pvrRev1:rvnQuanta:rn30E5:rvr88.08:cvnQuanta:ct10:cvrN/A:
dmi.product.name: HP Pavilion tx2000 Notebook PC
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard
system:
 distro:             Ubuntu
 codename:           lucid
 architecture:       x86_64
 kernel:             2.6.32-21-generic

** Affects: x11-xserver-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
Unable to unmap Lock modifier using xmodmap
https://bugs.launchpad.net/bugs/576102
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to