Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mangowm/mango/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Building Mango from source requires specific versions of wlroots and scenefx, along with development tools.Build Tools
Install the required build tools:Build Dependencies
Mango requires these dependencies (from meson.build):Required Dependencies
Required Dependencies
- wayland (>=1.23.1) - Wayland compositor library
- wayland-protocols - Wayland protocol definitions
- libinput (>=1.27.1) - Input device management
- libxkbcommon - Keyboard handling
- pcre2 - Regular expression library
- pixman - Pixel manipulation library
- wlroots (0.19.x) - Wayland compositor library
- scenefx (>=0.4.1) - Scene graph and effects library
Optional Dependencies
Optional Dependencies
- xorg-xwayland - X11 application support
- libxcb - X protocol C bindings
- xcb-icccm - X window manager utilities
Install Dependencies
Installation Steps
Build and install
Compile and install Mango:This installs:
mango- The compositor binarymmsg- IPC message tool- Desktop files and configuration
Build Options
Mango supports these meson build options:Installation prefix
Enable XWayland support for X11 applications
Enable AddressSanitizer for debugging
Installed Files
The installation creates these files:Configuration
After installation, copy the default configuration to your user directory:~/.config/mango/config.conf to customize your setup.
Updating
To update to the latest version:Uninstalling
To remove Mango:Troubleshooting
pkg-config cannot find wlroots
pkg-config cannot find wlroots
Make sure you installed wlroots 0.19.2 with the correct prefix:If not found, ensure
/usr/lib/pkgconfig is in your PKG_CONFIG_PATH:scenefx not found
scenefx not found
Verify scenefx installation:If missing, rebuild scenefx with the correct prefix.
Build fails with version mismatch
Build fails with version mismatch
Mango requires specific versions:
- wlroots: 0.19.0 or later (0.19.2 recommended)
- scenefx: 0.4.1 or later
- wayland: 1.23.1 or later
- libinput: 1.27.1 or later
Permission denied during install
Permission denied during install
Use Or configure with a user-writable prefix:
sudo for installation:Next Steps
Configuration
Configure Mango to your preferences
Keybindings
Learn default keybindings and create custom ones
