[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2">

Bug #2028818 reported by David Hedlund
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MATE Desktop
New
Unknown
mate-panel (Ubuntu)
New
Undecided
Unassigned

Bug Description

Both GNOME and MATE can be installed on the same distro. Both DEs are installing "$HOME/.config/monitors.xml" via manually configured display GUI preferences:
* GNOME via `$ gnome-control-center display`
* MATE via `$ mate-display-properties`

GNOME's monitors.xml is starting with <monitors version="2">, and that MATE's monitors.xml is starting with <monitors version="1">. They are incompatible, see https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2028469 -- but even if MATE is starting to use version 2, there will certainly come times when both GNOME and MATE is not able to use the same version of monitors.xml in the future. However, it would still be useful to upgrade monitors.xml for MATE in order to use a more modern scheme.

########
Ubuntu MATE 22.04, and 23.04 is monitors.xml with <monitors version="1"> that is looking like this:

```
<monitors version="1">
  <configuration>
      <clone>no</clone>
      <output name="Virtual-1">
          <vendor>???</vendor>
          <product>0x0000</product>
          <serial>0x00000000</serial>
          <width>1600</width>
          <height>900</height>
          <rate>60</rate>
          <x>0</x>
          <y>0</y>
          <rotation>normal</rotation>
          <reflect_x>no</reflect_x>
          <reflect_y>no</reflect_y>
          <primary>yes</primary>
      </output>
      <output name="Virtual-2">
      </output>
      <output name="Virtual-3">
      </output>
      <output name="Virtual-4">
      </output>
  </configuration>
</monitors>
```

############
Ubuntu 22.04, and 23.04 is monitors.xml with <monitors version="2"> that is looking like this:

```
<monitors version="2">
  <configuration>
    <migrated/>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>Virtual-1</connector>
          <vendor>???</vendor>
          <product>0x0000</product>
          <serial>0x00000000</serial>
        </monitorspec>
        <mode>
          <width>1600</width>
          <height>900</height>
          <rate>60</rate>
        </mode>
      </monitor>
    </logicalmonitor>
  </configuration>
  <configuration>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>Virtual-1</connector>
          <vendor>unknown</vendor>
          <product>unknown</product>
          <serial>unknown</serial>
        </monitorspec>
        <mode>
          <width>1600</width>
          <height>900</height>
          <rate>60</rate>
        </mode>
      </monitor>
    </logicalmonitor>
  </configuration>
</monitors>
```

##################

$ ubuntu-bug mate-panel: "This does not seem to be an official Ubuntu package."

David Hedlund (g-public)
affects: ubuntu → mate-panel (Ubuntu)
Changed in mate-desktop:
status: Unknown → New
David Hedlund (g-public)
summary: - [Feature request] mate-display-properties: Please upgrade monitors.xml
- from <monitors version="1"> to <monitors version="2">
+ Use less generic name for monitors.xml to avoid clashing with other
+ desktops
summary: - Use less generic name for monitors.xml to avoid clashing with other
- desktops
+ [Feature request] mate-display-properties: Please upgrade monitors.xml
+ from <monitors version="1"> to <monitors version="2">
David Hedlund (g-public)
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.