jokeyrhyme, to linux in A response to the "Boycott Wayland" article
@jokeyrhyme@lemmy.ml avatar

Wayland breaks global hotkeys: I present to you: Hyprland (where you can get global hotkeys). Now, it is normally not allowed by design, as a security measure

Not disagreeing at all, but I’d like to add some information here to support your correction

There’s a GlobalShortcuts portal ( flatpak.github.io/xdg-desktop-portal/docs/-… ), and this is implemented for hyprland in xdg-desktop-portal-hyprland ( github.com/hyprwm/…/hyprland.portal#L3 )

So, technically, there is nothing in the wayland collection of protocols that supports global keyboard shortcuts, but (along with lots of other supporting functionality), this is addressed via the collection of portal APIs

As it happens, KDE already supports the GlobalShortcuts portal: invent.kde.org/plasma/…/kde.portal#L3

Any desktop can provide an implementation of the GlobalShortcuts portal, and any app can adopt it as required (although if it’s implemented within popular toolkits/frameworks, then app developers won’t have to even think about it)

Here are related tracking issues:

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #