Skip to content

MangoWM

MangoWM is a minimal Wayland compositor focused on simplicity and performance.

Install MangoWM with moss:

Terminal window
sudo moss package add mangowm

After installation, select the MangoWM session from your display manager or start it from a Kmscon TTY.

Terminal window
kmscon-launch-gui mango

aerynOS uses a stateless configuration approach that keeps system-managed defaults separate from user customizations. User-specific Bash or Zsh configuration files should be placed in ~/.bashrc.d/ or ~/.zshrc.d/ respectively, where they are automatically sourced during shell initialization(Therefore, no shebang is required). These can carry any name, but must end in .*sh. Examples: mango.sh & start.bash or mango_start.zsh if you are using Zsh as your login shell. This allows customization’s such as starting MangoWM to be maintained independently, without modifying system-wide configuration files or replacing the default shell configuration.

Terminal window
# mango_start.sh:
# Starts MangoWM after Kmscon TTY login.
# $- and TERM_SESSION_TYPE limit this to only interactive Kmscon sessions.
# Also skips on already existing Wayland sessions and SSH logins.
# pgrep prevents autostarting a second MangoWM instance on another TTY.
if [[ $- == *i* ]] &&
[ "$TERM_SESSION_TYPE" = "kms" ] &&
[ "$XDG_SESSION_TYPE" = "tty" ] &&
[ -z "$WAYLAND_DISPLAY" ] &&
[ -z "$SSH_CONNECTION" ] &&
! pgrep -x mango >/dev/null 2>&1; then
exec kmscon-launch-gui mango
fi

Refer to the official Mango documentation: