0

I want to have a link to an executable as follows, the equivalent terminal command is:

Mathematica -mesa

The command ln -s Mathematica -mesa Mathematica does not work, how can I include -mesa in the link?

Thanks, Woody

1 Answers1

2

You can create a bash script:

#!/bin/bash

Mathematica -mesa

Don't forget to make the script executable and store it in the $PATH.

Adobe
  • 3,891
  • That worked to create the 'link' but I then found that I couldn't add it to the launcher which I didn't mention in my post, this post eventually solved my problem. http://askubuntu.com/questions/76342/how-can-i-add-a-bash-script-to-the-unity-launcher

    Thank you for help.

    – user1694253 Oct 01 '13 at 16:40
  • It must be possible to add a given script to a launcher. I can do it in KDE (I'm on Kubuntu). – Adobe Oct 01 '13 at 20:55