GNU bug report logs - #65488
29.1; Modifiers stack when modifier keys are remapped in x-server

Previous Next

Package: emacs;

Reported by: Johan Bengtsson <Johan.Bengtsson <at> iar.com>

Date: Thu, 24 Aug 2023 08:10:01 UTC

Severity: normal

Tags: notabug

Found in version 29.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: Johan Bengtsson <Johan.Bengtsson <at> iar.com>
Cc: 65488 <at> debbugs.gnu.org
Subject: bug#65488: 29.1; Modifiers stack when modifier keys are remapped in x-server
Date: Thu, 24 Aug 2023 18:06:21 +0800
Johan Bengtsson <Johan.Bengtsson <at> iar.com> writes:

> To reproduce:
> * Map  the "windows key" to Meta_L in your x-server. Assuming the Gnome environment this is done using Gnome tweaks. Set Keyboard & Mouse > Additional Layout Options > Alt and Win behavior to "Meta is mapped to Win"
> * Start Emacs
> * Press "windows key + x"
>
> Emacs will then complain that "M-s-x" is unmapped.

This is a bug in GNOME we've already been appraised of several times.

Emacs now uses the XKB extension to establish the relationship between
virtual modifiers and real modifier bits within an X server, which is
capable of detecting when multiple virtual modifiers are associated with
the same modifier bit.

You probably need to run:

  $ xmodmap

ascertain which modifier bit is bound to Super, and remove the
extraneous virtual modifier from that bit.




This bug report was last modified 1 year and 262 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.