How to edit Alt-underline shortcuts in Launcher menu

Is it possible to edit the Alt-underline shortcuts’ list inside the Launcher Menu (opened when pressing Super/Windows key)? Currently not all buttons have that option available.

For example the button “Shut down” gets the letter “h” underlined when “Alt” is pressed down, indicating that <Alt+h> will trigger it. However the “Sleep” button does not have such indicator.

Thanks in advance for your help.

These aren’t user-editable. But it’s strange that Sleep doesn’t get an underline; this works for me with current git master. Maybe it got fixed recently; I recall seeing a commit recently to fix mnemonics (that’s what these are called) in certain contexts.

Mines aren’t working at all with any visible button from Power or Session.
But they work for all buttons inside the hidden Power/Leave menu.

Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.8-1-MANJARO (64-bit)
Graphics Platform: Wayland

Found the commit I was thinking of MnemonicAttached: Fix logic when pressing Alt (9f42be5c) · Commits · Frameworks / Kirigami · GitLab

This went in 6 days ago, so it’s possible this fixes it, and that I have the fix but you don’t yet.

I just checked by reverting that commit, and sure enough: it’s broken now.

So the issue is fixed, and the fix will be released as a part of Frameworks 6.2.


That’s very nice, thanks for looking into this