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

System-wide mango configuration files are in /etc/mango/config.conf/ while user configuration files are in ~/.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/ This 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-git), 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 automaticlly 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