Open benjamindahl opened 1 year ago
@benjamindahl Same for me. The Python script seems to expect this JSON structure:
"DisplayAnyUserSets": {
"Configs": [
{
"DisplayConfig": [
{
"UnmirrorInfo": {
"IsLink": false,
...
},
...
but for me, the structure is actually
"DisplayAnyUserSets": {
"Configs": [
[
{
"UnmirrorInfo": {
"IsLink": false,
...
},
...
i.e. each item in the Configs
list is already a "DisplayConfig", i.e a list of "DisplaySets".
It worked for me after I changed
DisplayConfig = configs['DisplayConfig']
to just
DisplayConfig = configs
in line 12 of edit_json.py
.
MacBook Pro M1 Pro with macOS 12 and Python 3.11.3
Executing the Script I get the following error:
com.apple.windowserver.displays.plist.zip Plist-File in XML format