Open davidhedlund opened 1 year ago
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.
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
mate_display_properties_SOURCES = \
xrandr-capplet.c \
scrollarea.c \
scrollarea.h
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-propertiesGoogle 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.