Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using Ubuntu 12.04 with Unity and I can't seem to be able to use any shortcuts on Matlab. It appears that they go directly to Unity and bypass Matlab all together.

For instance, if I press F10 to do Debug->Step, it opens up dropdown menu under the icon 'mail'.

How can I can I fix this?

share|improve this question
    
What happens if you use a matlab shortcut that does not exist in Unity? If this works you could work around the issue by redefining your shortcuts. –  Dennis Jaheruddin Nov 14 '12 at 14:32
add comment

1 Answer

I dont really catch your question. You want to create a desktop shortcut or shortcut on the side bar. If you want to create the desktop shortcut, the following tutorial is quite easy to follow

http://www.linuxandlife.com/2012/07/how-to-create-launcher-in-linux-mint-13.html

Just install gnome-desktop-item-edit and use it. After create the .desktop file, you also need to download icon for the shortcut. Just google it.

This is my code of .desktop file

 #!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=/
Name[en_US]=MATLAB-R2012a
Exec=/usr/local/MATLAB/R2012a/bin/matlab -desktop
Comment[en_US]=Running MATLAB
Name=MATLAB-R2012a
Comment=Running MATLAB
Icon=/usr/local/MATLAB/R2012a/matlabicon.png

Regards,

Nam

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.