Package: systemsettings
Version: 4:6.3.4-2
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

it turns out that KDE's keyboard settings offer options to activate a
"Hyper" modifier key, but they do not work. I use KDE on Wayland.

   * What led up to the situation?

I intended to make the Menu key into a Hyper key, and then use that
newly created Hyper key for key combinations in Emacs. As this turned
out not to work, because Emacs did not recognise the Hyper modifier, I
tried to use the XKB option altwin:hyper_win, which is available in the
KDE keyboard settings as “Hyper is mapped to Win”. Neither did this make
Emacs recognise the Hyper modifier on the now-changed Windows key.

You can see the entire story on this mailing list thread:
https://lists.gnu.org/archive/html/help-gnu-emacs/2026-11/msg00060.html

Long story short, if altwin:hyper_win is activated, both xkbcli and xev
recognise Hyper_L as being pressed when the Windows key is hold down,
including a modifier state, but neither KDE's own keyboard settings nor
Emacs do.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I then tried to determine whether the problem is Emacs or KDE. It turns
out that the problem seems to be in KDE: Even with altwin:hyper_win
turned on, it is not possible to use the newly created Hyper key for any
key combinations in the keyboard actions settings. Key combinations
involving it are simply not recognised.

To reproduce, open the keyboard settings, go to the advanced keyboard
options on the top right (called “Tastenzuordnungen” in the German
version) and activate “Hyper is mapped to Win” (=
altwin:hyper_win). Then, go to the keyboard shortcuts panel and try to
set a keyboard action for a key combination involving the Hyper key
(i.e. the Windows key which should now emit Hyper).

   * What was the outcome of this action?

It is impossible to set such a key combination. The settings panel gets
stuck in a wrongly detected "Meta" key state, which only goes away when
the Windows=Hyper key is pressed again, registering "Meta" on itself as
the keyboard combination.

   * What outcome did you expect instead?

The settings panel should have assigned a key combination involving
"Hyper" (and not "Meta", either).

And, after setting an altwin:hyper_win, KDE should deliver the Hyper
modifier to Emacs for it to recognise it when the remapped Windows key
is hold down together with a normal key.


-- System Information:
Debian Release: 13.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.117+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemsettings depends on:
ii  kio6                          6.13.0-6
ii  libc6                         2.41-12+deb13u4
ii  libkf6authcore6               6.13.0-1
ii  libkf6colorscheme6            6.13.0-1
ii  libkf6configcore6             6.13.0-2
ii  libkf6configwidgets6          6.13.0-1
ii  libkf6coreaddons6             6.13.0-1
ii  libkf6crash6                  6.13.0-1
ii  libkf6dbusaddons6             6.13.0-1
ii  libkf6i18n6                   6.13.0-1
ii  libkf6i18nqml6                6.13.0-1
ii  libkf6itemmodels6             6.13.0-1
ii  libkf6itemviews6              6.13.0-1
ii  libkf6jobwidgets6             6.13.0-1
ii  libkf6kcmutils6               6.13.0-2
ii  libkf6kcmutilscore6           6.13.0-2
ii  libkf6kiocore6                6.13.0-6
ii  libkf6kiogui6                 6.13.0-6
ii  libkf6runner6                 6.13.0-1
ii  libkf6service-bin             6.13.0-1
ii  libkf6service6                6.13.0-1
ii  libkf6widgetsaddons6          6.13.0-1
ii  libkf6windowsystem6           6.13.0-2
ii  libkf6xmlgui6                 6.13.0-1
ii  libplasmaactivities6          6.3.4-1
ii  libqt6core6t64                6.8.2+dfsg-9+deb13u2
ii  libqt6gui6                    6.8.2+dfsg-9+deb13u2
ii  libqt6qml6                    6.8.2+dfsg-7
ii  libqt6quick6                  6.8.2+dfsg-7
ii  libqt6quickwidgets6           6.8.2+dfsg-7
ii  libqt6widgets6                6.8.2+dfsg-9+deb13u2
ii  libstdc++6                    14.2.0-19
ii  qml6-module-org-kde-kirigami  6.13.0-2
ii  qml6-module-qtquick           6.8.2+dfsg-7
ii  qml6-module-qtquick-controls  6.8.2+dfsg-7
ii  qml6-module-qtquick-layouts   6.8.2+dfsg-7

systemsettings recommends no packages.

systemsettings suggests no packages.

-- no debconf information
-- 
Dr. Marvin Gülker | https://mg.guelker.eu | PGP: Siehe Website
- Diplom-Jurist - | Stade, Deutschland    | O<

Reply via email to