-
-
Notifications
You must be signed in to change notification settings - Fork 58
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: Command line options for monitors.xml management #710
Comments
Note that we are a small team and could always use more coders and testers. These feature requests tell us what people are interested in (something commercial software is known to resort to telemetry just to find out!) but to turn them into code requires effort that can range from trivial to a major rewrite. In this case, which of these it is would be determined by exactly what changed in xrandr. Feature removals in libraries maintained by others can be a real headache at times. Obviously, more team members would speed all work up, as do the outside contributions we get and welcome. |
I might find someone who can help. Which source(s) file is responsible for mate-display-properties ? |
All of mate-control-center/capplets/display relates to it. in Makefile.am we list
and we also build in gresources |
The source files for mate-display-properties are located in the mate-control-center/capplets/display directory of the MATE source code repository.
Expected behaviour
Generate monitors.xml
This is of highest importance.
mate-display-properties --make-monitors.xml
to generate a default "$HOME/.config/monitors.xml" file. The screen resolution can then be modified (regardless of the values) via Bash:Get data from monitors.xml
screen_resolution="1920x1080"; xrandr --output "$(xrandr --listactivemonitors | tail -1 | awk '{ print $NF }')" --mode "$screen_resolution"
Adding that to ~/.bashrc will interfere with "$HOME/.config/monitors.xml" that is generated by mate-display-propertiesmonitors.xml that is modified by a script.
Google Bard:
"The mate-display-properties --get-xrandr-output-config option was introduced in Mate Display Properties 1.24. This version was released in April 2020.
The option was removed in Mate Display Properties 1.26, which was released in October 2021. This is because the mate-display-properties command was updated in this release to use a new backend that does not support this option.
Here is a script with xrandr that generates identical output of monitors.xml as mate-display-properties:
"
Actual behaviour
"$HOME/.config/monitors.xml" is generated
Steps to reproduce the behaviour
MATE general version
1.26.0
Package version
1.26.0
Linux Distribution
Ubuntu MATE 22.04
Link to bugreport of your Distribution (requirement)
Not applicable as this is a feature request.
The text was updated successfully, but these errors were encountered: