Gnome merges Global Shortcuts
-
Not sure if Discord is the best example here, as it didn't support the screen capture portal for a very long time.
Discord didn't take very long to add it at all, what took a long time was fixing audio streaming.
-
The traditional insecure global shortcuts system works in Xorg.
wrote on last edited by [email protected].
-
Xorg global shortcuts will work for anything using Xwayland, but not in anything thats wayland native
For example, in a game (using wine, which uses Xorg by default currently) your global shortcut will work. But in a wayland native window like Firefox, it will not if its the active window
-
Xorg global shortcuts will work for anything using Xwayland, but not in anything thats wayland native
For example, in a game (using wine, which uses Xorg by default currently) your global shortcut will work. But in a wayland native window like Firefox, it will not if its the active window
wrote on last edited by [email protected].
-
This post did not contain any content.
Does anyone know what the status on KDE implementing this is?
-
Does anyone know what the status on KDE implementing this is?
Already merged there some time ago.
-
Already merged there some time ago.
I can't find any documentation on how to set it up, do you happen to know where that would be?
I can't figure out how to setup discord push to talk on kde wayland, specifically
-
I can't find any documentation on how to set it up, do you happen to know where that would be?
I can't figure out how to setup discord push to talk on kde wayland, specifically
Apps need to add support for the new portal system. Chromium is adding (or added?) support, so Discord may implement it once they use an Electron version with support.
If you’re using KDE, you can tell Discord to use X11 and use KDE’s feature to let X11 apps snoop on key presses.
-
Xorg global shortcuts will work for anything using Xwayland, but not in anything thats wayland native
For example, in a game (using wine, which uses Xorg by default currently) your global shortcut will work. But in a wayland native window like Firefox, it will not if its the active window
Are you sure about that? KDE has a feature that lets Xwayland apps snoop if certain keys are pressed, but Gnome does not.
-
Are you sure about that? KDE has a feature that lets Xwayland apps snoop if certain keys are pressed, but Gnome does not.
Yeah. The behavior i stated was how it works in Gnome. In KDE since Xorg passthrough is a formal thing, the behavior is different based on those options
-
Does anyone know what the status on KDE implementing this is?
It was implemented over two years ago.
-
Discord didn't take very long to add it at all, what took a long time was fixing audio streaming.
Umm yes, they did take ages to support it. It took like 7 years...
-
It was implemented over two years ago.
I can't find a way to manually add entries in the settings, is there no way to do that?
How would I manually enable push to talk in discord, for example?
-
Apps need to add support for the new portal system. Chromium is adding (or added?) support, so Discord may implement it once they use an Electron version with support.
If you’re using KDE, you can tell Discord to use X11 and use KDE’s feature to let X11 apps snoop on key presses.
I don't understand why they wouldn't allow you to manually override things, i hope this gets added later, i'd like to be able to forward shortcuts to apps for push to talk even if the app doesn't support the native portal
-
Umm yes, they did take ages to support it. It took like 7 years...
tbf, Wayland was hardly relevant for some of that. the first feature request I found was 4 years go. implementing it also required upgrading electron a few versions, so a decent bit of work.
-
I don't understand why they wouldn't allow you to manually override things, i hope this gets added later, i'd like to be able to forward shortcuts to apps for push to talk even if the app doesn't support the native portal
Because if it is freely overridable, other apps can override it as well - including malicious apps.
-
I can't find a way to manually add entries in the settings, is there no way to do that?
How would I manually enable push to talk in discord, for example?
You can't. Apps need to support shortcuts in order to receive them...
For Discord, the X11 compatibility page has working options though.
-
Because if it is freely overridable, other apps can override it as well - including malicious apps.
I didn't say it should be freely overridden, I said I should be able to manually override it
-
I didn't say it should be freely overridden, I said I should be able to manually override it
Yes, but that amounts to the same thing. The restrictions that prevent you from manually overriding it are there to prevent any app from freely overriding it. There's a way to only explicitly allow you to manually override it, and that's the way that's currently being built and requires ecosystem support.
-