Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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]
Exec=/usr/local/MATLAB/R2012a/bin/matlab -desktop
Comment[en_US]=Running MATLAB
Comment=Running MATLAB



share|improve this answer

Your Answer


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.