Mainline Shell is a Wayland shell for Linux phones, tablets and desktops. Its own compositor uses wlroots for DRM outputs, input and Wayland protocols. The native desktop and mobile sessions have separate login entries. The shell also runs as a window in an existing Wayland session and shares C rendering and interface components with Mainline Recovery.
The active native preview, its source and its build instructions are on desktop-wayland. The screenshots and status below describe those builds. This branch carries the earlier Sway-based shell.
Desktop · Daylight
Native Arch Wayland session started through SDDM in a QHD KVM guest, with live Files, Settings and VTE Terminal windows. View the same desktop in Graphite.
Mobile · Daylight
Isolated native mobile Wayland session at 360 × 640 logical pixels and 2× output scale. The mobile theme editor previews the draft colours, corners and border on both tiles and list rows. View the theme editor with GPU glass.
| Area | Working in the preview | Still being verified or developed |
|---|---|---|
| Desktop session | Direct Wayland login, top panel and dock, launcher, window overview, display profiles, scale and rotation, maximize, snap, fullscreen and restore. Signed 0.1.8-65 runs in a physical Arch SDDM session with a QHD center display and two portrait Full HD displays. In mixed-scale tests it restores the floating window position after a round trip between QHD at 100% and portrait Full HD at 125%. | Mixed-scale and hotplug tests use isolated sessions. A full qualification on a physical three-monitor setup remains open. |
| Mobile session | Home, Apps, Windows, Panel, touch and keyboard input, rotation, system keyboard for external apps, and power-button locking on a native login. A22x checks cover Files, rotation and the Wi‑Fi and Bluetooth pages. On a physical A22x, the native display provider reported DSI-1 at 1080 × 2408, 60 Hz and 2× scale, with a 90 Hz mode also available. On a physical OnePlus 15 with Adreno 840, the 40d7933 Termux:X11 preview reached Home at 1272 × 2772. All four Favorites have rounded shadows in Daylight with Balanced effects. View the portrait window captured on the phone. |
Hardware Wi‑Fi association, Bluetooth pairing, and frame pacing are still being verified. The tall OnePlus Home layout leaves open space below Search. Android foreground focus remains unverified. |
| Built-in apps | Files with desktop and mobile layouts, a VTE terminal with a PTY, Browser navigation and downloads, local media playback, and theme settings. Inline and fullscreen Browser video and pasting plain text into focused web form fields passed in an isolated native mobile session. | Browser fullscreen on physical phones and complete visual coverage of the desktop and mobile designs are still being verified. |
| System integration | Wi‑Fi credentials and Bluetooth pairing dialogs tested with private services, PipeWire sound routing, notifications, and an i3/Sway shortcut importer with conflict diagnostics. | Radio and sound controls depend on the installed services and devices. The shortcut importer supports a subset of i3/Sway commands. |
In the Arch 0.1.8-64 preview, the dock blurs the application beneath it on GLES2. The screenshot shows a live VTE window in an isolated native Wayland session. View the dock above Terminal.
Daylight, Aurora, Graphite and AMOLED are built in. Aero is an external theme import. The desktop and Home overviews were captured on the Arch 0.1.8-60 preview. The theme editor and Updates button were captured in isolated Wayland sessions during development of the subsequent previews.
A C compiler, Make, pkg-config, Wayland client and protocols, xkbcommon, Pango/Cairo, AT-SPI/ATK, GTK 3, zstd, FFmpeg and ALSA are needed to build. The package recipes list exact dependencies for the supported distributions.
make -j
./ui/mainline-shell --wayland --shell-helper "$PWD/shell/desktop.py" --gpu "$PWD/ui/mainline-shell-glass-gpu"
For a system install, prefer a package for your distribution. From source, run sudo make install after the build to install under /usr/local. A package maintainer can stage the same files with make install DESTDIR=/absolute/staging/root PREFIX=/usr. Choose Mainline Shell in your graphical login screen or run mainline-shell-session as a regular user from a local TTY.
Session, hardware integration and tests · Native packages and signed repositories · Source and licenses
Home, Apps, Windows and Panel are available from the bottom navigation. Home opens pinned tools and resumes recent tasks. In Files, use a row menu or long press to select items, then use Copy or Move and paste into the destination folder. Move uses an atomic rename within a filesystem. The Files menu also opens the available volumes.
Settings groups the controls by task. In Appearance, choose a theme from the previews and use Undo to return to the previous theme. The SDDM sign-in theme can be selected on systems that run SDDM with a Qt 6 Wayland greeter. Session and sign-in setup
In the native Arch x86_64 preview, open Updates in the bottom dock, then choose Install update. The panel shows the running, installed and latest signed versions. Installation runs as your desktop user. The current session keeps its windows open. Save your work and sign out and back in when you want to start the new compositor. See the dock button.
The signed native Arch preview package is mainline-shell-desktop. The earlier shell on this branch uses mainline-shell. Follow the signed channel instructions for your distribution and architecture. Existing Mainline Recovery releases and channels remain available. Mainline Shell package channel · Legacy package channel · Releases

