RDM icon indicating copy to clipboard operation
RDM copied to clipboard

How to undo changes made to display setting?

Open abhishekjhaji opened this issue 4 years ago • 13 comments

I have uninstalled the RDM but the changes made to display setting are persisted. As per the system report it shows the resolution as Resolution: 5120x2880 (5K/UHD+ - Ultra High Definition Plus) while the actual resolution is 2560 X 1440.

Do we need to remember all the changes we made and uncheck them manually?

abhishekjhaji avatar Aug 12 '21 14:08 abhishekjhaji

sudo rm -rf /Library/Displays/Contents/Resources/Overrides
sudo reboot now

Should do the work.

maximebories avatar Oct 03 '21 14:10 maximebories

sudo rm -rf /Library/Displays/Contents/Resources/Overrides
sudo reboot now

Should do the work.

Tried this, didn't seem to help with my issue, which is similar to the OP

nawe19 avatar Oct 03 '21 21:10 nawe19

What's stdout ? stderr ? Are the files still there ? Open finder cmd+shift+g and paste /Library/Displays/Contents/Resources/ Or tree /Library/Displays/Contents/Resources/ Do you remember what you put there ? If so, do you find the same files in /System/Library/Displays/Contents/Resources/ ?

EDIT: and of course, did you reboot ?

maximebories avatar Oct 04 '21 00:10 maximebories

I didn't put anything here, All I did was add a new resolution in the UI. See my post for more info: #43

nawe19 avatar Oct 04 '21 00:10 nawe19

I should have added this before, but this is what is currently in /Library/Displays/Contents/Resources/: image

nawe19 avatar Oct 04 '21 12:10 nawe19

RDM puts files there when you add the resolution. There is an Overrides folder on your screenshot, remove it.

usr-sse2 avatar Oct 30 '21 12:10 usr-sse2

You don't really need to remove it but if it's not empty, remove everything inside.

maximebories avatar Nov 01 '21 23:11 maximebories

I should have added this before, but this is what is currently in /Library/Displays/Contents/Resources/: image

This looks like the contents of /System/Library/Displays/Contents/Resources, not /Library/Displays/Contents/Resources.

usr-sse2 avatar Jan 03 '22 17:01 usr-sse2

The locales *.lproj are locales for any binary compiled with Xcode, they should be in both directory. However, and again, there is also an Overrides folder. Unless you used virtuel symbolic links elsewhere, the resolution you added is in this folder ! Remove it or everything inside as per the commands I gave you before. If the command does'n work, copy/paste the error message.

maximebories avatar Jan 04 '22 01:01 maximebories

On macOS Monterey there's no /Library/Displays/* folder. Can you please tell us where does the app store the overrides on Monterey? Thanks.

funkyboy avatar Aug 29 '22 17:08 funkyboy

The locales *.lproj are locales for any binary compiled with Xcode, they should be in both directory. However, and again, there is also an Overrides folder. Unless you used virtuel symbolic links elsewhere, the resolution you added is in this folder ! Remove it or everything inside as per the commands I gave you before. If the command does'n work, copy/paste the error message.

@maximebories, I am having a similar issue → I tried the command sudo rm -rf /Library/Displays/Contents/Resources/Overrides, then rebooted, but when I went to /System/Library/Displays/Contents/Resources/Overrides, the files are still there

aashrithm29 avatar May 23 '23 17:05 aashrithm29

Ah, I have Apple Silicon Mac, which is why the folder is showing up in /System/Library/Displays/Contents/Resources/Overrides. Ok, so when I try deleting this with sudo rm -rf /Library/Displays/Contents/Resources/Overrides, then I get these issues:

@usr-sse2, do you know why this occurs?

aashrithm29 avatar May 23 '23 18:05 aashrithm29

I am thinking of running it after I disable SIP (https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection). Deleting these files will not cause a problem to my Mac, right?

aashrithm29 avatar May 23 '23 18:05 aashrithm29