News for hackers. Stuff that matters.
Re:XNU Linux: Full OS X GUI Userspace on Linux by gen2brain on Monday November 23, 2026 @03:06AM (#50608794)
Nice, I like this, though, it still needs Apple hardware. I think I would prefer if someone was to improve GNUstep instead. I always knew that in theory it implements the same APIs, etc. but, in my IUP fork, I managed to have the same Cocoa driver/backend compile for macOS and for the GNUstep on Linux/BSD. The driver is a little polluted with ifdefs for APIs that are not implemented though, and needs some patches, but I think it was still worth it.

With the nice modern theme like Rik, you can have global menu like in macOS, and it looks much nicer than default theme. Improve theme, improve GNUstep and there you have it. You can check the GNUstep sample screenshot at https://github.com/gen2brain/iup-go .

Re:XNU Linux: Full OS X GUI Userspace on Linux by anthk on Monday November 23, 2026 @03:28AM (#50608946)
Re:XNU Linux: Full OS X GUI Userspace on Linux by rbanffy on Monday November 23, 2026 @05:10AM (#50609721)
I think the very minimal tool I'd love to have would be an Xcode plugin that highlights the parts of the code that would not be covered by GNUStep. Very few Mac developers would target GNUStep anyway, but if we persuade them to add an extension that does popularity counting on what is missing and how often it impacts software, we'd have a good measure of where to invest time in GNUSTep.
Re:XNU Linux: Full OS X GUI Userspace on Linux by anurodhp on Monday November 23, 2026 @07:00AM (#50610541)
Pure Darwin is an open source Darwin that is binary compatible with osx

https://puredarwin.org/

Re:XNU Linux: Full OS X GUI Userspace on Linux by viraptor on Monday November 23, 2026 @07:13AM (#50610633)
In theory yes, but it's got lots of missing bits. As far as I know none of the swift works right now - which means the binary compatibility is cool but won't be usable for lots of existing gui apps.
Re:XNU Linux: Full OS X GUI Userspace on Linux by hard_times on Monday November 23, 2026 @07:22AM (#50610696)
Firefox for macOS is running on PureDarwin these days: https://x.com/puredarwin/status/2124247557127680236
Re:XNU Linux: Full OS X GUI Userspace on Linux by deknos on Monday November 23, 2026 @12:09PM (#50615333)
does this create binaries which will work on mac and are buildable in a linux container?
Re:XNU Linux: Full OS X GUI Userspace on Linux by smcameron on Monday November 23, 2026 @07:38AM (#50610806)
> global menu like in macOS

I hate global menus, if by global menu, you mean one main menu at the top of the screen which is controlled by whichever application has focus. If you want to have focus follows mouse, so that the focus is in whatever window the mouse is over (note that focus does not raise the window, because raising the window just because it has focus is insane) then this breaks, because if you move your mouse towards the global menu and it happens to pass over another window, the focus changes, and then the "global" menu changes. Ubuntu tried having this type of global menu back in 2011 or so with Unity, and I left Ubuntu back then because of this and never came back.

Re:XNU Linux: Full OS X GUI Userspace on Linux by 1718627440 on Monday November 23, 2026 @07:53AM (#50610932)
You could activate the menu with the keyboard and not change an active menu.
Re:XNU Linux: Full OS X GUI Userspace on Linux by terhechte on Monday November 23, 2026 @07:59AM (#50610994)
We're all different. The global menu is what I miss the most whenever I try any Linux distribution. I like having the actions available there, so that the window toolbar doesn't have to be packed with buttons. I don't like burger menus, because they're always in different places, they have no hierarchy (the Firefox one looks like a fruit salad), and it is always one additional click. I also don't like per-window menus because they take up space per window (instead of the global menu which takes up the same space once). Finally, I like that it is always in the same space. There's also old studies that show that a global menu is faster to target because of the natural screen limit. Users can move the mouse up very quickly and the movement stops at the global menu / screen edge. With per-window menus, it takes a bit longer.

On the other hand, I've never seen the need for focus-follows-mouse, especially because scroll events, on macOS, support focus-follows-mouse, which is typically my only usecase.

Re:XNU Linux: Full OS X GUI Userspace on Linux by upboundspiral on Monday November 23, 2026 @02:21PM (#50617569)
in KDE you can have global menu - it's a feature I have enabled right now.

They currently work for QT apps, and in chrome/chromium as well (some apps disable it, and GTK apps don't support it).

There is a wayland merge request to formalize some of the functionality across desktops if I understand correctly:

https://gitlab.freedesktop.org/wayland/wayland-protocols/-/m...

Blog from KDE developer with a demo of global menu:

https://pointieststick.com/2025/10/04/a-mac-like-experience-...

Re:XNU Linux: Full OS X GUI Userspace on Linux by pmarreck on Monday November 23, 2026 @10:14AM (#50613180)
The reason why Apple went with global menus in the first place (window-based menus had existed for awhile before then on various X11 implementations) is because in user testing where they asked users to quickly select menu items, they selected the global-menu items much faster because they didn't have to vertically zero in on the menu, just slam mouse forward and horizontally center it on the menu and click.

You will notice on a Mac that clicking even in the first pixel from the top of the screen, when in a menu bar, will select a menu just below it. That's this idea in practice.

If you're mostly a keyboard-input-leaning person, this subtlety is probably lost on you though, but at least Mac had command-keys from the beginning for frequently-used menu items.

Re:XNU Linux: Full OS X GUI Userspace on Linux by whartung on Monday November 23, 2026 @11:40AM (#50614807)
I agree, but today, the File menu is almost 1 foot away from the center of the screen. And I have to turn off the upper left as a hot corner to sleep the machine. With the huge display and smaller font sizes, the target, while "infinitely tall", is still far out of the way.
Re:XNU Linux: Full OS X GUI Userspace on Linux by Wowfunhappy on Monday November 23, 2026 @12:26PM (#50615622)
Do you have mouse acceleration turned off? Even with a large screen, I can rapidly move my cursor in any general direction, as long as I don't need to be precise about where I'm moving.
Re:XNU Linux: Full OS X GUI Userspace on Linux by whartung on Monday November 23, 2026 @12:30PM (#50615695)
No, the tracking is fine. But I still have to crane my neck to look "over there". Just a side effect of having these drive-in movie sized monitors.
Re:XNU Linux: Full OS X GUI Userspace on Linux by xmhdev on Monday November 23, 2026 @03:06PM (#50618370)
A very "my steak is too juicy and my lobster too buttery" kind of problem.
Re:XNU Linux: Full OS X GUI Userspace on Linux by Wowfunhappy on Monday November 23, 2026 @12:25PM (#50615605)
> If you're mostly a keyboard-input-leaning person, this subtlety is probably lost on you though, but at least Mac had command-keys from the beginning for frequently-used menu items.

On the other hand, if you're a keyboard-input person, macOS lets you map or re-map any keyboard shortcut to any menu item in any app, which is super useful! (Unless the app is Firefox which doesn't support this fundamental OS feature for some reason.)

Re:XNU Linux: Full OS X GUI Userspace on Linux by weaksauce on Monday November 23, 2026 @02:05PM (#50617287)
about:keyboard lets you remap keys.
Re:XNU Linux: Full OS X GUI Userspace on Linux by whywhywhywhy on Monday November 23, 2026 @10:49AM (#50613841)
Luckily there’s literally every single OS/DE on the planet (except workbench) for you.

But some of us like the global menu.

Re:XNU Linux: Full OS X GUI Userspace on Linux by jlokier on Monday November 23, 2026 @11:20AM (#50614395)
MacOS uses a nice half-way for focus-follows-mouse.

Keyboard focus is click/alt-tab, and the menu bar follows that.

Mouse/trackpad gestures are focus-follows-mouse, so scrolling, pinch-zooming and panning (e.g. in maps) work on whatever the pointer is over, without changing the keyboard focus to that element or raising the window. In practice this is nice for viewing things, and typing into one place while looking at another. It works well for writing commands in a terminal or coding session, while reading and scrolling a document in another window.

Terminal apps support focus-follows-mouse for keyboard as well, without raising the window. Keyboard input goes to the terminal window under the pointer as the pointer moves around, or the last terminal window it was over, if the terminal app as a whole is focused. This mode is off by default but can be enabled with a command. The two-window method from above, typing in a terminal while scrolling a document/browser with gestures by keeping the pointer over the page, still works in this terminal mode. Linux-style focus-follows-mouse can't do that.

Re:XNU Linux: Full OS X GUI Userspace on Linux by 1718627440 on Monday November 23, 2026 @12:33PM (#50615748)
I didn't know that was macOS specific. My DE (Debian Mate/Gnome2) does it like that as well. Does MS Windows really not behave like that?
Re:XNU Linux: Full OS X GUI Userspace on Linux by jlokier on Monday November 23, 2026 @02:47PM (#50618061)
Thanks for the update. What I said is out of date for current versions of Linux and MS Windows.

Windows changed scrolling of "inactive windows" at version 10. Windows before version 10 doesn't scroll the window under the mouse pointer. Windows >= 10 does, as you've just tested.

Linux desktops scroll the window under the mouse pointer now, and have for a long time. But my memory goes back to when they didn't :-). GNOME before 2.0 and KDE before 2.0 used "imwheel" to convert mouse wheel and trackpad scroll events to keys, which scrolled the keyboard-focus window.

Re:XNU Linux: Full OS X GUI Userspace on Linux by cosmic_cheese on Monday November 23, 2026 @12:42PM (#50615904)
In addition to all of this, native Cocoa apps can be interacted with without changing the focused window or foregrounded app by holding Command and left/right clicking in inactive windows.
Re:XNU Linux: Full OS X GUI Userspace on Linux by jxdxbx on Monday November 23, 2026 @02:01PM (#50617223)
Global menus make so much more sense to me. Not only are per-window menus wasteful of space and kind of unsightly, they blur the difference between an app and a window. With a global menu bar, an app is a thing that can spawn various windows, and closing a window (by default) should not close the app, which can stay open with no windows. On other systems it’s not clear if you’re running two instances of an app, or an app with two windows, for instance. (I also like free-floating palettes.)

The Windows trend of getting rid of menu bars entirely truly bugs me. GUI apps need a browsable directory of available functions which should not all need special buttons and widgets (this is why even iPadOS has finally added a menu bar too, though hidden by default). Command palettes go a long way to providing the same functionality; also long as they are browsable / with subcategories too.

Re:XNU Linux: Full OS X GUI Userspace on Linux by zoobab on Monday November 23, 2026 @09:43AM (#50612549)
"it still needs Apple hardware"

No x64 version?

Re:XNU Linux: Full OS X GUI Userspace on Linux by asveikau on Monday November 23, 2026 @12:38PM (#50615841)
> it still needs Apple hardware.

The README says they also have it running on an NVIDIA DGX Spark.

But the macOS EULA, IIRC, says you need to run it on a Mac. And you need to load macOS binaries for this to work.

Re:XNU Linux: Full OS X GUI Userspace on Linux by 12_throw_away on Monday November 23, 2026 @04:22PM (#50619504)
hackers not abiding by the EULA, smdh, what has the world come to
Re:XNU Linux: Full OS X GUI Userspace on Linux by samtheprogram on Monday November 23, 2026 @03:44PM (#50619004)
[delayed]