--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: xlibs: Can't get Meta and Alt to work correctly
- From: Lionel Elie Mamane <lionel@mamane.lu>
- Date: Mon, 13 Sep 2004 18:32:46 +0200
- Message-id: <20040913163246.GA27786@harif.cs.kun.nl>
Package: xlibs
Version: 4.3.0.dfsg.1-7
Severity: normal
In continuation of my message in bug 256706. As it has been declared
fixed, but I still suffer keyboard problems, I suppose my problem is
_not_ the one of this bug. Behaviour has changed since -6, but is
still not correct.
I have a Microsoft Natural Keyboard, US qwerty. That's a qwerty 104
keys keyboard.
Intended behaviour: Alt keys are Alt, left waving flag key is Meta,
right waving flag key is compose (Multi_key), menu key is menu.
XKB config:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "microsoft"
Option "XkbLayout" "us"
Option "XkbOptions" "altwin:left_meta_win,compose:rwin"
EndSection
When starting up X, the following behaviour happens:
- Emacs does not recognise Meta as Meta, but recognises Alt as Meta,
which it shouldn't. Note that if I remember well, Emacs
automatically treats Alt as Meta if it thinks the current keymap
does not have a Meta. This might be what is happening.
- TeXmacs recognises Alt as Alt, but not Meta.
- sawfish does not recognise Alt as Alt, but recognises Meta as Meta.
Which makes me very confused as to what could be wrong.
At startup:
lionelm@harif:~$ xmodmap
xmodmap: up to 5 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)
mod2 Num_Lock (0x4d)
mod3
mod4 Alt_R (0x71), Meta_L (0x73), Super_L (0x7f), Hyper_L (0x80), Meta_L (0x9c)
mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c)
Trying to correct it manually:
lionelm@harif:~$ xmodmap -e 'clear mod1'
lionelm@harif:~$ xmodmap -e 'add mod1 = 0x73'
lionelm@harif:~$ xmodmap
xmodmap: up to 5 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 s (0x27)
mod2 Num_Lock (0x4d)
mod3
mod4 Alt_R (0x71), Meta_L (0x73), Super_L (0x7f), Hyper_L (0x80), Meta_L (0x9c)
mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c)
Oups... It shouldn't say 0x27 for mod1, I said 0x73. Let's try another way:
lionelm@harif:~$ xmodmap -e 'clear mod1'
lionelm@harif:~$ xmodmap -e 'add mod1 = Meta_L'
lionelm@harif:~$ xmodmap
xmodmap: up to 5 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), Meta_L (0x73), Meta_L (0x9c)
mod2 Num_Lock (0x4d)
mod3
mod4 Alt_R (0x71), Meta_L (0x73), Super_L (0x7f), Hyper_L (0x80), Meta_L (0x9c)
mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c)
Not what I asked for.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.5-64bit
Locale: LANG=fr_LU@euro, LC_CTYPE=fr_LU@euro
Versions of packages xlibs depends on:
ii libice6 4.3.0.dfsg.1-7 Inter-Client Exchange library
ii libsm6 4.3.0.dfsg.1-7 X Window System Session Management
ii libx11-6 4.3.0.dfsg.1-7 X Window System protocol client li
ii libxext6 4.3.0.dfsg.1-7 X Window System miscellaneous exte
ii libxft1 4.3.0.dfsg.1-7 FreeType-based font drawing librar
ii libxi6 4.3.0.dfsg.1-7 X Window System Input extension li
ii libxmu6 4.3.0.dfsg.1-7 X Window System miscellaneous util
ii libxmuu1 4.3.0.dfsg.1-7 lightweight X Window System miscel
ii libxp6 4.3.0.dfsg.1-7 X Window System printing extension
ii libxpm4 4.3.0.dfsg.1-7 X pixmap library
ii libxrandr2 4.3.0.dfsg.1-7 X Window System Resize, Rotate and
ii libxt6 4.3.0.dfsg.1-7 X Toolkit Intrinsics
ii libxtrap6 4.3.0.dfsg.1-7 X Window System protocol-trapping
ii libxtst6 4.3.0.dfsg.1-7 X Window System event recording an
ii xlibs-data 4.3.0.dfsg.1-7 X Window System client data
-- no debconf information
--- End Message ---