You can apparently use Windows 7’s compositor in GNOME, and vice versa – or something

There’s cursed computing, and then there’s cursed computing. It turns out that you can render GNOME’s windows with the compositor from Windows 7, dwm.exe. Yes.

tl;dr of how this clusterfuck works: this is effectively just x11 forwarding an x server from windows to linux. the fun part is a) making gnome run with an already existing window manager (namely dwm.exe lol), b) making gnome run over x11 forwarding (it is Not a fan, last time it tried running gnome on windows this is what broke it and made it quit trying), and c) actually ripping out parts of the gnome compositor again to make dwm instead of gnome render window decorations to achieve ✨️aero gnome✨️

↫ ⬡-49016 at Mastodon

This is already one of the most cursed things I’ve ever seen, but then things got so much worse. How about Windows 7’s dwm.exe, but composited by GNOME?

  • firefox and vscode are rendered by gnome
  • the start menu and gadgets are rendered by dwm, and then composited by gnome
  • ghostty, which literally goes above and beyond the gadgets (which you cannot do by just streaming one compositor to the other), is rendered by gnome
  • and the cherry on top is gnome-control-center, which exclusively runs in gnome sessions, being managed by gnome, rendered by dwm, and composited by gnome again

this is powered by about 7 layers of duct tape and a couple hundred lines of the worst C the world has ever seen

↫ ⬡-49016 at Mastodon

I need an adult.

Leave a Reply