Use less generic name for monitors.xml to avoid clashing with other desktops
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mutter |
New
|
Unknown
|
|||
mutter (Ubuntu) |
Opinion
|
Wishlist
|
Unassigned |
Bug Description
* "$HOME/
* Both GNOME and MATE can be run on the same distro, which causes compatibility issues with monitors.xml: monitors.xml in Ubuntu 22.04, and 23.04 (GNOME) is starting with `<monitors version="2">`, while in Ubuntu MATE 22.04, and 23.04 it is starting with `<monitors version="1">`
* The monitors.xml file name for MATE is defined at https:/
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-
#### Actual behaviour
monitors.xml in Ubuntu 23.10, 23.04, and 22.04:
```
<monitors version="2">
<configuration>
<logicalmon
<x>0</x>
<y>0</y>
<
<
<monitor>
<mode>
</mode>
</monitor>
</logicalmo
</configuration>
</monitors>
```
monitors.xml in Ubuntu 22.04 (with ubuntu-mate-desktop installed), or 23.04 (with ubuntu-mate-desktop installed):
```
<monitors version="2">
<configuration>
<migrated/>
<logicalmon
<x>0</x>
<y>0</y>
<
<monitor>
<mode>
</mode>
</monitor>
</logicalmo
</configuration>
<configuration>
<logicalmon
<x>0</x>
<y>0</y>
<
<
<monitor>
<mode>
</mode>
</monitor>
</logicalmo
</configuration>
</monitors>
```
monitors.xml in Ubuntu MATE 22.04, Ubuntu MATE 23.04, ubuntu-mate-desktop from Ubuntu 22.04, or ubuntu-mate-desktop from Ubuntu 23.04:
```
<monitors version="1">
<configuration>
<
<output name="Virtual-1">
<x>0</x>
<y>0</y>
</output>
<output name="Virtual-2">
</output>
<output name="Virtual-3">
</output>
<output name="Virtual-4">
</output>
</configuration>
</monitors>
```
#### Steps to reproduce the behaviour
Steps I used to reproduce the issue in Ubuntu 22.04 with ubuntu-mate-desktop installed:
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-
* Log out, and log in to MATE.
* Run `$ mate-display-
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, the screen resolution (1600x900 configured in MATE) not used by GNOME (https:/
* Run `$ gnome-control-
* Log out from GNOME. From the display manager, log into MATE.
* As you can see, the screen resolution (1600x900 configured in GNOME) not used by MATE (https:/
MATE does not generate a backup file of monitors.xml if you run the above steps and starting with MATE first.
# MATE general version
1.26.0
# Package version
1.26.0
# Linux Distribution
Ubuntu MATE 22.04, Ubuntu 22.04
## Links to bug reports
[Feature request] mate-display-
GNOME https:/
MATE https:/
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-
ProcVersionSign
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Jul 24 01:24:22 2023
InstallationDate: Installed on 2023-04-17 (97 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
SourcePackage: gnome-control-
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- monitors.xml is incompatible with MATE (and vice versa) + Use less generic name for monitors.xml to avoid clashing with other + desktops |
description: | updated |
description: | updated |
Changed in mutter (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in mutter: | |
status: | Unknown → New |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
I've always thought the generic name is useful because it potentially allows multiple desktop environments to share a single layout... Assuming that didn't break any of them.
Regardless, this isn't the place to discuss such a change. The discussion should stay in https:/ /gitlab. gnome.org/ GNOME/mutter/ -/issues/ 2919