264 points · by alexzeitler · 2y ago · 200 comments
4.20 will let you run some of our components on another compositor. We mostly test with Wayfire and Labwc, as our compositor will also be using wlroots.
Great software. Great mix of flexibility, modularity, ease of use, and good taste.
I also thank the devs.
But yes, some people are excited, some don't care, some are worried.
But there won't be a switch. If users want to keep running it on X11, they can do that. I can't promise that will be the case forever, but it's not (won't be) that hard to support both with how things are currently.
A lot of xfwm4's behavior is windowing-independent, or fairly easy to put the windowing-specific calls behind interfaces. There's some of it that turns out to be pretty hard to untangle, which is where the real work is, but I think it's worthwhile work to take on.
Btw I love xfce. Find it to be the perfect balance between features, stability and performance!!!
A Wayland compositor is a completely different beast, and that's what we have to build.
And even if it isn't, and it's statically linked, so what? RAM is cheap and plentiful in most places these days, and if you're really upset about it you can build it yourself with --disable-wayland or whatever.
Anyway, the negativity is quite unnecessary and tiresome.
If I am upset about something, it is wlroots does not manage properly its symbol namespaces with the C preprocessor, that to reduce to near 0 the possibility to have symbol collision while static linking.
The great thing is finally xfce is going to have its wayland compositor. And there, there is not negativity, only positivity, because the real core of wayland is orders of magnitude simpler than x11 core, and wayland is getting its way on mobile, which means with vulkan3d, dude, the future looks bright, not grim, cheer up.
And so I discovered that Cinnamon is also a very good option when it comes to « a better Windows 2000 ui ».
It’s also not incredible on HiDPI but at least Cinnamon is pretty good at not breaking everything when you increase font size by 150 or 200%. On XFCE if you do this everything becomes ugly.
First because usually it is only text that I want to be larger so I can read it. Increases the size of "everything" just decreases UI density with no benefit (while things that conform to the text like button still increase in size to contain the text).
Second because scaling "everything" often leads to ugly results. E.g. I use a program to browse local media files that generates thumbnails for those files. The size of the thumbnail generated matches the size of the widget it displays for that file. If the widget is scaled 1.5x due to UI scaling, it will show a blurry upscaled thumbnail.
Go to Settings, Appearance, Advanced, set the font DPI to something like 144 or what works for your screen.
The only thing that does not obey this is Firefox; the way to adjust it is to set layout.css.devPixelsPerPx to something like 1.5 in about:config.
How so? We support setting GTK's UI scaling to 2x, and (as of 4.18) I believe all the bugs around blurry icon rendering have been fixed.
What exactly becomes ugly for you?
Been using WSL full time for over a year and have no plans to go back..
[1]: https://addons.mozilla.org/en-US/firefox/addon/auto-tab-disc...
LXQt if you want something with less features, Plasma if you want more features. They're both performant.
Not sure what you mean. We have CSDs available for people who like it, but they can be turned on and off.
If you're talking about random GTK apps that run on Xfce, there's not much we can do about that; we don't set app policy.
That's one of the nicer things about Wayland, though: there's a way for the compositor to tell applications "I'll draw the decorations". On X11 there's no protocol for that, only a way for an app to tell the window manager it wants to draw its own, without a way for the WM to say "no, don't do it".
As for Wayland, I use it on a Raspberry Pi 4 (Raspbian xwayland). It works well enough, but there is some kind of bug that causes xwayland to fill the swap space at almost 100%. When this happens, I find it necessary to close applications to reduce the swap usage.
But I don't get the HiDPI point? Certainly 4.16 had issues with HiDPI, but in 4.18 you can set the UI scaling factor, and I believe shortly before and/or after initial release, we fixed up all the issues of blurry image rendering. I have a HiDPI screen and it's worked very well for me, and looks nice.
I've been using it for years and years. I started when it was the only lag free WM I could run on an atom powered netbook (the only "pc" I had at the time)!
Now many years later im still using it, and it still makes me happy. I'm not sure if people know what it's like to be able to click on something and have it work instantly with no lag.
It is a great piece of software, thank you to all the Devs who work on it!
Edit: I've seen a few complaints about hidpi. I'm not sure if this helps, but I have a 4k laptop screen, usb-c to a 4k monitor, and hdmi to a regular 1024 monitor orientated vertical.
By setting x2 in the appearance settings both the 4k monitors look beautiful, and then in the screen manager (where you can move around the screens and set orientation, I just have to set 2x scale on the 1024 monitor and it's fine. Like obviously less good than the 4ks... But it is a worse monitor. I'm surprised it all works so well to be honest!
When compiling code on a remote machine, a terminal on one window would cause YouTube videos to lag on the other! As far as I could ascertain, there was simply no hardware accelerated playback going on. Both Chrome and Firefox had seemingly abandoned X11 for a Vulkan based render backend on Wayland
After leaving KDE 5 to "marinate" overnight (I use Gentoo, so compiling an entire desktop environment like KDE can be time consuming) everything "just worked"
I miss the visual simplicity of XFCE and I'm hopeful to return to it one day, but in the interim, responsiveness is key
Reality is most people aren't sensitive to whatever it is these people believe they are perceiving and will get on fine with whatever the defaults are.
If your hardware is supported (e.g. WiFi chips and GPUs are definitely a valid concern), I know of no post-install config that Debian with Cinnamon needs that you'd not also need to do on Windows, and Microsoft will put ads in your start menu for the trouble of buying their license at that
What hardware are you using where KDE is considered "resource intensive", yet it also has a GPU that supports Vulkan and hardware video decoding?
I've used KDE for a long time, and can't remember a time when I noticed its resource usage (and I used to daily drive a ThinkPad X200 as late as 2016)
edit: typos
Normally it's a bit tricky to calculate memory blame between X11, the WM, and the shell, since often their allocations are actually on behalf of an application, and killing the application will reclaim it.
I still remember seeing a video of Xfce (I think it was version 4.0.4) and being amazed how simple and reliable you could pick your own launchers and widgets on the bar. For me it was much simpler than Gnome at the time.
Modern KDE looks sometimes like Xfce for me (just my feeling, don't bite me), but somehow I always get a lot of strange bugs when I try to change things. Xfce had its own problems (I remember when Thunar was quite unstable), but it still is my go to desktop for simplicity and reliability.
same.
why?
they all grew up on Win9x and the visual metaphors used by XFCE just click, they could all care less what's behind the scenes as long as YouTube and Facebook work.
p.s. dwm is great. most suckless stuff is.
https://manpages.opensuse.org/Tumbleweed/waypipe/waypipe.1.e...
I remember when we got confined and were sent home, I could not screen share in MS teams on chrome out of the box but a few minutes of search gave me the chrome flags to enable and I just created a new local desktop file to start it up with the right flags
Since then the only things that have been missing is HDR support and color calibration. It sucks to not have them ready but they are only really used by a tiny fraction of the users so for 99.9% of the users wayland works fine.
...I get it that Wayland is the future and all, that it has features we need as an OS to get to the next level, but I feel there should be no rush to do it, and I feel a strong push for Wayland in distros right now, even with all these little broken things all over the place.
I'm still on X11 myself for the time being as my OS doesn't support wayland properly yet (it runs but not with KDE)
Not really. The GNOME/GTK folks were already on the CSD bandwagon well before Wayland. Wayland compositors are free to draw their own decorations (and xfwm4 will indeed continue doing that once it's a Wayland compositor), and one of the actually neat things about Wayland is that there is a protocol that allows the compositor to tell applications not to draw their own decorations. (Whereas on X11 an app can tell the WM it will draw CSDs and the WM can't do a thing about it.)
Certainly GNOME has gone all the way to CSDs (IIRC if an app on GNOME doesn't draw CSDs, they get no decorations at all), but that has nothing to do with Wayland.
> I heard that GNOME is currently trying to lobby for all applications implementing CSD. One of the arguments seems to be that CSD is a must on Wayland. That’s of course not the case. Nothing in Wayland enforces CSD. Wayland itself is as ignorant about this as X11. [...] In fact we created a protocol (supported by GTK) that allows to negotiate with the Wayland compositor whether to use CSD or SSD.
From https://blog.martin-graesslin.com/blog/2018/01/server-side-d...
Wayland is agnostic, and it's up to the compositor and application to decide what to do while operating under wayland.
Pretty much every single Wayland compositor follows this except for GNOME, who refuse to do so. It causes problems with windows like Davinci Resolve who don't draw their own decos. This leaves some windows without any controls at all lol. But this is a tangent and purely a GNOME problem.
Sure it does. Allowing windows to draw their own decorations, often in different ways and with different styles and themes, and not respecting the settings in xfwm4 as to what window-control buttons should be drawn (and where)... that's a huge UX issue.
The process drawing it's own decorations? Technical decision that both Windows (tad complicated) and macOS already do, nothing to do with UX. There's nothing stopping this model from having the uniformity of SSD (as like on macOS), but it does on Linux due to multiple toolkits which don't all agree with eachother.
Combined headerbars? UX decision.
Their security model won't allow this. I don't know how accessibility and automation tools are going to get by trying to support every wayland compositor.
Linux is fine with X11 per my requirements above. The biggest problem is the fragmentation caused by Wayland. I cant develop software that targets any reasonable range of desktop environments much less, the features needed. If Wayland was left and X11 was right the community needs something in the middle paradigm.
I highly recommend Qt for this purpose.
Gtk has been a hot mess for the past few years with Gtk4 and libadwaita shenanigans. However, Qt has continued to evolve incrementally without dropping any backwards functionality.
It's incredibly full-featured and has amazing tooling. In addition to Qt Creator you also have the CLI tools for packaging and whatnot and KDE has Kirigami for components.
The nice thing is that Qt applications look pretty good in native environments like plasma, but they also look pretty good in Gtk environments, including older Gtk-3 desktops and newer Gtk-4 desktops. So you cover all your bases. You also get Mobile and Windows/Mac, if anybody cares.
The two real downsides are:
- GPL
- C++ only (ish). There's other bindings but they will not have the same level and quality of tooling. Gtk has less tooling overall, but MUCH more high-quality bindings.
But, this Wayland thing is pushing me over to the BSDs. So far I have no abandoned Linux and I doubt Wayland will become mandatory until Firefox stops supporting X.
I'm quite disillusioned with desktop computing in general. Microsoft and Google are leading the way with "enshittification" (https://en.wikipedia.org/wiki/Enshittification), and the Mac experience in 2024 isn't like what it was in 2009 when the Mac was at its peak, in my opinion. The Linux desktop ecosystem suffers from a lack of funding relative to its commercial peers, combined with the "organization from chaos" that comes with bazaar-style development. The X11 to Wayland transition would be easier to pull off if the Linux desktop has Microsoft- or Apple-levels of funding and cooperation, but such funding doesn't exist, and part of the characteristic of the bazaar is that developers and teams of developers get to work on projects of their own interest and its the community that "votes" on projects by using them. The bazaar definitely exhibits freedom, but the major downside is that major changes in infrastructure (such as the X11 to Wayland transition) could take a lot of time and have major pain points (for example, the development of incompatible Wayland compositors and the fact that the X11 concept of a window manager doesn't exactly translate to Wayland's concepts).
I love free, open source software, but I'm drawn more to cathedral-style projects such as the BSDs and HaikuOS where there is a coherent vision for the system. Unfortunately the BSDs are dependent on the broader FOSS ecosystem for desktops, which is dominated by the GNOME/KDE/Wayland ecosystem (which also priorities Linux and treats other Unix-like operating systems as an afterthought, but that's another discussion). I'll need to re-investigate HaikuOS to see whether it can be used as a daily driver today; I've seen that a lot of attention has been given to HaikuOS in recent years.
I'm slowly working on a side project where I'm implementing my dream OS, which is influenced by various alternate paths of workstation and desktop computing explored in the 1980s and 1990s but were overtaken by Windows and Unix, namely Lisp machines, the Smalltalk environment, and 1990s Apple initiatives such as OpenDoc and the original plans for the Newton, which involved a Lisp OS (https://mikelevins.github.io/posts/2021-07-12-reimagining-ba...). But I have a busy day job and so this will take years of effort on the side.
I, much as other users, just want my computer to solve the problems I ask of it, not turn into an activity in its own right or a maze of hosting problems and pain to get a simple task done. The job of the computer is to free us from slavery and everyone seems to have bloody well forgotten that.
macOS is my dream OS as it stands.
I can add a cucumber to my shopping list on my mac and when I get to the supermarket, it's on my phone.
I can share a calendar with my family and it just works.
I can listen to music on it and the same music is on my phone.
I can open and move pages around in a PDF without having to futz with anything or open a terminal.
I can literally write on my iPad with a pen and a PDF pops out full of my writing which I can send to people for review and feedback.
I can use Lightroom, Photoshop and Excel, which are far superior to any open source products and I do not mind paying for that privilege.
etc etc.
The hardware cost and upgrade inflexibility, neither of which I have found a problem either way, is insignificant anyway to the pain I would incur without it.
And that's what the community does't get: the last 20% is the hard bit and the above is the last 20% and it has never even once in the history of OSS got anywhere even remotely near that. No one cares about the political purity and ideology behind it.
Cool, I'll be following that. To me, one of the most interesting aspects of Genera is the command line interface, where commands know their arguments' names, types, defaults, and help strings. The commands can output nicely formatted data such as tables and, because they're just Lisp functions, they can share structured data directly rather than parsing and serializing ad-hoc text formats as is that's typical in the Unix world.
Soldered RAM is faster than socketed RAM. What's faster still is Apple's current approach: putting the RAM inside the CPU chip package. This is one of the reasons why Apple Silicon chips are so screamingly fast and handily beat any x86 chip core-for-core.
> to the increasing annoyances of macOS either in the name of security (e.g., notarization, the popups that request permission to read user directories, which is really annoying when using LLVM's debugger in modern macOS)
These help prevent malicious software, such as downloaded apps or even web pages, from exfiltrating or tampering with user data. Relevant xkcd: https://xkcd.com/1200/
It will 100x not go away, there is no way. Literally all big stakeholder both open source (Gnome, KDE, Fedora and so on) and companies like Valve are all in on Wayland.
The reality is, X11 is a complete train wreck and always was. Its just that for a long time people invest in it and made it usable. The same is true for Wayland, things have been improving rapidly in Wayland and it many ways its already better.
The train wreck is being cleared and the trains are running again, literally nobody will go back to horses.
What is there in Wayland is really quite clean though, so it will... EVENTUALLY... be pretty good.
In my view, Wayland is basically unsupported. GNOME and KDE support it. XFCE, Lxqt, Mate, and Cinnamon don't. It's been over 10 years. You could make a whole DE from scratch in this time.
I haven’t figured out the magic dbus (I guess) incantations required to make screen sharing work without systemd though. I guess it needs pipewire at least.
I don't think Wayland should add a print server ;)
> In human–computer interaction, WIMP stands for "windows, icons, menus, pointer" —https://en.m.wikipedia.org/wiki/WIMP_(computing)
Most projects introduced bugs in xorg trying to support wayland, which is not reliable for many use cases, making everything unusable every other month
The long-term solution is to switch to Wayland.
Does anyone a cleaner article?
[editing to add: my assumption that it isn’t is due to this post - xfce is what I used to use because it was lightweight, but if such a lightweight manager requires significant adoption effort it would imply that Wayland isn’t X API+new extension]
I had thought that Wayland was still functionally an implementation of the X server protocol, just reengineered to drop any pretense of network transparency, but given the amount of work involved that’s clearly not the case?
(It has been a long time since I did anything resembling X development, and so I’ve paid literally no attention to the details)
Based on experiences of an acquaintance writing from scratch support for wayland for an UI framework that shares absolutely zero code with any of the major ones, the differences in even basic things like how to implement drop-down menu are staggering.
Funnily enough, said acquaintances needs would have been fully covered by slightly more capable XRender and a way to synchronize to VSync that does not depend on GLX.
X11 apps can generally run under Wayland, but through XWayland, an X server that runs nested under a Wayland compositor.
But the DE/window manager is what is actually responsible for deciding when/where to provide that interface? For actual rendering+windows etc the DE is communicating entirely through Wayland specific APIs?
I guess the operation mode is similar to how you would run X apps on Mac and windows where you could launch an x server that would act as a layer between the Mac/windows windowing system?
It's generally more transparent than running a separate X server on Mac or Windows -- you don't normally need to care about whether an app is X11 or native Wayland.
However, the drawback is that with the exception maybe of Weston, one does not simply start up a Wayland compositor. You need to have support for logind seats and that sort of thing. So unless you want to spend an afternoon assembling the components like a piece of flat-pack furniture from Target, you basically need systemd and a distro that bundled those components for you the right way.
Just recently I had to switch back to X11 because Wayland was just awful performance wise, like stuttering and constant fps drop. And this on a what 2023 high quality laptop with standard Ubuntu.
The way Wayland is done is a mistake.
I have switched my machines over to KDE for Wayland support and a bit better overall XP but still love XFCE for what it is.
Xfce is pronounced “ecks-eff-see-ee”. The name Xfce originally stood for “XForms Common Environment”, but since then Xfce has been rewritten twice and doesn't use the XForms toolkit anymore. The name survived, but it is no longer capitalized as “XFCE” and is no longer an abbreviation for anything (although suggestions have been made, such as “X Freakin' Cool Environment”).
The panel is killed on startup.
This could get me looking into sway/Wayland.
The only component that requires major changes is the WM. Otherwise, for the rest of them, it's more about fixing platform specific quirks.
(Ok, we did have to write an embedded compositor library for our panel to use, but... yeah.)