Allow pre-installed Mango compositor on Ubuntu
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start in internal/tui/views_selection.go at windowManagerChoices(), where Mango is currently filtered out on Debian/Ubuntu/SUSE because no package mapping exists; look at commit 39b0d408 for the line that introduced that exclusion. Check how other compositors use utils.CommandExists to test for an existing binary in PATH, and mirror that pattern for "mango". Done means Mango shows up in the selection menu when /usr/bin/mango exists on those distributions, while the automatic-install restriction for a missing Mango stays as it is.
Written by the indexing model from the issue text.
Description
Feature Description
Allow Mango to appear in the compositor selection menu on Debian, Ubuntu and SUSE when the mango executable is already installed and available in PATH.
Currently, Mango is excluded unconditionally on these distributions because Dux has no package mapping for it.
The installer should distinguish between installing a compositor and detecting an already installed compositor. Users who compile Mango from source should still be able to select it.
(I am a non-native English speaker, I took some help from AI to formulate myself in English)
Use Case
I use Ubuntu 26.04 on several machines with Mango as my compositor.
I compile Mango from source and install the binary as /usr/bin/mango before running the Dux installer.
This worked in previous versions of Dux (formerly DankMaterialShell). Mango appeared in the compositor selection menu, and Dux correctly detected that Mango and other dependencies were already installed.
Since commit 39b0d40877f277ec693105415ff9c6d240a42436 (October 8, 2026), Mango is no longer offered on Ubuntu.
Allowing the installer to detect and offer an existing Mango installation would restore the previous functionality.
Compositor(s)
MangoWC (dwl)
If Other, please specify
No response
Proposed Solution
Modify windowManagerChoices() in internal/tui/views_selection.go to check whether the mango executable exists using utils.CommandExists("mango").
If Mango is already installed, include it in the compositor selection menu even on Debian, Ubuntu and SUSE.
Keep the current restrictions for automatically installing Mango on these distributions when it is not already present.
This would allow users to compile Mango from source without requiring Dux to provide native package support.
Alternatives/Existing Solutions
No response
- Dominant language
- QML
- Stars
- 8.4k
- Forks
- 549
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AvengeMedia/DankMaterialShell
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AvengeMedia/DankMaterialShell#4490 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
AvengeMedia/DankMaterialShell#4481 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
AvengeMedia/DankMaterialShell#4465 ·
-
Enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AvengeMedia/DankMaterialShell#4456 · 2 comments ·
-
Enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
AvengeMedia/DankMaterialShell#4452 ·
All issues in AvengeMedia/DankMaterialShell
Similar issues
-
Needs Triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Support FORCE_COLOROpenenhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
bug release-blocker
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
tonydzi/sqlite-graph-memory#133 · 1 comment ·
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 82/100