You are not logged in.

#26 2024-03-13 17:15:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,805

Re: Global keyboard shortcuts not working in KDE Plasma 6

Some shortcut bugs for specific clients are likely to be fixed in 6.0.2: https://bugs.kde.org/show_bug.cgi?id=482712 -- but so far none of the cases mentioned here really fit with that description since having an application or a KWin effect launch are not going to interface with legacy application connection APIs

Offline

#27 2024-03-13 17:26:20

nicenemo
Member
Registered: 2024-03-12
Posts: 6

Re: Global keyboard shortcuts not working in KDE Plasma 6

The KDE shortcuts System settings does not recognize Left CTRL+XF86Calculator.
The calculator key was recognized in version 5 of Plasma/KDE but not in 6. Xorg recognizes it and it also is recognized in wayland.

I can bind the calculator app or any other app   to the WWW key  file browser key or control-alt-shift-T or "Hyper" T or  any modifier combination with a letter or some launcher keys.
Some HID application launch keys seem no longer to be recognized that were recognized before. I have no complete list of keys that did work and no longer works since I was just configuring the keyboard firmware and was happy to "pop a calculator with a key press" wink. I think it is filtered somewhere in KDE/PLasma. The whole list of possible keys is in the hid specification and in https://github.com/zmkfirmware/zmk/blob … id_usage.h. However that file has at least one typo. I made a pull request for that on the ZMK github repo.
It would be cool if KDE/Plasma could support the full set of HID application launch keys and maybe more.

Last edited by nicenemo (2024-03-13 17:28:23)

Offline

#28 2024-03-13 18:12:06

seth
Member
Registered: 2012-09-03
Posts: 51,735

Re: Global keyboard shortcuts not working in KDE Plasma 6

Online

#29 2024-03-13 19:28:47

nicenemo
Member
Registered: 2024-03-12
Posts: 6

Re: Global keyboard shortcuts not working in KDE Plasma 6

Thanks I read the KDE bug report. I hope the fix is going to work for Wayland too.
Regarding the Calculator.. there might be two keycodes, One with a maybe deliberate wrong spelling?


#define XKB_KEY_XF86Calculater   0x1008ff54 /* Launch Calculater */]
and
#define XKB_KEY_XF86Calculator   0x1008ff1d /* Invoke calculator program */

Defined in https://xkbcommon.org/doc/current/xkbco … yms_8h.htm

Offline

#30 2024-03-13 19:39:32

nicenemo
Member
Registered: 2024-03-12
Posts: 6

Re: Global keyboard shortcuts not working in KDE Plasma 6

Maybe more relevant is the QT source code: https://code.qt.io/cgit/qt/qtbase.git/t … quence.cpp This seems to be what should be possible? Disclaimer I have not touched c++ source code myself for over 20 years. Doing Java as my dayjob.I played with QT and KDE in the very early Days of SuSE Linux 6.x after Redhat 5.2

Offline

#31 2024-03-13 20:27:55

seth
Member
Registered: 2012-09-03
Posts: 51,735

Re: Global keyboard shortcuts not working in KDE Plasma 6

The comment in the upstream bug suggests that this will be fixed in Qt 6.7?

Online

#32 2024-03-13 21:39:19

nicenemo
Member
Registered: 2024-03-12
Posts: 6

Re: Global keyboard shortcuts not working in KDE Plasma 6

Looks like it. Will see. I noticed some more odd behaviour when I use Hyper and function keys. Some trigger application launch key codes or volume up/down.
I am now working on defining both left and right HYPER and MEH keys on my keyboard.I will see what QT 6.7 and / or later Plasma versions will bring.
Not many people are crazy or curious enough to try defining +400 keys on layers on their keyboards in ZMK or QMK.

Offline

Board footer

Powered by FluxBB