Thomas Adam, one of the core developers of FVWM, has been working on CoW for a while now. CoW can best be described as “FVWM for Wayland”, which uniquely uses the River compositor. River, in turn, is unique in that it does not combine the compositor and window manager into a single program, allowing for a more traditional X11-like approach.
Adam released version 0.4 today, which comes with a load of fixes, changes, and minor improvements, as well as one bigger-ticket item: container windows.
This PR introduces the concept of a top-level container window.
This means a window can be subdivided into columns and rows (called panes) and can be resized independently of one another.
The idea for this has been unashamedly stolen from shod.
↫ Thomas Adam
I’ve been keeping an eye on CoW ever since I learned about it when it was first released, and at some point soon I want to build a desktop around it for myself.

That’s kind of neat. I have had this idea about integrating multi-systems where each window can independently render on to a surface (like a virtual screen) would then be streams (think sunshine/moonlight) to another computer. The idea is to add a network window sharing layer on top of the compositor and mix it with Synergy/Barrier/Deskflow, so that you can move what you are working on between systems, as if they are one. There have been various blockers, mostly a lack of necessary hooks in the various Wayland compositors (and those of macos and Windows) to do it, but this seems like it might fit!
CaptainN-,
Sounds like somebody misses X11 network transparency.
I never actually owned a setup like this, but with right right extensions a lot of multiscreen setups were possible.
https://en.wikipedia.org/wiki/Xinerama
@Alfman
Things like Xinerama need to be driven by the compositor in Wayland. KDE with kscreen-doctor is heading there I think. And wlroots has the plumbing that any compositor based on it could leverage. But there is unlikely to be a single tool like Xinerama that brings this capability across the board.
Well…I should not say that. A Wayland compositor is just a Wayland application. You can nest Wayland compositors in each other pretty seemlessly. So, I suppose it would be possible to have a Wayland compositor meant to deliver a Xinerama like experience that then aimed nested compositors at individual screens.
Things like waypipe and wprs could be leveraged to bring network transparency if that is what you are after.
LeFantome,
Yeah. I expect someone will add these features to one compositor, but it’s only going to work for that compositor. It still bugs me that they didn’t solve this fragmentation problem. Users end up with features being specific to a compositor, and developers have to reimpliment features. Maybe some day they’ll refactor wayland to make better use of shared code.
Isn’t Cage meant to help with this idea? Mind you, I think it’s a silly idea in the first place…
@Alfman
To be clear, there are already islands of shared code. First, many solutions like waypipe and wprs work regardless of the compositor. More importantly, there are shared libraries like wlroots, louvre, and smithay. There are many Wayland compositors leveraging wlroots and so most of their Wayland implementation is shared.
In the Wayland world, much of the functionality is actually not in the compositor but in xdg-desktop-portal. Compositors do not have to create their own version of this. For example, Niri uses GNOME’s implementation despite being built on Smithay itself. Most wlroots compositors use xdg-desktop-portal-wlr. Again, all this code is shared.
There is still duplication between wlroots, louvre, smithay, kwin, mutter, etc. As I have said many times, I see this exactly like browser engines. Most people believe it is a good thing that we have Blink (Google), WebKit (Apple), Gecko (Mozilla), L@dyb^rd, Servo, and others. It drives competition and innovation and, as the ecosystem matures, the “fragmentation” is pretty managable. And if you are writing a browser from scratch, you do not have to write an engine yourself. You can just wrap one in your own UI and secret sauce. Most browsers are just Google Chrome under the hood (the Blink engine). So it is with Wayland. Most compositors use wlroots (C/C++) or Smithay (Rust) instead of rolling their own.
The difference is that Wayland is not as mature yet. We are in the “early web” phase where there is enough difference between different implementations that end-users have to manage the complexity and fragmentation. But it will not be too long before it will not matter if your compositor uses wlroots or smithay. Everything will just work.
ThomasAdam,
This?
https://www.hjdskes.nl/projects/cage/
I didn’t see anything here about supporting remote displays..
I don’t really have the need to project to a “another computer” very often, however it depends what that other computer is actually connected to. If it’s connected to a large TV monitor or projector, being able to remotely extend my desktop onto it over a network could actually prove useful for meetings and/or media streaming without having to run an HDMI cable.
Hypothetically it might be nice to also incorporate WiDi or Miracast too, but I’ve never actually seen these working. I don’t know what it would take to incorporate these on a wayland desktop, It would be a shame if these features weren’t wayland compositor agnostic,
@Alfman
Cage is a Wayland compositor designed for kiosks. The primary purpose is to run a single application only and to keep users from accessing or interacting with other things. It is for displaying signage, restaurant menus, PSAs, and stuff like that.
However, one of the features of cage is that it will combine multiple displays into one large Wayland desktop. Imagine a 3×3 matrix of screens for example with the output from a single application showing on them as a single image. So, it is a lot like Xinerama in that respect.
Because a Wayland compositor is just a Wayland application though, the single application that Cage is displaying could be a full nested Wayland dekstop like KDE Plasma or XFCE (via xfwl4). I have not tried it but this may indeed be a solution.
It does not provide the individual screen network transparency though.
@Alfman
If you want Miracast for Wayland, check out swaybeam.
https://github.com/forkline/swaybeamhttps://github.com/forkline/swaybeam
LeFantome,
The issue is that adding new features to wayland typically requires changes to all the compositors. This is the reason behind wayland’s feature fragmentation.
This project doesn’t fit the bill if it doesn’t have network displays. Maybe in the future.
Nice. I wonder if that might be helpful for CaptainN-.
It is tied to the wlroots compositor though. Oh well. I just hope that such gripes are temporary in nature and that over time these features don’t end up perpetually locked to specific wayland compositors.
CDE on Wayland has been updated to CoW 0.4.
https://github.com/jmalcolm137/cde-wayland
If “FVWM for Wayland” is what you are after, Worg has your back:
https://github.com/jmalcolm137/worg
Ugh.
I’ve already made a cde-panel for CoW via cowbuttons, so the rest is kind of immaterial at this point as most of the CDE applications can run just fine under Xwayland, AFAICT.
@ThomasAdam
Two different approaches. In addition to yours being the one people will actually use, they are not really competing with each other given how different the implementaions are.
I am running the actual CDE including all its weird machinery like ToolTalk (an ancient D-bus equivalent). On the one hand, you need this stuff for CDE apps to properly interoperate. On the other hand, your approach of rebuilding the experience on more modern technology is superior in many ways.
My solution eliminates Xwayland completely. There is no X11 anywhere. It is all Wayland native. The magic is in a library that provides a Wayland native implementation of libX11 (Xlib). Everything that runs on top of that is real libXt and real CDE (eg. fully unmodified OpenMotif). Even the panel is umodified dtwm. But the window management side of dtwm does nothing (no X server after all). So CoW serves as the window manager.
You are building a CDE-like experience on Wayland. Awesome!
Mine is literally CDE (the original) on Wayland.