usr-sse2 / RDM

Easily set Mac Retina display to higher unsupported resolutions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to undo changes made to display setting?

abhishekjhaji opened this issue · 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?

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

Should do the work.

commented
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

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 ?

commented

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

commented

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

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

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

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.

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.

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

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

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?

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?