How do you remove the default open with application for a file extension? Not change it but remove it so when I try to open it a popup says "There is no application set to open the document “file.blabla”
.
MacOS Applications – Removing the Default Application for Opening Files
applicationsmacos
Related Question
- Get a list of file types a particular app is set as the default to open
- macOS – How to Change the Default Application for WEBLOC Files
- MacOS – Error while changing the default application with which we open a file
- MacOS – Change default app for file extension
- MacOS – Remove Default Application for File Extension in Catalina
- MacOS – How to change the default programs that open Outlook email attachments
- macOS – Set Homebrew Application as Default for File Types
Best Answer
Use RCDefaultApp. With it, you can set the file association to
<disabled>
Another option is to use the command line and
lsregister
.lsregister
is located in/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/
To see all the available commands, run/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister
. See this article for more information.