View Single Post
Old 2011-03-03, 16:56   #7
EdH's Avatar
"Ed Hall"
Dec 2009
Adirondack Mtns

32·5·89 Posts

If you're using Gnome Desktop, the following should be much simpler:

Note: for the following, my path to mprime is /home/math01/Mathwork/mprime/ and the script is stored in /home/math01/Mathwork/.

1. write a bash script using your favorite text editor
- - example:

cd /home/math01/Mathwork/mprime
gnome-terminal -e "./mprime"
- - (saved in /home/math01/Mathwork/ as

2. test bash script by opening a terminal in Mathwork and trying:
3. open System>Preferences>Startup Applications
4. choose Add
Name: Mprime Autorun
Command: bash /home/math01/Mathwork/
Comment: starts mprime at logon
5. choose Save
6. note that checkbox on left is checked
7. choose Close

You should be able to convert my paths to yours and add the mprime switches within the quotes.

This should now autorun in a terminal window whenever you log on.

Last fiddled with by EdH on 2011-03-03 at 17:23
EdH is offline   Reply With Quote