"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.
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 22.04 with ubuntu-mate-desktop
Link to bugreport of your Distribution (requirement)
Expected behaviour
Make a backup of existing monitors.xml before it is over-written
Actual behaviour
MATE does not generate a backup file of monitors.xml.
Steps to reproduce the behaviour
gnome-control-center is making a backup file of monitors.xml before it is over-written, text copied from https://github.com/mate-desktop/mate-control-center/issues/712:
"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
1.26.0
Linux Distribution
Ubuntu 22.04 with ubuntu-mate-desktop
Link to bugreport of your Distribution (requirement)