this post was submitted on 04 Mar 2024
30 points (100.0% liked)

KDE

5294 readers
74 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS
 

I got a big keyboard with F13-F24 keys. So here is the thing:

If you want to use e.g.: F22 as a shortcut in e.g.: Plasma settings it will get regonized as Touchpad On instead of as F22: https://imgur.com/a/GiyhBwD

The same goes for F13-F24:

F13 -> Tools
F14 -> Launch(7)
F20 -> Microphone Mute
F21 -> Touchpad Toggle
...

The shortcuts do work but the key name is just not correct.

I'd imagine that's because of the function keys on laptops..? But I am not using a laptop.

Anways one way to "fix" this in X11 was to create a .Xmodmap file:

keycode 191 = F13 F13 F13
keycode 192 = F14 F14 F14
[...]
keycode 202 = F24 F24 F24

and afterwars the system will regonize e.g.: F22 as F22: https://imgur.com/a/LB29wgo


A .Xmodmap file does not work in Wayland. What are my options here?

Thank you for your help.

PS: I found a simliar question here: https://discuss.kde.org/t/remapping-keys-such-as-f13/10275/3 but not answer.
I also found https://old.reddit.com/r/wayland/comments/x3tff6/adding_f13_f24_keys/kf36xa0/ but I want a real solution that works on the "user level" (like a .Xmodmap file in my home directory)...

you are viewing a single comment's thread
view the rest of the comments
[–] Lenni@fosstodon.org 1 points 8 months ago* (last edited 8 months ago) (1 children)

@Pantherina @sputge I think the F[number] stuff gets directly passed to the OS, just the [Fn] stuff (those extra features to change the display brightness, volume, etc.) is managed by the Keyboard (?) or BIOS

[–] Pantherina@feddit.de 1 points 8 months ago (1 children)

Hm, so on my Thinkpad I had "sticky keys" which made the keys do the Fn function instead of the normal one, I had to change that in BIOS. But in KDE I can still assign F2=volUp (which is an OS feature and not the actually assigned Fn+F2 button)

[–] stepanzak@iusearchlinux.fyi 1 points 8 months ago (1 children)

On thinkpad, you can toggle it with Fn+Esc (FnLock)

[–] Pantherina@feddit.de 1 points 8 months ago

Yeah or disable in BIOS :D