mirror of
https://github.com/brl/mutter.git
synced 2025-03-10 13:25:05 +00:00

This adds a way to define a way, at the system level, to define a policy of how monitor configuration files are loaded. The intended use case is to e.g. either prefer system level monitor configurations before user levels, or only allow system level configurations. Examples: Prefer system over user level configurations: <monitors version="2"> <policy> <stores> <store>system</store> <store>user</store> </stores> </policy> <configuration> ... </configuration> </monitors> Only allow system level configurations: <monitors version="2"> <policy> <stores> <store>system</store> </stores> </policy> <configuration> ... </configuration> </monitors> Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2030>
28 lines
538 B
XML
28 lines
538 B
XML
<monitors version="2">
|
|
<policy>
|
|
<stores>
|
|
<store>system</store>
|
|
</stores>
|
|
</policy>
|
|
<configuration>
|
|
<logicalmonitor>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<primary>yes</primary>
|
|
<monitor>
|
|
<monitorspec>
|
|
<connector>DP-1</connector>
|
|
<vendor>MetaProduct's Inc.</vendor>
|
|
<product>MetaMonitor</product>
|
|
<serial>0x123456</serial>
|
|
</monitorspec>
|
|
<mode>
|
|
<width>1920</width>
|
|
<height>1080</height>
|
|
<rate>60</rate>
|
|
</mode>
|
|
</monitor>
|
|
</logicalmonitor>
|
|
</configuration>
|
|
</monitors>
|