Centos7 将应用添加快捷方式到applications 中以pycham为例

安装版本pycharm-2019.1.3

安装路径:/opt/pycharm-2019.1.3/

vim  /usr/share/applications/pycharm.desktop
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Name=Pycharm
Comment=pycharm-2019.1.3
Exec=/opt/pycharm-2019.1.3/bin/pycharm.sh
Icon=/opt/pycharm-2019.1.3/bin/pycharm.png
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;
# 给文件赋予执行权限
chmod a+x /usr/share/applications/pycharm.desktop

 

上一篇:HDU 2853 (KM最大匹配)


下一篇:Java language