Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] mate-display-properties: Make a backup of existing monitors.xml to avoid it being over-written #715

Open
davidhedlund opened this issue Jul 30, 2023 · 0 comments

Comments

@davidhedlund
Copy link

davidhedlund commented Jul 30, 2023

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 #712:

"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.

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)

@davidhedlund davidhedlund changed the title [Feature request] mate-display-properties: Make a backup of existing monitors.xml before it is over-written [Feature request] mate-display-properties: Make a backup of existing monitors.xml to avoid it being over-written Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants