Jump to content

Mangowc

From ArchWiki

mango is a modern, lightweight, high-performance Wayland compositor built on dwl — crafted for speed, flexibility, and a customizable desktop experience.

Installation

Install the mangowcAUR package.

Alternatively mangowc-wlonly-gitAUR depends on wlroots-gitAUR which supports individual window capture but not scenefx.

Starting

Select mango from the menu in a display manager of choice.

LXQT

LXQt#Wayland Session

Configuration

The system-wide mango configuration file is /etc/mango/config.conf while user configuration is ~/.config/mango/config.conf:

Creating the configuration file

First, run the following to create the directory needed in the next step:

$ mkdir -p ~/.config/mango/

Whenever started, mango will attempt to use whatever custom settings are contained in ~/.config/mango/config.conf, then fall back to /etc/mango/config.conf. The user configuration file is not created by default, so we must copy the template file first:

$ cp /etc/mango/config.conf ~/.config/mango/

Autostart

Add an exec-once command in ~/.config/mango/config.conf file to execute a command at startup. For example:

exec-once=waybar

Using an exec command instead will ensure that the command is also run whenever mango is restarted.

Screen sharing

To setup screen sharing install the xdg-desktop-portal-wlr package (or xdg-desktop-portal-wlr-gitAUR for mangowc-wlonly-gitAUR), then update the environment with an autostart command:

~/.config/mango/config.conf
exec-once="dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=wlroots"

If the portal does not start automatically try autostarting /usr/lib/xdg-desktop-portal-wlr as well.

Troubleshooting

Fixing misbehaving Java applications

See Java#Gray window, applications not resizing with WM, menus immediately closing.

See also