Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.15.9
-
None
Description
I'm trying to get all major apps on my Linux system to use Meta+C/V instead of Ctrl+C/V.
Apparently it is possible to achieve that on a KDE system by modfying the kdeglobals config file.
Though I'm on a non-KDE system which uses qt5ct (theme) to adjust QT settings. The tool does not offer to change key bindings directly, but change the keyboard scheme hint under Interface > Keyboard scheme. It is possible to set that to "Mac OS X", which is feature I'm looking for I think. Though it does not switch Ctrl and Meta.
I checked the source code and I think it should do that. You can verify here that using a macOS keyboard means that the Meta key will be chosen for Copy&Paste: https://github.com/qt/qtbase/blob/8566c2db85a6f579a1a0432d0b7621633158e04c/src/gui/kernel/qplatformtheme.cpp#L194-L201
It also seems like the themes keyboard settings are honored: https://github.com/qt/qtbase/blob/8566c2db85a6f579a1a0432d0b7621633158e04c/src/gui/kernel/qplatformtheme.cpp#L852
I think there might be a bug. Alternateively, is there another way to use a macOS keyboard successfully with Qt on Linux?