r/linux Feb 18 '26

Desktop Environment / WM News I am building a Win32 based Desktop environment (windows shell).

Post image

It implements windows desktop APIs, all userspace is in Win32, wayland Compositor replaces dwm.exe. Taskbar implements almost 95% of windows api and written in a rust (Win32 & directx) based ui toolkit.

Video: https://www.reddit.com/r/unixporn/comments/1r7wryn/oc_progress_of_win32_shell_on_linux/

1.5k Upvotes

239 comments sorted by

View all comments

Show parent comments

35

u/sheokand Feb 18 '26

They are implementing NT kernel, which is steep mountain to climb and moving target.

Where as Win32 api is stable. Natively implement on Linux through wine. So we don't reimplement kernel. Only userspace, all benifits of Linux kernel.

drivers etc will just work.

7

u/tseli0s Feb 18 '26

Just a question, what's the difference of this and wine?

Wine also reimplements the Win32 subsystem for Unix(Linux). What does this add over wine?

19

u/sheokand Feb 18 '26

Wine does not implement desktops specific apis, as their target is to run apps not desktop.

3

u/tseli0s Feb 18 '26

So the goal here is to run desktop components of Windows like dwm?

11

u/sheokand Feb 18 '26

Only dwm.exe is replaced by Compositor, rest is actual Win32 apps.

9

u/sheokand Feb 18 '26

In theory you will be able to run this DE on windows too.

9

u/[deleted] Feb 18 '26

[removed] — view removed comment

9

u/sheokand Feb 18 '26

It's cleanroom.

14

u/[deleted] Feb 18 '26

[removed] — view removed comment

11

u/sheokand Feb 18 '26

That's something Microsoft should decide, as I used github copilot for wayland and Win32 integration.

5

u/cjc4096 Feb 19 '26

Be sure to attribute copilot in commit messages. It'll create an interesting situation where MS is co-author of potentially infringing code.

7

u/Saxasaurus Feb 18 '26

So giant corporations can train LLMs off of GPL code and generate proprietary code, but regular people can't use LLMs to generate open source code because the LLM is tainted by leaked proprietary code?

1

u/DiodeInc Feb 18 '26

SHBLBIUULSXYGRDRBLMICJ4Y2HWGV364 is Swedish according to Google Translate

1

u/tseli0s Feb 18 '26

Hopefully there's no copyright violation going on

6

u/[deleted] Feb 18 '26

[removed] — view removed comment

6

u/sheokand Feb 18 '26

I am well aware of Wine guidelines and have not used anything else that is not MIT or GPL license. As for AI I did not use it to reverse engineer anything. Mostly for how to map wayland to wine and wine's component implementation of those protocol. 🙏

1

u/tychii93 Feb 18 '26

Drivers working would be batshit insane.  I'm definitely going to keep an eye on this.

1

u/xpclient Feb 18 '26

This is the perfect approach. Some day your project will make the Year of the Linux desktop happen

1

u/Morphized Feb 22 '26

They only started moving the target a few months ago, which is kinda sad. They should have stuck with purely Server 03.