-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Register shortcuts under wayland #282
Comments
lxqt-globalkeys heavily depends on X11. A totally different code might be needed. As you already know better than I do, Wayland WMs (and especially, labwc) come with their own shortcut handling because, unlike the case of X11, they can't be just WMs. |
Use backends there too? Basically lxqt global keys becomes a gui frontend like an ObKeys on labwc etc, moving the current code to a x11 backend. |
@redtide while this is a reasonable suggestion, there isn't a common protocol which can be used for a generic backend. Do you know of any wm that allows registration of arbitrary key-bindings? We may have that support in Wayfire using its IPC mechanism. But that's still under development, and isn't released yet, I think. |
ATM only OB and Labwc but it doesn't matter, what I'm saying is to make GlobalKeys like a wrapper/frontend that can adapts to various implementations. One could be also the portal mentioned in the OP. |
The thing with the portal is that it still requires support from the compositor. The portal will contain the code that will communicate with the compositor. Currently, we do not have any means of communication - typically, this is via a protocol (wayland/wlroots/private) or some IPC mechanism. |
Expected Behavior
We can use lxqt-globalkeysd under wayland
Possible Solution
No docs found here https://docs.flatpak.org/en/latest/portal-api-reference.html
The text was updated successfully, but these errors were encountered: