Source: hw-detect
Version: 1.173
Severity: normal
User: [email protected]
Usertags: origin-kali

Dear Maintainer,

the file `hw-detect.finish-install.d/08hw-detect` contains the function
`detect_desktop`, which guesses whether the system being installed is a
desktop.

The guess is simple: it's a desktop if either task-desktop or
xserver-xorg-core is installed. Note that some Debian derivatives (like
Kali Linux) don't install task-desktop, so it's important to also check
another package like xserver-xorg-core.

It used to work well, however xorg is being slowly phased out, and
lately the Kali GNOME installations doesn't have xserver-xorg-core
installed. Maybe it's due to gdm3 that dropped its "Recommends:
xserver-xorg" in version 49.2-3.

So we need a better fallback to detect a Wayland desktop in case
task-desktop is not installed. It seems that libwayland-server0 is a
good candidate for that, it's a dependency of libkwin6, libmutter-18-0,
sway, libwlroot-0.19, phoc, and more.

A merge request is available at:
https://salsa.debian.org/installer-team/hw-detect/-/merge_requests/17

Thanks,

Arnaud

Reply via email to