2023-07-23 23:27:45 |
David Hedlund |
bug |
|
|
added bug |
2023-07-23 23:31:42 |
David Hedlund |
description |
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
MATE's monitors.xml:
```
<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>
```
#### Steps to reproduce the behaviour
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`
The screen resolution is used directly (no need to log out). However, when you switch to the other desktop environment, the screen resolution is reset because their setup in monitors.xml is different.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
MATE's monitors.xml:
```
<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>
```
#### Steps to reproduce the behaviour
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`
The screen resolution is used directly (no need to log out). However, when you switch to the other desktop environment, the screen resolution is reset because their setup in monitors.xml is different.
## Links to bug reports
GNOME https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2579
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2023-07-24 15:51:51 |
David Hedlund |
summary |
monitors.xml is incompatible with MATE (and vice versa) |
Use less generic name for monitors.xml to avoid clashing with other desktops |
|
2023-07-25 22:32:49 |
David Hedlund |
description |
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
MATE's monitors.xml:
```
<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>
```
#### Steps to reproduce the behaviour
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`
The screen resolution is used directly (no need to log out). However, when you switch to the other desktop environment, the screen resolution is reset because their setup in monitors.xml is different.
## Links to bug reports
GNOME https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2579
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
MATE's monitors.xml:
```
<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>
```
#### Steps to reproduce the behaviour
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`
The screen resolution is used directly (no need to log out). However, when you switch to the other desktop environment, the screen resolution is reset because their setup in monitors.xml is different.
## Links to bug reports
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2023-07-25 22:33:23 |
David Hedlund |
description |
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
MATE's monitors.xml:
```
<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>
```
#### Steps to reproduce the behaviour
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`
The screen resolution is used directly (no need to log out). However, when you switch to the other desktop environment, the screen resolution is reset because their setup in monitors.xml is different.
## Links to bug reports
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
MATE's monitors.xml:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2023-07-26 05:32:59 |
Daniel van Vugt |
affects |
gnome-control-center (Ubuntu) |
mutter (Ubuntu) |
|
2023-07-26 05:33:07 |
Daniel van Vugt |
bug watch added |
|
https://gitlab.gnome.org/GNOME/mutter/-/issues/2919 |
|
2023-07-26 05:33:07 |
Daniel van Vugt |
bug task added |
|
mutter |
|
2023-07-26 05:34:57 |
Daniel van Vugt |
mutter (Ubuntu): status |
New |
Opinion |
|
2023-07-26 05:35:02 |
Daniel van Vugt |
bug |
|
|
added subscriber Daniel van Vugt |
2023-07-26 05:39:26 |
Daniel van Vugt |
mutter (Ubuntu): importance |
Undecided |
Wishlist |
|
2023-07-26 12:12:01 |
Bug Watch Updater |
mutter: status |
Unknown |
New |
|
2023-07-26 14:34:48 |
David Hedlund |
bug watch added |
|
https://github.com/mate-desktop/mate-control-center/issues/712 |
|
2023-07-26 15:19:07 |
David Hedlund |
description |
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
MATE's monitors.xml:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
Disclaimer: GNOME's monitors.xml is starting with <monitors version="2">, and that MATE's monitors.xml is starting with <monitors version="1">
GNOME's monitors.xml:
```
<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>
```
MATE's monitors.xml:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2023-07-27 03:53:24 |
David Hedlund |
description |
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
Disclaimer: GNOME's monitors.xml is starting with <monitors version="2">, and that MATE's monitors.xml is starting with <monitors version="1">
GNOME's monitors.xml:
```
<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>
```
MATE's monitors.xml:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
* GNOME's monitors.xml is starting with <monitors version="2">, and that MATE's monitors.xml is starting with <monitors version="1">
* The monitors.xml file name is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
MATE's monitors.xml:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2023-07-27 04:33:46 |
David Hedlund |
description |
* GNOME's monitors.xml is starting with <monitors version="2">, and that MATE's monitors.xml is starting with <monitors version="1">
* The monitors.xml file name is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
MATE's monitors.xml:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
* GNOME's monitors.xml is starting with <monitors version="2">, and that MATE's monitors.xml is starting with <monitors version="1">
* The monitors.xml file name is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
MATE's monitors.xml:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2023-07-27 04:35:50 |
David Hedlund |
description |
* GNOME's monitors.xml is starting with <monitors version="2">, and that MATE's monitors.xml is starting with <monitors version="1">
* The monitors.xml file name is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
MATE's monitors.xml:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
* GNOME's monitors.xml is starting with <monitors version="2">, and that MATE's monitors.xml is starting with <monitors version="1">
* The monitors.xml file name is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
monitors.xml in Ubuntu MATE 22.04, and 23.04:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2023-07-27 04:40:56 |
David Hedlund |
description |
* GNOME's monitors.xml is starting with <monitors version="2">, and that MATE's monitors.xml is starting with <monitors version="1">
* The monitors.xml file name is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
monitors.xml in Ubuntu MATE 22.04, and 23.04:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
* monitors.xml in Ubuntu 22.04, and 23.04 (both version are using 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 is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
monitors.xml in Ubuntu MATE 22.04, and 23.04:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2023-07-27 04:48:04 |
David Hedlund |
description |
* monitors.xml in Ubuntu 22.04, and 23.04 (both version are using 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 is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
monitors.xml in Ubuntu MATE 22.04, and 23.04:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
* 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 is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
monitors.xml in Ubuntu MATE 22.04, and 23.04:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2023-07-27 04:48:48 |
David Hedlund |
description |
* 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 is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
GNOME's monitors.xml:
```
<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>
```
monitors.xml in Ubuntu MATE 22.04, and 23.04:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
* 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 is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
monitors.xml in Ubuntu 22.04, and 23.04:
```
<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>
```
monitors.xml in Ubuntu MATE 22.04, and 23.04:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2023-07-27 04:52:39 |
David Hedlund |
description |
* 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 is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
monitors.xml in Ubuntu 22.04, and 23.04:
```
<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>
```
monitors.xml in Ubuntu MATE 22.04, and 23.04:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
* 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 is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
monitors.xml in Ubuntu 23.04:
```
<monitors version="2">
<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.000</rate>
</mode>
</monitor>
</logicalmonitor>
</configuration>
</monitors>
```
monitors.xml in Ubuntu 22.04:
```
<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>
```
monitors.xml in Ubuntu MATE 22.04, and 23.04:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2023-07-27 04:58:18 |
David Hedlund |
description |
* 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 is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
monitors.xml in Ubuntu 23.04:
```
<monitors version="2">
<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.000</rate>
</mode>
</monitor>
</logicalmonitor>
</configuration>
</monitors>
```
monitors.xml in Ubuntu 22.04:
```
<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>
```
monitors.xml in Ubuntu MATE 22.04, and 23.04:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
* 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 is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
monitors.xml in Ubuntu 23.04, and 22.04:
```
<monitors version="2">
<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.000</rate>
</mode>
</monitor>
</logicalmonitor>
</configuration>
</monitors>
```
monitors.xml in Ubuntu MATE 22.04, and 23.04:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2023-07-27 13:18:36 |
David Hedlund |
description |
* 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 is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
monitors.xml in Ubuntu 23.04, and 22.04:
```
<monitors version="2">
<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.000</rate>
</mode>
</monitor>
</logicalmonitor>
</configuration>
</monitors>
```
monitors.xml in Ubuntu MATE 22.04, and 23.04:
```
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
* 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 is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
monitors.xml in Ubuntu 23.04, and 22.04:
```
<monitors version="2">
<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.000</rate>
</mode>
</monitor>
</logicalmonitor>
</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/>
<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.000</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>1280</width>
<height>800</height>
<rate>59.810</rate>
</mode>
</monitor>
</logicalmonitor>
</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>
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2023-07-27 13:42:41 |
David Hedlund |
description |
* 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 is defined here for MATE: https://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and here for GNOME: https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
monitors.xml in Ubuntu 23.04, and 22.04:
```
<monitors version="2">
<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.000</rate>
</mode>
</monitor>
</logicalmonitor>
</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/>
<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.000</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>1280</width>
<height>800</height>
<rate>59.810</rate>
</mode>
</monitor>
</logicalmonitor>
</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>
<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>
```
#### Steps to reproduce the behaviour
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`
Steps I used to reproduce the issue in Ubuntu 22.04 (as a virtual machine):
* Log into GNOME
* Ubuntu comes with GNOME, so install MATE in addition: `sudo apt-get install mate-desktop-environment-extras mate-desktop-environment`
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) generate "$HOME/.config/monitors.xml", 2) [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56](/uploads/dc4ba73ddfae955fcafa948e3a164581/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_43_56.png). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will overwrite "$HOME/.config/monitors.xml"
* Log out from MATE. From the display manager, log into GNOME.
* As you can see, [Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11](/uploads/013b2b1abf582caf7e6c4c70733ea5ac/Screenshot_ubuntu-22.04-desktop-amd64.iso-clone_2023-07-24_23_40_11.png), instead a fallback resolution is used.
## Links to bug reports
[Feature request] mate-display-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
* "$HOME/.config/monitors.xml" is not installed by default in Ubuntu during the installation at this writing, you have to generate it by running the GUI preferences `$ gnome-control-center display` for GNOME, and `$ mate-display-properties` for MATE.
* 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://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and for GNOME it is defined at https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008.
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
monitors.xml in Ubuntu 23.04, and 22.04:
```
<monitors version="2">
<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.000</rate>
</mode>
</monitor>
</logicalmonitor>
</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/>
<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.000</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>1280</width>
<height>800</height>
<rate>59.810</rate>
</mode>
</monitor>
</logicalmonitor>
</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>
<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>
```
#### 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-environment-extras mate-desktop-environment`
* Log out, and log in to MATE.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will generate "$HOME/.config/monitors.xml"
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/1b978bd7-22dd-4b42-a5b5-d32ec2d42f21), instead a fallback resolution is used.
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) move "$HOME/.config/monitors.xml" (that was generated by MATE) to "$HOME/.config/monitors-v1-backup.xml" 2) generate a new "$HOME/.config/monitors.xml" 3) Change the screen resolution directly (https://github.com/mate-desktop/mate-control-center/assets/6416073/6a841086-6936-4a21-9d43-ca1a605a9806). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
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-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2023-07-28 01:01:02 |
David Hedlund |
description |
* "$HOME/.config/monitors.xml" is not installed by default in Ubuntu during the installation at this writing, you have to generate it by running the GUI preferences `$ gnome-control-center display` for GNOME, and `$ mate-display-properties` for MATE.
* 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://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and for GNOME it is defined at https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008.
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
monitors.xml in Ubuntu 23.04, and 22.04:
```
<monitors version="2">
<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.000</rate>
</mode>
</monitor>
</logicalmonitor>
</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/>
<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.000</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>1280</width>
<height>800</height>
<rate>59.810</rate>
</mode>
</monitor>
</logicalmonitor>
</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>
<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>
```
#### 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-environment-extras mate-desktop-environment`
* Log out, and log in to MATE.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will generate "$HOME/.config/monitors.xml"
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/1b978bd7-22dd-4b42-a5b5-d32ec2d42f21), instead a fallback resolution is used.
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) move "$HOME/.config/monitors.xml" (that was generated by MATE) to "$HOME/.config/monitors-v1-backup.xml" 2) generate a new "$HOME/.config/monitors.xml" 3) Change the screen resolution directly (https://github.com/mate-desktop/mate-control-center/assets/6416073/6a841086-6936-4a21-9d43-ca1a605a9806). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
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-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
* "$HOME/.config/monitors.xml" is not installed by default in Ubuntu during the installation at this writing, you have to generate it by running the GUI preferences `$ gnome-control-center display` for GNOME, and `$ mate-display-properties` for MATE.
* 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://github.com/mate-desktop/mate-desktop/blob/master/libmate-desktop/mate-rr-config.c#L44, and for GNOME it is defined at https://gitlab.gnome.org/GNOME/mutter/-/issues/2919#note_1799008.
#### Expected behaviour
cinnamon is using a dedicated name, cinnamon-monitors.xml. This doesn't cause the file to be overwritten by the display preferences if other desktop environment are used on the same distro. If MATE and GNOME followed the same approach, the file name would be mate-monitors.xml, and gnome-monitors.xml, respectively.
#### Actual behaviour
monitors.xml in Ubuntu 23.10, 23.04, and 22.04:
```
<monitors version="2">
<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.000</rate>
</mode>
</monitor>
</logicalmonitor>
</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/>
<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.000</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>1280</width>
<height>800</height>
<rate>59.810</rate>
</mode>
</monitor>
</logicalmonitor>
</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>
<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>
```
#### 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-environment-extras mate-desktop-environment`
* Log out, and log in to MATE.
* Run `$ mate-display-properties`, just click on the "Apply" button (you don't have to click on the "Keep this configuration" button that pop-ups in the dialoge-box), it will generate "$HOME/.config/monitors.xml"
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/1b978bd7-22dd-4b42-a5b5-d32ec2d42f21), instead a fallback resolution is used.
* Run `$ gnome-control-center display`, change the "Resolution" to 1600x900, click on the "Apply": This will 1) move "$HOME/.config/monitors.xml" (that was generated by MATE) to "$HOME/.config/monitors-v1-backup.xml" 2) generate a new "$HOME/.config/monitors.xml" 3) Change the screen resolution directly (https://github.com/mate-desktop/mate-control-center/assets/6416073/6a841086-6936-4a21-9d43-ca1a605a9806). Close the window.
* 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://github.com/mate-desktop/mate-control-center/assets/6416073/adffa08e-cf08-499d-8dc3-9e7800e4d7e9), instead a fallback resolution is used.
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-properties: Please upgrade monitors.xml from <monitors version="1"> to <monitors version="2"> - https://bugs.launchpad.net/ubuntu/+bug/2028818
GNOME https://gitlab.gnome.org/GNOME/mutter/-/issues/2919
MATE https://github.com/mate-desktop/mate-control-center/issues/712
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.7-0ubuntu0.22.04.6
ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-43-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
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-center
UpgradeStatus: No upgrade log present (probably fresh install) |
|