ubuntu 快捷图标

ubuntu的图标都存在 /usr/share/applications下

图标是Desktop的后缀

首先gedit /usr/share/applications/xx.Desktop

xx为应用名称

复制:

[Desktop Entry]
Type=Application
Name=Pycharm
GenericName=Pycharm3
Comment=Pycharm3:The Python IDE
Exec=sh /home/zming/桌面/py/pycharm-2016.3.1/bin/pycharm.sh
Icon=/home/zming/桌面/py/pycharm-2016.3.1/bin/pycharm.png
Terminal=pycharm
Categories=Pycharm;

其中的Exec和Icon得更改为执行文件和图标实际路径

There are two ways of constructing a software design.One is to make it so simple that there are obviously no deficiencies;the other is to make it so complicated that there are no obvious deficiencies.
原文地址:https://www.cnblogs.com/yuanjunqq/p/6212561.html