[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#623108: x11-xserver-utils: [xmodmap] reassigning AltGr no longer works



Package: x11-xserver-utils
Version: 7.6+2
Severity: normal


I’m using the Neo layout with the right Alt key remapped as Control_R:

$ setxkbmap -model pc105 -layout de -variant neo
$ xmodmap -e 'remove Mod3 = ISO_Level5_Shift'
$ xmodmap -e 'keycode 108 = Control_R'
$ xmodmap -e 'add Control = Control_R'

This worked for the last few months. Now the first and second xmodmap command
give me these not very helpful errors:

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


xev output for AltGr BEFORE any xmodmap command:

KeyPress event, serial 50, synthetic NO, window 0x2a00001,
    root 0x1ad, subw 0x0, time 5071904, (527,525), root:(1241,546),
    state 0x0, keycode 108 (keysym 0xfe11, ISO_Level5_Shift), same_screen YES,
    XKeysymToKeycode returns keycode: 94
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 50, synthetic NO, window 0x2a00001,
    root 0x1ad, subw 0x0, time 5072032, (527,525), root:(1241,546),
    state 0x20, keycode 108 (keysym 0xfe11, ISO_Level5_Shift), same_screen YES,
    XKeysymToKeycode returns keycode: 94
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False


xev output for AltGr AFTER the above xmodmap commands:

KeyPress event, serial 51, synthetic NO, window 0x2a00001,
    root 0x1ad, subw 0x0, time 5228657, (527,525), root:(1241,546),
    state 0x0, keycode 108 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 51, synthetic NO, window 0x2a00001,
    root 0x1ad, subw 0x0, time 5228784, (527,525), root:(1241,546),
    state 0x0, keycode 108 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False




-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages x11-xserver-utils depends on:
ii  cpp                           4:4.5.2-2  The GNU C preprocessor (cpp)
ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared lib
ii  libice6                       2:1.0.7-1  X11 Inter-Client Exchange library
ii  libx11-6                      2:1.4.3-1  X11 client-side library
ii  libxau6                       1:1.0.6-1  X11 authorisation library
ii  libxaw7                       2:1.0.9-2  X11 Athena Widget library
ii  libxcursor1                   1:1.1.11-1 X cursor management library
ii  libxext6                      2:1.2.0-2  X11 miscellaneous extension librar
ii  libxi6                        2:1.4.2-1  X11 Input extension library
ii  libxmu6                       2:1.1.0-1  X11 miscellaneous utility library
ii  libxmuu1                      2:1.1.0-1  X11 miscellaneous micro-utility li
ii  libxrandr2                    2:1.3.1-1  X11 RandR extension library
ii  libxrender1                   1:0.9.6-1  X Rendering Extension client libra
ii  libxt6                        1:1.1.1-1  X11 toolkit intrinsics library
ii  libxxf86vm1                   1:1.1.1-1  X11 XFree86 video mode extension l

x11-xserver-utils recommends no packages.

Versions of packages x11-xserver-utils suggests:
pn  cairo-5c                      <none>     (no description available)
pn  nickle                        <none>     (no description available)
ii  xorg-docs-core                1:1.6-1    Core documentation for the X.org X

-- no debconf information



Reply to: