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
标签:中以,bin,为例,2019.1,applications,usr,opt,pycharm,快捷方式 来源: https://www.cnblogs.com/hszstudypy/p/11608318.html