that's part of the terminal script to install displayplacerwhat does this do casket?
jakehilborn/jakehilborn
?
that's part of the terminal script to install displayplacerwhat does this do casket?
jakehilborn/jakehilborn
?
give it a shot. If nothing else it's a less frustrating fix.I'm not sure either, but I'm sure gonna give it a shot!
FWIW, I thought I had this fixed. But no. Not really. It just happens less frequently. My current "fix" is to turn off my displays + turn them back on from left to right. That works every time. But it's annoying and involves physical effort; a shortcut would be real nice until Apple fixes it... 😜
This process creates just that a "shortcut" not a fix. but in lieu of a fix, a shortcut is far less frustrating.I'm not sure either, but I'm sure gonna give it a shot!
FWIW, I thought I had this fixed. But no. Not really. It just happens less frequently. My current "fix" is to turn off my displays + turn them back on from left to right. That works every time. But it's annoying and involves physical effort; a shortcut would be real nice until Apple fixes it... 😜
Cordless Dog: Stay
cordlessdog.com
Update: Finally took a few minutes to install displayplacer. I got my list with my monitors arranged correctly, then wrapped that command into an Automator app.give it a shot. If nothing else it's a less frustrating fix.
@andyrharvey does your solution still persist? I have been having this issue for the last 5 months and this is the only solution that I haven't tried yet 😅I had this problem on a 2019 Macbook Pro and it remained, unchanged when I upgraded to a Macbook Pro 2022 - both using identical twin monitors. In both MBPros there is no problem when used on another setup of two dissimilar external monitors.
I seem to have solved this problem for me - I have now had no random swapping of monitors during the last 20 or so wakes from sleep. I think the problem may have been associated with both monitors having the same (default) name - with (1) and (2) appended. I did this sequence:
1) I unplugged the right monitor and used switch SwitchResx to change the name of the left monitor to "Left"
2) I unplugged the left monitor, replugged the right monitor and changed its name to "Right"
3) I replugged the right monitor
The two monitors now have different names and everything works fine - the different names could be confirmed by eg looking at Display Preferences or "About this Mac"
Strangely, after about 10 mins the name of the Left Monitor changed to "Right" so both monitors now have the same name. I've repeated this process with the same outcome - but nevertheless it has solved the problem. This is what it looks like now:
View attachment 2046532
ioreg -l | grep EDID
. Also the AlphanumericSerialNumber is different.I was having this problem forever. I have a 2019 Macbook Air. I got super frustrated and finally think I solved it. For Mac owners, try the following:@andyrharvey does your solution still persist? I have been having this issue for the last 5 months and this is the only solution that I haven't tried yet 😅
Bumping this because it is still happening. I am not sure if anyone else is experiencing it, can't determine if related to new hardware (14" MBP) or an OS Monterey issue.
I'll drag-and-drop in the Display settings or even flip-flop the connections and it keeps thinking my (1) display is on the right and my (2) is on the left (until I drag back into the correct place)
View attachment 1900615
After swapping into the correct order.
Tried this solution long time ago, doesn't work for me.I was having this problem forever. I got super frustrated and finally think I solved it. For Mac owners, try the following:
System Preferences > Mission Control > Uncheck the box next to 'Automatically rearrange spaces based on most recent use' > Check the box next to 'Displays have separate Spaces'
Hope this helps.
It doesn't work for me either. What seems to be semi-working is a solution close to @Fab1n 's.I was having this problem forever. I have a 2019 Macbook Air. I got super frustrated and finally think I solved it. For Mac owners, try the following:
System Preferences > Mission Control > Uncheck the box next to 'Automatically rearrange spaces based on most recent use' > Check the box next to 'Displays have separate Spaces'
This has worked for me, and mac has not forgotten my preferences yet. Even if I go from clamshell mode to open.
#!/bin/bash
counterfile=~/fix_monitor_count
declare -i counter
if [ -f "$counterfile" ]; then
read -r counter <"$counterfile"
else
counter=0
fi
counter="$((counter + 1))"
printf '%d\n' "$counter" >"$counterfile"
if [ $((counter%2)) -eq 0 ];
then
displayplacer "id:37D8832A-2D66-02CA-B9F7-8F30A301B230 res:1728x1117 hz:120 color_depth:8 scaling:on origin:(0,0) degree:0" "id:473FAF63-CD67-42D9-8C04-5CE73F10FD16 res:3840x2160 hz:60 color_depth:8 scaling:off origin:(1728,-493) degree:0" "id:12C3DE25-4990-470C-9BD2-C555F1D67B8A res:3840x2160 hz:60 color_depth:8 scaling:off origin:(5568,-493) degree:0"
else
displayplacer "id:37D8832A-2D66-02CA-B9F7-8F30A301B230 res:1728x1117 hz:120 color_depth:8 scaling:on origin:(0,0) degree:0" "id:12C3DE25-4990-470C-9BD2-C555F1D67B8A res:3840x2160 hz:60 color_depth:8 scaling:off origin:(1728,-493) degree:0" "id:473FAF63-CD67-42D9-8C04-5CE73F10FD16 res:3840x2160 hz:60 color_depth:8 scaling:off origin:(5568,-493) degree:0"
fi
We can confirm that it is due to macOS.
macOS cannot identify the monitors with the same model name.
It is macOS's behavior. I'll suggest you to raise the inquiry to Apple and hope that can fix it in the later macOS update.
Not sure in what level my findings are related - but for M1 chip computers - and in my case a Macstudio, Apple seems to have problems with the software that is non native (non apple) to provide the right screen name.
Besides all of the problems shown in this thread - I detected with various non Apple software that when it's about screenshare/display features (eg with ZOOM, TEAMS) that the software doesn't get the device name - but simply shows display 1, 2, 3 etc. which is a big mess in case you eg want to share sensitive info - or acutally don't - and have sensitive info on eg screen 3 - but you can't tell from this screen share window if your screen 3 is the right one. Apple confirmed it's to do with the M1 chips - but didn't get any plan for resolution
Not sure on the type of monitors - I am now talking about 3rd party APPS - so software wise. But indeed - likely the mac native devices would be recognized I assume (or not - couldn't test that scenario)So in theory if one had three apple 27" displays (the new ones)...
They are the same display name but not 3rd party, that issue will not occur? in theory.
Can you confirm this works?I now have solved the issue and now have different EDID for the same 2 monitor models.
The solution is simple: I now connect 1 monitor via DP and one via HDMI. Boom - I get 2 different EDIDs now. You can compare the EDIDs usingioreg -l | grep EDID
. Also the AlphanumericSerialNumber is different.
Background: I have 2 Benq PD3200U connected to a TB4 Dock from Sonnettech. As the dock only has TB4 ports I use Anker HDMI to USB-C and DP to USB-C adapters, both plugged into the dock.
Previously I had plugged in 2 HDMI Cables via the mentioned adapters, one in the dock and one directly in the MBP M1P 16". This lead to switching of primary monitors as described on multiple sites and posts.
My left monitor is oriented vertically, the other one in the center horizontally, not using the MBP screen (notebook is closed). Also both of my displays are set to use a different scaling than the native scaling (second setting from the right).
I will report back after a few days if the problem has been finally solved this way!
I did. Nothing fixed in Ventura.Has anybody tried if anything is fixed in Ventura?
Not sure in what level my findings are related - but for M1 chip computers - and in my case a Macstudio, Apple seems to have problems with the software that is non native (non apple) to provide the right screen name.
Besides all of the problems shown in this thread - I detected with various non Apple software that when it's about screenshare/display features (eg with ZOOM, TEAMS) that the software doesn't get the device name - but simply shows display 1, 2, 3 etc. which is a big mess in case you eg want to share sensitive info - or acutally don't - and have sensitive info on eg screen 3 - but you can't tell from this screen share window if your screen 3 is the right one. Apple confirmed it's to do with the M1 chips - but didn't get any plan for resolution