View Full Version : Launching Maple 11
takkuso
September 3rd, 2008, 01:24 PM
I got maple 11 installed and running, but at the moment, I can only launch it using the terminal ->
export AWT_TOOLKIT=MToolkit && /home/tuck/maple11/bin/xmaple
Is there any way for me to create a shortcut in the pull down application menu? Or a shortcut on the desktop? (I'd rather have it in the menu, really)
P.S. I have only been using linux for a couple days, so please don't flame me, and I'd really appreciate a detailed answer if possible. Thank you very much.
kjohansen
September 3rd, 2008, 08:57 PM
you can make a desktop launcher.
right click on the desktop->create launcher.
then give the launcher a name, and paste the command that you listed in the command box. then click ok.
takkuso
September 3rd, 2008, 11:29 PM
"There was an error launching the appication.
Details:failed to execute child process "execute" (No such file or directory)"
Any tips?
takkuso
September 4th, 2008, 01:43 AM
update:
When I put
alias xmaple='export AWT_TOOLKIT=MToolkit && /your_maple_install_location/maple11/bin/xmaple &'
into the terminal, I can merely type "xmaple" and maple 11 will run perfectly. However, only until I close the terminal. When I reopen it and try to execute xmaple, it responds with "bash: xmaple:command not found"
I'm wondering if I can make that alias stick, so I could at least have an easy way to run it. Best scenario would be for me to make a shortcut on desktop or in menu.
Thanks
stumbleUpon
September 4th, 2008, 05:03 AM
update:
When I put
alias xmaple='export AWT_TOOLKIT=MToolkit && /your_maple_install_location/maple11/bin/xmaple &'
into the terminal, I can merely type "xmaple" and maple 11 will run perfectly. However, only until I close the terminal. When I reopen it and try to execute xmaple, it responds with "bash: xmaple:command not found"
I'm wondering if I can make that alias stick, so I could at least have an easy way to run it. Best scenario would be for me to make a shortcut on desktop or in menu.
Thanks
Open in any editor the .bashrc file present in your home directory. Add the alias you want. The command will be recognized when you open a new terminal.
To make a desktop shortcut, see the earlier post by kjohansen.
To add an item an the menu, right click on Applications --> Edit menus --> Choose a submenu you want --> New item --> Paste the path to the executable you want in the command box --> Close.
This will give you a new item in the menu.
takkuso
September 4th, 2008, 10:14 AM
Again, I appologize for my lack of basic knowledge.
I got the alias working perfectly, Thank you!
However, what would I type in the shortcuts to get them to launch properly? Just having "xmaple" in the command line doesn't work.
stumbleUpon
September 4th, 2008, 10:36 AM
Again, I appologize for my lack of basic knowledge.
I got the alias working perfectly, Thank you!
However, what would I type in the shortcuts to get them to launch properly? Just having "xmaple" in the command line doesn't work.
I would suggest splitting the earlier .bashrc entry in to two lines as
export AWT_TOOLKIT=MToolkit
alias xmaple='/your_maple_install_location/maple11/bin/xmaple'
This allows you to set the AWN_TOOLKIT separately from the alias to the xmaple executable.
To create a shortcut on your desktop
Right click on desktop --> Create Launcher --> Type Maple in the name box --> /your_maple_install_location/maple11/bin/xmaple in the comand box --> Choose an icon if you have/want --> Close
takkuso
September 4th, 2008, 10:54 AM
This is really wierd. I did as you said, Stumble, and it launched from the desktop, but now gives a blank screen; even when running xmaple from the terminal.
http://ubuntuforums.org/showthread.php?t=617730
Is basicly now what I'm ending up with.
stumbleUpon
September 4th, 2008, 11:01 AM
I dont know about this. Try with the full thing in the comannd box and see
export AWT_TOOLKIT=MToolkit && /your_maple_install_location/maple11/bin/xmaple &
Are you using compiz...? If yes, try disabling that and see it maple works.
If this fails, then i dont know the reason. Sorry.
takkuso
September 4th, 2008, 02:52 PM
"There was an error launching the application.
Details: Failed to execute child process "Export" (No such file or directory)"
I don't know what compiz is.. How would I check to see if I have it and disable it?
stumbleUpon
September 5th, 2008, 12:35 AM
Are you getting a blank screen even when you have
alias xmaple='export AWT_TOOLKIT=MToolkit && /your_maple_install_location/maple11/bin/xmaple &'
in the .bashrc file...?
You said earlier that it was working from the command line. Is that not fine enough?
Compiz is a compositing window manager http://freedesktop.org/wiki/Software/Compiz.
To disable compiz, right click on desktop --> change desktop background --> go to visual effects tab --> see if either the normal or extra visual effects are enabled --> choose none to disable compiz --> close
baggins
September 9th, 2008, 07:24 PM
"There was an error launching the application.
Details: Failed to execute child process "Export" (No such file or directory)"
You use Export (starting with a capital) you need to use export (in all lowercase)
I don't know what compiz is.. How would I check to see if I have it and disable it?
It's the nice desktop effects you get if you mark Extras in System -> Preferences -> Appearance -- Visual effects tab
-- Jon
relaxartwork
September 10th, 2008, 03:31 PM
the problem with maple follows from the Java runtime environment wich is installd with maple.
you should delete it an install the JRE of sun again.
sudo mv /opt/maple/jre.IBM_INTEL_LINUX/bin/java /opt/maple/jre.IBM_INTEL_LINUX/bin/java.old
sudo ln -s /usr/bin/java /opt/maple/jre.IBM_INTEL_LINUX/bin/java
(replace 'opt' with the path, where maple is installes)
chnhonker
September 12th, 2008, 04:03 AM
when you add the launch choose type "application in terminal" instead of the default "application"
srekkas
November 12th, 2009, 08:32 AM
I now that it is old post :)
With maple 12 you only need cretae launcher to "/home/yourname/maple12/bin/xmaple".
Maybe it be usefull for sameone.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.