this post was submitted on 23 Mar 2024
220 points (97.0% liked)

Linux

48149 readers
771 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I've been on Wayland for the past two years exclusively (Nvidia).

I thought it was okay for the most part but then I had to switch to an X session recently. The experience felt about the same. Out of curiosity, I played a couple of games and realized they worked much better. Steam doesn't go nuts either.

Made me think maybe people aren't actually adopting it that aggressively despite the constant coverage in the community. And that maybe I should just go back.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 7 months ago (1 children)

I've got three hard problems preventing me from using Wayland (sway/wlroots) right now:

  1. No global shortcuts for applications, especially legacy applications; I need teamspeak3 to be able to read my PTT keys in any application. Yes I know that could be used to keylog (the default should be off) but let me make that decision.
  2. Button to pixel latency is significantly worse. I don't need V-Sync in the terminal or Emacs. Let me use immediate presentation in those applications.
  3. VRR is weird. I'd love if desktop apps were V-sync'd via VRR but the way it currently works is that apps make the display go down to 48Hz (because they don't refresh) but the refresh rate never goes up when typing; further exacerbating button to pixel delay.
[–] [email protected] 12 points 7 months ago (1 children)

There's a portal for Global Shortcuts: https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.GlobalShortcuts.html

KDE and Hyprland already implement it, and COSMIC seems likely to

On the app side, if we can get the major toolkits to adopt it, then hopefully that covers most actively-maintained apps (but it's unlikely to cover legacy apps): https://github.com/electron/electron/issues/38288

[–] [email protected] 4 points 7 months ago (2 children)

If I can get the portal to just forward every keypress (or a configurable subset) to an xwayland window, that'd work for me. (I am aware of the security implications.)

[–] [email protected] 1 points 7 months ago

As far as I know xwayland in plasma/kde already does that. However as it's KDE, it is most likely configurable and might not be enabled by default :P

[–] [email protected] 1 points 7 months ago (1 children)

I'm not an expert, but my understanding of the Global Shortcuts portal is that it's very much designed for the push-to-talk use case where an app is not focused but still receives button events for exactly the keys its interested in and no other keys: I think this would cause problems if an app requested every key (e.g. if the request was approved then no keys would work in every other app)

It'll be interesting to see how the remaining compatibility/accessibility issues are tackled, either in portals or in wayland protocols

[–] [email protected] 1 points 7 months ago

Yeah and that's great but my point is that I don't see an obvious way to use it for that in its current implementation. I'm sure you could build it but it's simply not built yet.