Fix for hotkeys not working on wayland #1384
belowdecent
started this conversation in
Development
Replies: 1 comment
-
|
Wayland does not allow setting global hotkeys for "security" reasons. Though there is a dbus api being added, it is still not widely supported and is complex to setup. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If you launch throne with QT_QPA_PLATFORM=wayland
it will complain:
QHotkey: Unable to map shortcut to native keys. Key: Qt::Key_P Modifiers: QFlags<Qt::KeyboardModifier>(ControlModifier)to fix that, just use the xcb backend and the shorcuts will work:
eg:
QT_QPA_PLATFORM=xcb throneidk, if there is faq, but this seems like nice thing to mention, since QHotkey is not interested in providing libinput support atm
maybe kde plasma prevents that issue by default, but hyprland doesn't, so give it a try ig
Beta Was this translation helpful? Give feedback.
All reactions