sudo gedit /usr/share/applications/Pycharm.desktop #在终端进入桌面编辑
[Desktop Entry]
Type=Application
Name=Pycharm
GenericName=Pycharm3
Comment=Pycharm3:The Python IDE
Exec=sh /.../bin/pycharm.sh
Icon=/.../bin/pycharm.png #注意自己保存的地址
Terminal=pycharm
Categories=Pycharm;
建立matlab桌面 参考 http://www.linuxidc.com/Linux/2011-01/31632.htm
sudo gedit /usr/share/applications/Matlab.desktop
[Desktop Entry]
Type=Application
Name=Matlab
GenericName=Matlab 2010b
Comment=Matlab:The Language of Technical Computing
Exec=sh /usr/local/MATLAB/R2015a/bin/matlab -desktop
Icon=/usr/local/MATLAB/R2015a/toolbox/nnet/nnresource/icons/matlab.png
Terminal=false
Categories=Development;Matlab;
后来在最左边搜索本地资源,然后将matlab图标拖到菜单栏就可以了,我遇到了一个错误,error starting destop,解决办法写在这里
http://blog.csdn.net/hjxu2016/article/details/69948853