regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.48k stars 31 forks source link

Regolith3: Regolith-Settings->Displays does not show all screens #928

Closed gogsbread closed 8 months ago

gogsbread commented 8 months ago

Describe the bug Regolith Settings does not show all the displays after choosing a monitor with "Single Display" option.

To Reproduce

Expected behavior

Screenshots working working not-working not-working

Configuration file(s) Monitoring the d-bus, dbus-monitor --session "sender='org.gnome.Mutter.DisplayConfig'", it shows that in a mutter session, the dbus response has the "built-in Display" whereas the one in Regolith session does not. regolith-dbus.txt mutter-dbus.txt

Additional context I have a feeling something is trying to apply a different profile and hence it is missing this information. It is weird because no matter what "Single Display" I choose, laptop built-in or external monitor, it always seems to pivot to the external monitor.

gogsbread commented 8 months ago

Ok monitoring journalctl -f I see a log line Oct 21 23:26:08 <user> regolith-wayland.desktop[44603]: no profile matched.

So, somebody is trying to load some profile and they are failing. I'll try to debug this more when I have time later

kgilmer commented 8 months ago

CC @SoumyaRanjanPatnaik .. From the poster's notes, this is a sway session. is this from the kanshi dependency?

SoumyaRanjanPatnaik commented 8 months ago

I think this is happening because regolith-displayd only returns the list of active mobitors via the dbus interface. I'll try to come up with a fix for this. I'll probably have to figure out how mutter reports monitors that are connected but disable

SoumyaRanjanPatnaik commented 8 months ago

https://github.com/regolith-linux/regolith-displayd/commit/c4ebc881bd58a2ed4cbe2717e29d9430f117db4b and https://github.com/regolith-linux/regolith-displayd/commit/aa3d572a3cf96f42a08bb68ac37574f4de748ba9 should fix this. The changes should ideally be available in the next beta of Regolith 3.1