Linux · GNOME · 2026
Selawi Island
CallsA Google Meet call with a timer, Mute and Unmute, and Leave. MediaYouTube playing in the browser, with play and pause controls. DownloadsA browser download with progress and a Done state. BatteryA charging bubble with the battery level when you plug in.
The settings app
A GTK settings app for changing how the island behaves and what it watches, and for checking that everything is running.
Agentic engineering
I plan each project in a long conversation with an AI assistant, which writes up what we settle as a brief. Claude Code builds from that brief while I test, change scope and steer. How I work.
What I owned
- The idea, the feature set and what to leave out
- The plan: a long brainstorm with an AI assistant, turned into a written brief
- Agreeing the architecture, stack and rules in the brainstorm
- Reshaping scope as it came together: features added, changed and cut
- Testing on real devices and in daily use
What the agent did
- Building from the brief, phase by phase
- Writing the code, the tests and the documentation
- Fixing what testing turned up
Selawi Island is a small black pill at the top of the screen that shows what's happening right now: calls, music, downloads, Bluetooth devices, battery, Wi-Fi changes, notifications and system updates. Click it and it expands into details and controls such as Mute, Leave and Pause. It's the iPhone's Dynamic Island, rebuilt for GNOME on Linux.
It has four main parts: a Rust background service (daemon) that collects the events and decides what to show, a GNOME Shell extension that draws the pill, a GTK settings app for configuring it, and a Chrome and Firefox extension that reads the media players and tabs in the browser so the pill can show them with each site's icon. A command-line tool feeds it more events.
It ships as an Arch package with no accounts, cloud or hosting. The roadmap has fourteen phases. The last two (other Linux distributions, then Windows and macOS) are marked not planned, which was my call. The first twelve are built and in daily use.
1. A background service, not a fat extension
The quick version puts all the logic inside the GNOME Shell extension. The design rejects that: logic in the shell is hard to test, dies with every shell restart, and can't easily accept events from anything else. Instead the Rust service, selawi-islandd, owns a single event store and exposes it on D-Bus as com.selawi.Island. The extension only draws what the service tells it.
The D-Bus API is split into versioned interfaces (Core1, Events1, Integrations1, Configuration1, Plugins1) that never change incompatibly, so plugins and tools can rely on them. Underneath is a pure Rust core with no platform code: event model, validation, eight priority tiers, expiry and grouping. The Rust and JavaScript validators read the same fixture file, so they can't drift apart.
Events come in from many places. System integrations listen to MPRIS, UPower, BlueZ, NetworkManager, UDisks2, desktop notifications and pacman hooks, each as its own supervised task. A CLI covers notify, progress and run. A browser extension reports calls and media from Chrome and Firefox tabs.
2. Standards over scrapers
Call controls began as site-specific code. After the real Google Meet page was confirmed to report its microphone, camera and controls through the Media Session API, that code was replaced by the standard actions (togglemicrophone, hangup). Meet is now an ordinary web call, so any site that uses the standard gets Mute and Leave, and there's no per-site scraper to break.
The same principle runs through the whole project: never invent data. If a site doesn't report its mic state, the island doesn't guess one. Battery only shows when the device reports it.
3. Plugins have to ask first
Other apps can add their own bubbles through Python and Rust SDKs, but nothing appears until the user allows the plugin. Each plugin gets its own namespace, its events are sealed with its real name and icon so it can't impersonate another app, it's rate-limited to 10 events a second and 8 active events, and its buttons route back only to itself.
Seeing inside the browser
By itself, GNOME can only tell that Chrome is using the microphone or playing something. It can't tell which site, whether you're in a call, whether you're muted, or which tab the music is in. The Chrome and Firefox extension fills that gap. It runs quietly in every page and reports what matters through a small helper program installed with the island.
- Calls. It notices when any site starts a real call, such as Google Meet, Slack, Teams, Zoom or Discord. The island shows a call bubble with the site's name and logo, a timer and voice waves. Where the site supports the browser's standard call controls, the bubble also shows whether you're muted or have your camera on, with Mute and Leave buttons that work like the site's own.
- Media. YouTube, YouTube Music and SoundCloud each get their own bubble per tab, with the song, the artist and play, pause and next controls, and with ads hidden.
- Downloads. Shown with progress and a Cancel button.
- Microphone. When a site uses the mic, the bubble names that site instead of just “Chrome”.
It's built to be private. It never reads chats, participant names, audio or video, and for downloads it sends only the file name. The helper accepts nothing but browser events and never runs commands. That's why the island can show browser calls and media as clearly as desktop apps.
Reproduce first, then fix
Wi-Fi status occasionally stuck at "Offline". Turning Wi-Fi on floods the system bus with access-point signals; zbus stops reading a connection when its signal queue is full, so the NetworkManager reply queued behind that flood never arrived and the call deadlocked. The bug was reduced to a test first: a fake NetworkManager sends 400 signals, and the test hangs on the old code and passes on the new. The fix, subscribing only to the signals that matter and reading them in a separate task, was then applied to the media players too.
Quality bar
- About 180 automated tests: Rust unit tests, Node.js tests, integration tests against fake system services on a private D-Bus, and a Playwright run in real Chromium.
- The idle background service uses no measurable CPU and about 5.5 MB of memory in a release build.
- Throttling change signals to once every 50 ms cut redraws for a burst of 5,000 events from 5,000 to 10.
Stack. Rust, tokio, zbus, D-Bus, GNOME Shell, GJS, GTK 4, TypeScript, systemd.
Questions about this project? Email me.