I installed Evince, the famous PDF reader that comes pre-installed with several major GNU/Linux distributions, on Mac OS X using

 brew install evince

now, to open it, I have to type every single time "evince" on terminal. Is there any way to create an icon for that program, that could be moved in my applications folder?

2 Answers 2


Simply use a wrapper like Platypus

  • Download and install the script wrapper Platypus.
  • Create a shell script /usr/local/bin/evince.sh with the content

  • Open Platypus and create a new app like indicated in the screenshot below:

    enter image description here

  • Choose a nice icon (1024 x 1024 px linked) like this one:

    enter image description here (48 x 48 px example)

    and hit the create button

  • Save the app to an appropriate folder (e.g. /Applications) and create a Dock item

Try linking apps with this command:

brew linkapps evince

If there are .app-style macOS wrapper apps in its formula, it will be linked to /Applications. You can alternatively link those apps to ~/Applications with this command:

brew linkapps --local evince

You can check if linking is successful with:

ls -lrth /Applications

Now look at the last lines if there are "evince" related items in the list.

If linking was not successful, try to link it manually. You can link "evince" executable file to /Applications:

ln -s $(which evince) /Applications/Evince
  • this answer doesn't work in 2023 on macOS ventura. I get Error: Unknown command: linkapps
    – xdavidliu
    Mar 28, 2023 at 9:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .