Examined on macOS 15.1 with two “DELL P2415Q” (5 years previous) displays.
If the seller of your monitor assigned, per {hardware} unit, distinctive worth for “ProductID” property (see beneath), then you may “rename” monitor by creating particular XML file.
In my case I had following Shows: “DELL P2415Q (1)”, “DELL P2415Q (2)”, “Constructed-in Show”. The objective was to rename to “DELL-Most important”, “DELL-Aux”, “Constructed-in Show”.
A bit concept
Apple has a mechanism of overriding Dispay properties. System offered overrides situated at /System/Library/Shows/Contents/Sources/Overrides
.
Consumer can even make an override by making applicable Plist-file underneath /Library/Shows/Contents/Sources/Overrides
subdirectory.
Be aware: The folder /Library/Shows/Contents/Sources/Overrides
could not exists. Chances are you’ll have to manually create it (see beneath).
It seems to be like macOS has some guidelines to determine applicable Plist-file with show overrides.
Working file title conference – Vendor id
and Product id
based mostly file title.
E.g. /Library/Shows/Contents/Sources/Overrides/DisplayVendorID-<vid>/DisplayProductID-<pid>
Be aware: Plist-file has no extension (e.g. no .plist
or .xml
extension).
Steps
So we have to discover values for DisplayVendorID
(<vid>
) and DisplayProductID
(<pid>
). To take action, execute command ioreg -l -w0 -x | grep "DisplayAttributes"
. This command will return values in hexadecimal format.
Instance output:
| | | | "DisplayAttributes" = {"SupportsSuspend"=Sure,"MaximumRefreshRate"=0x4c,"SupportsActiveOff"=Sure,"PortID"=0x30,"ProductAttributes"={"YearOfManufacture"=0x7e3,"ManufacturerID"="DEL","SerialNumber"=0x30343042,"ProductName"="DELL P2415Q","AlphanumericSerialNumber"="D8VXF9B8040B","LegacyManufacturerID"=0x10ac,"ProductID"=0xa0c5,"WeekOfManufacture"=0x2d},"MaxVerticalImageSize"=0x1e,"MinimumVariableRefreshRate"=0x1d0000,"MaxHorizontalImageSize"=0x35,"HasHDMILegacyEDID"=No,"Chromaticity"={"Crimson"={"X"=0xa8c0,"Y"=0x5580},"Inexperienced"={"X"=0x4d00,"Y"=0xa380},"Blue"={"X"=0x2640,"Y"=0xb00}},"DefaultColorSpaceIsSRGB"=No,"DefaultWhitePoint"={"X"=0x5040,"Y"=0x5440,"Gamma"=0x23333},"SupportsVariableRefreshRate"=No,"AspectRatio"=0xf,"MinimumRefreshRate"=0x1d,"MaximumVariableRefreshRate"=0x4c0000,"WhitePoints"=({"X"=0x5040,"Y"=0x5440,"Gamma"=0x23333}),"PreciseAspectRatio"=0x1c444,"ContinuousFrequencySupport"="None","SupportsStandby"=Sure}
That is half we want:
... "LegacyManufacturerID"=0x10ac,"ProductID"=0xa0c5, ...
In output above the worth of the LegacyManufacturerID
key (e.g. 0x10ac) will characterize DisplayVendorID
(e.g. 10ac).
The worth of the ProductID
key (e.g. 0xa0c5) will characterize DisplayProductID
(e.g. a0c5).
Now we’re able to assemble Plist-file title. It will likely be:
/Library/Shows/Contents/Sources/Overrides/DisplayVendorID-10ac/DisplayProductID-a0c5
Now you may create in, say, ~/Downloads
folder file with title DisplayProductID-a0c5
with beneath contents:
<?xml model="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist model="1.0">
<dict>
<key>DisplayVendorID</key>
<integer>4268</integer>
<key>DisplayProductID</key>
<integer>41157</integer>
<key>DisplayProductName</key>
<string>Put-Desired-Monitor-Title-Right here</string>
</dict>
</plist>
The values 4268
and 41157
– are above discovered values for LegacyManufacturerID
and ProductID
, however this time in decimal format.
You’ll be able to convert beforehand discovered values from hexadecimal to decimal format by utilizing any on-line converter. Or by executing identical ioreg
command with out -x
flag. E.g.: ioreg -l -w0 | grep "DisplayAttributes"
.
Now you may put together vacation spot listing and duplicate Plist-file:
To create vacation spot listing execute:
sudo mkdir -p /Library/Shows/Contents/Sources/Overrides/DisplayVendorID-10ac
To repeat Plist-file execute:
sudo cp -fv $HOME/Downloads/DisplayProductID-a0c5 /Library/Shows/Contents/Sources/Overrides/DisplayVendorID-10ac/DisplayProductID-a0c5
Repeat above steps for different shows.
Now you’re created personal Show overrides.
As a remaining step REBOOT macOS.
Consequence on my aspect: