this post was submitted on 15 May 2024
167 points (98.8% liked)
Linux
48340 readers
443 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
what does "rootfull" mean?
XWayland normally runs x11 apps seamlessly (more or less) in Wayland
XWayland rootful spawns a window which is like a virtual monitor running a full x11 session inside it. You spawn apps inside of the window using the DISPLAY variable
This seems... ridiculous. Windows and MacOS developers don't worry about creating decorations. And they don't worry about that "adding a lot of complexity". Even with X11 you get decorations from the WM without any work. I know I don't understand the glory that is the Wayland architecture and that a bunch of folks will now angrily tell me all the numerous ways in which I'm not only wrong but but also stupid but.. It just seems weird is all.
iirc mandatory Client Side Decorations is only a Gnome on Wayland thing and everyone else has support for both Client and Server Side Decorations.
Honestly I feel like it doesn't really matter either way, it adds a little complexity for the people maintaining qt and gtk and things like that, but most actual application developers aren't interacting directly with the display server so it doesn't make much difference for them
It's probably the biggest deal for games running in xwayland
Care to elaborate? What have games to do with window decorations?
Native games need to add client side decorations to be usable on Wayland Gnome. Currently most games just run in XWayland.
Exactly, native games are dead anyway? :P
I think that the reason for all the weirdness in wayland is because they are considering more usecases than just desktop with taskbar and window title bars with
_
[ ]
X
buttons. Think signage, mobile interfaces, kiosks, and other weird non-traditional interfaces. Its why absolute window positioning is dumb the way it is too.I though only GNOME cared about having client-side decorations? Probably why any GNOME app I have has an annoying toolbar when I'm using a tiling window manager.
Indeed, but GNOME is big enough to veto against anything they dislike getting into Wayland. And indeed, TWMs were brought up as a big reason why CSD sucks; window decorations primarily contain controls for the window manager and the form these controls should take depends entirely on the nature of the window manager, therefore the window manager should draw the controls. But GNOME doesn't want to perform the oh so difficult task of providing window controls to apps that don't provide their own under Wayland, so too bad.
"only gnome" is a bit of an understatement. It's one of the biggest DEs.
Its confusing that we also use 'rootful' to refer to a process running as the root user
You need to wander through links a bit to find it but https://ofourdan.blogspot.com/2023/10/xwayland-rootful-part1.html talks about the rootful and the recent changes.