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
  • do you want this to work from the command line, or are you looking for a desktop or launcher shortcut? Oct 1, 2013 at 16:41

1 Answer 1

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.

2
  • 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. askubuntu.com/questions/76342/… Thank you for help. Oct 1, 2013 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 1, 2013 at 20:55

You must log in to answer this question.

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