You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"$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">
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.
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.
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.
The text was updated successfully, but these errors were encountered:
davidhedlund
changed the title
"$HOME/.config/monitors.xml" generated by MATE is incompatible with GNOME and vice versa
mate-display-properties: "$HOME/.config/monitors.xml" generated by MATE is incompatible with GNOME and vice versa
Jul 23, 2023
davidhedlund
changed the title
mate-display-properties: "$HOME/.config/monitors.xml" generated by MATE is incompatible with GNOME and vice versa
mate-display-properties: monitors.xml is incompatible with GNOME (and vice versa)
Jul 23, 2023
We need to replace monitors.xml with mate-monitors.xml here monitors.xml
davidhedlund
changed the title
mate-display-properties: monitors.xml is incompatible with GNOME (and vice versa)
mate-display-properties: Use less generic name for monitors.xml to avoid clashing with other desktops
Jul 24, 2023
$ gnome-control-center display
for GNOME, and$ mate-display-properties
for MATE.<monitors version="2">
, while in Ubuntu MATE 22.04, and 23.04 it is starting with<monitors version="1">
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.xml in Ubuntu 22.04 (with ubuntu-mate-desktop installed), or 23.04 (with ubuntu-mate-desktop installed):
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:
Steps to reproduce the behaviour
Steps I used to reproduce the issue in Ubuntu 22.04 with ubuntu-mate-desktop installed:
sudo apt-get install mate-desktop-environment-extras mate-desktop-environment
$ 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"$ 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.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
mate-display-properties 1.26.0
Linux Distribution
Ubuntu MATE 22.04, Ubuntu 22.04
Link to bugreport of your Distribution (requirement)
The text was updated successfully, but these errors were encountered: