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.