Getting Started

Set Default File Viewer

Set Cosmil as your default file viewer instead of Finder.

Once Cosmil is your default file viewer, other apps open Cosmil instead of Finder when you choose Show/Open/Reveal in Finder. Folders you open from other apps or from Terminal also open in Cosmil. The Desktop is the one exception, because Finder always runs it.

  1. Open Terminal

  2. Paste the following commands and press Return:

    defaults write -g NSFileViewer -string app.cosmil.explorer;
    defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add '{LSHandlerContentType="public.folder";LSHandlerRoleAll="app.cosmil.explorer";}'
  3. Restart Your Mac

Check that it worked#

  • In the Terminal, run open ~/Documents. Your Documents folder should open in Cosmil.
  • In Safari, open your downloads list and click the magnifying glass next to a download. Cosmil should open with that file selected.

Switch back to Finder#

Paste these commands into Terminal, press Return, then restart your Mac:

defaults delete -g NSFileViewer
defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers -array-add '{LSHandlerContentType="public.folder";LSHandlerRoleAll="com.apple.finder";}'