Question: open a file, in maple

I want to open a file, in maple.  I do not want to open maple, and then open the file. 

More specifically, how do I

a) run something like:

maple -x -f myfile.mw

so that xmaple starts and opens directly to the file myfile.mw.  Ideally if xmaple is already running, it will hopefully just spawn a new tab.

b) set this up as a "Preferred application" in Fedora and in Ubuntu.

I think a) may solve b).

 

This is important because I am marking maple assignments and opening files through file->open ... is slightly ridiculous.

Please Wait...