Mir documentation

Mir is an open-source C++ library for building custom Wayland compositors. It provides reusable components for graphics, input, window management, and application communication, so developers can start with a working compositor and customize the parts that are specific to their product instead of building everything from scratch.

Mir is used in graphical environments ranging from embedded and kiosk displays to desktop compositors. Some highlights include Ubuntu Frame, Lomiri, Miracle-WM, and Miriway.

In this documentation

Get started and build a compositor

Run and configure a Mir compositor

Understand Mir and its platforms

Develop and contribute to Mir

How this documentation is organised

The documentation follows the Diátaxis framework. The tutorials guide you through learning Mir; how-to guides help you complete specific compositor-development tasks; reference provides API and system details; and explanations discuss concepts and design. Separate configuration documentation is aimed at people running Mir-based compositors, while the contributor documentation covers developing and maintaining Mir itself.

Project and community

Mir is an open-source project in the Ubuntu family, supported commercially by Canonical. It welcomes community projects, contributions, suggestions, fixes, and constructive feedback.

Get involved

Releases and contact