Skip to content
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

Is there any plan to support Wayland? #14

Open
holazt opened this issue Dec 27, 2017 · 10 comments
Open

Is there any plan to support Wayland? #14

holazt opened this issue Dec 27, 2017 · 10 comments

Comments

@holazt
Copy link

holazt commented Dec 27, 2017

No description provided.

@Skycoder42
Copy link
Owner

As far as I know, this is simply not possible with wayland atm. See:

So for now, there is no way to add this. And if the posts above are correct, in the future such solutions will depend on the compositor/window manager itself. Unless it becomes part of "standard wayland", there won't be any global solution, making it even harder to implement.

Once wayland becomes more usable and used on some major desktop platforms, I will look into this again, but for now, it's a wontfix...

@holazt
Copy link
Author

holazt commented Dec 27, 2017

Okay, but thank you.

@Skycoder42
Copy link
Owner

Reopend to not forget this. I would really like to get hotkeys working on wayland too.

@Skycoder42 Skycoder42 reopened this Feb 22, 2018
@holazt
Copy link
Author

holazt commented Feb 23, 2018

@Skycoder42 Thank you.

@FloThinksPi
Copy link

FloThinksPi commented Nov 5, 2018

Hey @Skycoder42 since wayland devs apearently dont want to add hotkey support ( see albertlauncher/albert#309 ) how about registering the hotkeys against the desktop environment programatically ? E.g. Add the hotkeys to Gnome or KDE

@Skycoder42
Copy link
Owner

Shure, I'd be fine with that. The only part where that gets complicated is dependencies and the decision, which "backend" (i.e. gnome or KDE) to use. Furthermore, I do not know whether they even have an API for doing this, so I would have to do some research on that.

If you have any knowledge regarding these points, feel free to share them here. PRs are always welcome as well ;)

@Skycoder42
Copy link
Owner

Just collecting some files that might come in handy when trying to implement this sometime in the future. Those are presumably the changes needed to register a shortcut in KDE 5

@antis81
Copy link

antis81 commented Feb 13, 2022

What about an evdev/libinput hook based implementation? Found libuiohook.

@Cuperino
Copy link
Contributor

Cuperino commented Jun 17, 2022

Various Linux desktop environment developers are leaning towards creating an xdg-portals API that enables the creation of global shortcuts that work with Wayland and is compatible with all desktop environments.

Here's the thread to that discussion:
flatpak/xdg-desktop-portal#624

And here's where it's being created:
flatpak/xdg-desktop-portal#711

@Mstrodl
Copy link

Mstrodl commented Nov 27, 2022

And here's where it's being created: flatpak/xdg-desktop-portal#711

Looks like that PR was merged... Any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants