Calculator key (148) isn't considered shortcut?

I have Kubuntu 24.10. I can’t get my keyboard’s calculator key working as a shortcut for KCalc.

xev --event keyboard detects the key. Not sure what’s wrong.

Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-14-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 5750GE with Radeon Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
System Version: ThinkCentre M75q Gen 2

I set two shortcuts (as I also have a separate numpad, so I can do Ctrl+Numlock to do it too).

Mine launches Qalculate, but that would work equally well for KCalc (which isn’t as good as Qalculate - just a tip there).

Thanks for the tips. But I can’t set Calculator key. It’s not taken. Seems like a bug.

Just to check - are you able to successfully set other keys or key combinations in that System Settings screen, just not the Calculator key?

1 Like

Yes, this looks like some possible permissions error - maybe Plasma can’t write the config.

Did you run any GUI apps with sudo?

Perhaps temporarily try mv .config .configBORKED then logout/in and try again… if the issue is clear, then selectively move things back from BORKED folder examining permissions.

The relevant file is kglobalshortcutsrc

ls -l ~/.config/kglobalshortcutsrc
                 Name                  Size    Date Modified   User Group Permissions
 /home/ben/.config/kglobalshortcutsrc 18 KB 30/01/25 06:56:35 ben  ben   .rw-------

Permissions - read/write.

Hmm, I thought this had been fixed in Plasma 6.0 and Qt 6.6.3; see 478936 – Unable to bind / use the calculator key in plasma 6 on Wayland.

Hi All, Sorry for the late response. Unfortunately I have QT 6.2.2. Is there a fix?

Hi - the Kubuntu folks would need to provide context on when updated versions of Qt, or backported patches to existing versions, would be made available. For reference though, in the Ubuntu model - including its flavors, such as Kubuntu - new upstream versions of foundational software often aren’t provided until the next release of the full distribution (ex. in this case, 25.04).

I get it. So, unless I have QT 6.6.3, this problem is gonna be around. No worries, I used to have KDE Neon but switched to Kubuntu because, I found it unstable sometimes. Apart from this Shortcut thing, it’s pretty usable. Thanks everyone!