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

Bug#255025: xlibs: Windows keys stopped working as modifiers to some other keys



Package: xlibs
Version: 4.3.0.dfsg.1-14
Severity: normal

I have a 104-key US keyboard, and the Super ("windows") keys could not be used
as modifiers for ratpoison.  I think it might be the same problem seen
in this bugreport.

xmodmap shows:

xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  Control_R (0x6d)
mod1        Alt_L (0x40),  Alt_L (0x7d),  Meta_L (0x9c)
mod2        Num_Lock (0x4d)
mod3      
mod4        Super_L (0x7f),  Hyper_L (0x80)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)

Note that the Super_L (0x73) keycode is wrong and Super_R (0x74)
doesn't occur at all.

I believe this problem is widespread; it has nothing particularly to do
with sawfish, gnome, or even Debian.  See for example
https://bugzilla.redhat.com/bugzilla/long_list.cgi?buglist=123539
I have found Comment #8 there to be a good solution,

  curl https://bugzilla.redhat.com/bugzilla/attachment.cgi\?id=100534 -o /tmp/pcpatch
  cd /etc/X11/xkb/symbols/pc/
  cp -a pc pc-orig
  patch -p0 </tmp/pcpatch

fixes the problem; xmodmap shows

xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  Control_R (0x6d)
mod1        Alt_L (0x40),  Alt_L (0x7d),  Meta_L (0x9c)
mod2        Num_Lock (0x4d)
mod3      
mod4        Super_L (0x73),  Super_R (0x74)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)

Perhaps pc could be patched and this would solve the problems in the
original bug report?


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.9-9-amd64-k8-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages xlibs depends on:
ii  libice6                  4.3.0.dfsg.1-14 Inter-Client Exchange library
ii  libsm6                   4.3.0.dfsg.1-14 X Window System Session Management
ii  libx11-6                 4.3.0.dfsg.1-14 X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-14 X Window System miscellaneous exte
ii  libxft1                  4.3.0.dfsg.1-14 FreeType-based font drawing librar
ii  libxi6                   4.3.0.dfsg.1-14 X Window System Input extension li
ii  libxmu6                  4.3.0.dfsg.1-14 X Window System miscellaneous util
ii  libxmuu1                 4.3.0.dfsg.1-14 lightweight X Window System miscel
ii  libxp6                   4.3.0.dfsg.1-14 X Window System printing extension
ii  libxpm4                  4.3.0.dfsg.1-14 X pixmap library
ii  libxrandr2               4.3.0.dfsg.1-14 X Window System Resize, Rotate and
ii  libxt6                   4.3.0.dfsg.1-14 X Toolkit Intrinsics
ii  libxtrap6                4.3.0.dfsg.1-14 X Window System protocol-trapping 
ii  libxtst6                 4.3.0.dfsg.1-14 X Window System event recording an
ii  xlibs-data               4.3.0.dfsg.1-14 X Window System client data

xlibs recommends no packages.

-- no debconf information



Reply to: