Home / Blog / 9/UX: a Macintosh-inspired desktop for 9front
Tech News

9/UX: a Macintosh-inspired desktop for 9front

This report examines the architecture of 9/UX, its integration with existing Plan 9 applications, and how developers interact with its modular services.

By Dillip Chowdary • Nov 29, 2026 • Source: progrium.github.io

9/UX: a Macintosh-inspired desktop for 9front
Illustration · Pexels

At a glance

Product
9/UX
Developer
Jeff Lindsay
Current version
v0.1
License
MIT license
Target OS
9front
Demo size
about 23 MB

Jeff Lindsay introduced 9/UX, an open-source graphical environment that marries classic Macintosh and A/UX desktop conventions with the distributed operating system principles of 9front. Detailed in progrium.github.io's report, the system provides a spatial desktop, global menu bar, and direct-manipulation interface without relying on Apple binary emulation or proprietary code. Instead, the project renders its interface via native 9front subsystems while exposing all graphical state, menus, and controls as synthetic files through the 9P protocol.

This report examines the architecture of 9/UX, its integration with existing Plan 9 applications, and how developers interact with its modular services. The project is aimed at operating system enthusiasts, Plan 9 researchers, and interface designers exploring alternatives to modern monolithic desktop environments.

01Spatial direct manipulation meets nine p files

The core design philosophy of 9/UX blends the spatial desktop metaphor of the classic Macintosh with Plan 9's foundational rule that every resource must appear as a file. Rather than constructing a private windowing server or an emulator layer, 9/UX uses rio and libdraw for on-screen rendering while serving every application's user interface hierarchy over 9P. Namespaces determine the runtime environment for programs, the standard plumber utility routes documents to appropriate handlers, and ndb flat files manage human-readable configuration data.

Existing 9front utilities remain first-class participants on the system rather than running inside an isolated compatibility box. Traditional rio applications like acme, sam, command shells, and nested rio sessions execute side by side with new 9/UX programs on the same display. Developers can manipulate any graphical element directly from the rc shell by writing string commands to synthetic control files, bridging scriptable automation with spatial window management.

02Extended window server and modular daemons

System components are split across distinct daemons that plug into 9front's namespace hierarchy. A dedicated fork of the window manager, invoked with the -u flag, provides the base desktop layer, title-bar window chrome, a drag broker, and a focused-app global menu bar under the /dev/ux path. When launched without the -u flag, the binary behaves as standard rio, ensuring backward compatibility with unextended setups.

Command
/dev/ux Window manager chrome, menus, and drag broker
/mnt/ux Aggregated control trees exposed across applications
/mnt/res Classic icon, dialog, string, and menu resources

Application controls and resource pipelines run through helper services that maintain separate operational boundaries. The libux library acts as an application toolbox for windows, alerts, and menus, while the uxd daemon aggregates all running control trees at /mnt/ux according to per-app policies. Complementing this structure, uxmeta handles window layout and volume settings in ndb files, resfs serves classic resource formats like ICN# and icl8 at /mnt/res, and clipd synchronizes a typed clipboard with the native rio snarf buffer.

Advertisement

Tech Pulse Daily

Get tomorrow's pulse first

Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.

03Native development workflow and automated verification

Building and testing 9/UX avoids full virtual machine emulation by relying on h9, an execution harness that runs 9front compilers, the mk build tool, and rio directly from host hypervisors. Developers compile the code on the host shell and run test sequences against headless display buffers. The testing pipeline injects synthetic mouse clicks and keyboard events while simultaneously writing to 9P control files, comparing generated screen frames directly against golden test images.

  1. Clone repository git clone https://github.com/progrium/9ux
  2. Enter directory cd 9ux
  3. Compile binaries scripts/h9.sh --rc 'mk'
  4. Launch graphical session scripts/h9.sh --gfx rio/7.out -u
  5. Run test suite scripts/test.sh

04Color palette and spatial window management

The visual styling borrows structure from classic Macintosh operating systems while sampling colors directly from Plan 9's existing software suite. Title bars use a butter yellow derived from rio's selection highlighting, dialogs incorporate cream and olive tones from acme, and the desktop canvas adopts rio's signature greygreen background. This unified sixteen-color palette allows legacy terminal windows and new spatial folders to share a single screen without visual discord.

Desktop folders open as spatial windows that retain their positions, sizes, and presentation states across sessions. File volumes appear as root desktop icons, supporting local storage as well as remote file trees mounted over 9P network connections. Double-clicking any file icon triggers the plumber to inspect the file type and spawn the designated editing tool, while standard context actions like Get Info, duplicate, rename, and Trash provide familiar file organization.

Note: The 9/UX software is currently published as an experimental v0.1 release under active development, meaning file protocols, internal interfaces, and desktop behaviors remain subject to breaking changes without notice.

05Browser demonstration and platform availability

A live demonstration compiled for 386 architectures allows prospective users to test the desktop directly inside modern web browsers. The demonstration packages the rio fork, the spatial Desktop utility, and a sample application into an in-page 386 emulator powered by h9. The browser sandbox requires approximately 23 megabytes of transfer bandwidth on initial load, runs entirely on the local client without external network telemetry, and supports mouse mapping where Alt-click serves as button 2 and Ctrl-click or right-click serves as button 3.

The browser demo operates fully in recent releases of Google Chrome and Microsoft Edge, while alternative browsers receive a static visual frame recorded from the automated test harness. For native hardware execution, 9/UX targets 9front and runs in QEMU environments with 32-bit-per-pixel VESA framebuffers, using rio/7.out binaries on 386 and rio/6.out on amd64 architectures. The code repository is distributed on GitHub under the permissive MIT license, featuring a menu-bar Glenda icon drawn by Dan Fessler based on Renée French's original Plan 9 mascot.

Frequently asked questions

What is 9/UX?

It is an open-source spatial desktop environment for 9front that combines classic Macintosh interface conventions with Plan 9 file abstractions.

Does 9/UX emulate the classic Mac OS operating system?

No, it is not an emulator or Macintosh ABI, but a native implementation using rio, libdraw, and 9P synthetic files.

How can users try 9/UX without installing 9front?

Users can run a 23 MB in-browser 386 emulation demo powered by h9 in recent releases of Google Chrome or Microsoft Edge.

How do programs expose their controls in 9/UX?

Applications use libux to expose windows, menus, and buttons as 9P file trees gathered under /mnt/ux, allowing control via shell scripts.

Sources

Dillip Chowdary

Author

Dillip Chowdary

Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.

Related on Tech Bytes

Advertisement

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →