Allow pre-installed Mango compositor on Ubuntu

オープン 初心者向け
#4,396 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
go, linux, ubuntu
領域
cli, tooling

調査の方向性

internal/tui/views_selection.go の windowManagerChoices() から始めてください。ここでは、パッケージのマッピングが存在しないため、Debian/Ubuntu/SUSE で Mango が現在除外されています。この除外を導入した行については commit 39b0d408 を確認してください。他のコンポジタが PATH 内に既存のバイナリがあるかをテストするために utils.CommandExists をどのように使っているかを確認し、"mango" についてもそのパターンを踏襲してください。完了とは、それらのディストリビューションで /usr/bin/mango が存在するときに Mango が選択メニューに表示される一方で、Mango が見つからない場合の自動インストール制限は現状のままであることを意味します。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
QML
スター
8.4k
フォーク
549
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AvengeMedia/DankMaterialShell のほかの issue

AvengeMedia/DankMaterialShell の issue をすべて見る

似ている issue

CLI の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。