marta-issues
marta-issues copied to clipboard
Set Marta as Default App to Open Folders
Is it possible to make Marta the default app to open folders with? Instead of having finder as the default app.
On macOS, finder is very deeply integrated into the system. I haven't seen a single 3rd party file manager offer this option.
I reckon the best way would be to have a kernel extension designed to catch calls to Finder and redirect them to Marta, but this kind of work is long and tedious.
There are some post os stack exchange discussing this very thing: How to change the default file manager for OSX? and Is there a way to replace Finder altogether?
PathFinder and ForkLift both offer this, though with some limitations — some stuff that points to Finder is baked in at a pretty low level.
PathFinder has it in their preferences so I'm not sure how they do it, but ForkLift offer the following instructions which could maybe be adapted to Marta: https://binarynights.com/manual#fileviewer
Yes, this works for me... set it like this and reboot (logout did not work 100%) :
defaults write -g NSFileViewer -string org.yanex.marta
defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add '{LSHandlerContentType="public.folder";LSHandlerRoleAll="org.yanex.marta";}'