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

Linux

48323 readers
638 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
[–] boredsquirrel@slrpnk.net 14 points 5 months ago (1 children)

You mean Electron?

The Arch wiki has docs about that.

For Flatpaks I use the environment variable

ELECTRON_OZONE_PLATFORM_HINT=wayland

See my dotfiles on github.com/boredsquirrel/dotfiles

Same possible for Qt QT_QPA_PLATFORM=wayland

[–] Fisch@discuss.tchncs.de 3 points 5 months ago (1 children)

Is there a noticeable benefit to those apps running natively on Wayland vs running through xWayland?

[–] boredsquirrel@slrpnk.net 2 points 5 months ago

I have not checked this, but as far as I know

  • performance: apps are running on a subset of XOrg and xWayland translates it to Wayland
  • RAM: if you have no XWayland apps anymore you save RAM
  • 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.