this post was submitted on 14 Jun 2024
48 points (96.2% liked)
Linux
48624 readers
1609 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You mean Electron?
The Arch wiki has docs about that.
For Flatpaks I use the environment variable
See my dotfiles on github.com/boredsquirrel/dotfiles
Same possible for Qt
QT_QPA_PLATFORM=wayland
Is there a noticeable benefit to those apps running natively on Wayland vs running through xWayland?
I have not checked this, but as far as I know
"translates it to Wayland" is not correct, XWayland is an X server that runs on Wayland, not a translation layer.
True. 👍
OBS on Wayland can record keystrokes too, it just that Global hotkeys can be problematic on KDE and requires a work around.
So... isnt the X window translated to a Wayland surface?
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
Interesting, thanks!
Yes, you get the usual Wayland benefits and tighter integration with the system. However certain applicants can be a little unstable when doing certain actions.