this post was submitted on 14 Jun 2024
48 points (96.2% liked)

Linux

47940 readers
1191 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 am aware of the switches you can pass to each app to make it use native wayland, but is there any way to do it globally?

you are viewing a single comment's thread
view the rest of the comments
[–] Rustmilian@lemmy.world 1 points 4 months ago (1 children)
  • performance: apps are running on a subset of XOrg and xWayland translates it to Wayland

"translates it to Wayland" is not correct, XWayland is an X server that runs on Wayland, not a translation layer.

  • RAM: if you have no XWayland apps anymore you save RAM

True. 👍

  • features: some apps may have more features on XOrg, some may have more on Wayland. OBS on XWayland can record keystrokes, QGis on XWayland has not broken dockable toolbars.

OBS on Wayland can record keystrokes too, it just that Global hotkeys can be problematic on KDE and requires a work around.

[–] boredsquirrel 1 points 4 months ago (1 children)

an X server that runs on Wayland

So... isnt the X window translated to a Wayland surface?

[–] Rustmilian@lemmy.world 2 points 4 months ago* (last edited 4 months ago) (1 children)

It does not "translate" or convert X11 windows, but rather forwards them as is over wayland input devices as Wayland surfaces to the underlying Wayland compositor.
Xwayland server still runs the same code as the regular X server, but relies on the Wayland compositor for presentation and composition of the X11 windows.
"translation" suggests conversion of X11 API calls or other code, which is not happening here.

https://wayland.freedesktop.org/xserver.html

[–] boredsquirrel 1 points 4 months ago

Interesting, thanks!