Ubuntu创建快捷方式

1、把程序文件夹放到/opt/下
2、cd /usr/share/applications后创建.desktop文件

[Desktop Entry]
Version=1.0
Type=Application
Name=PhpStorm
Icon=/opt/Phpstorm/bin/phpstorm.png		  //图标位置
Exec="/opt/Phpstorm/bin/phpstorm.sh" %f   //程序执行文件位置
Comment=Lightning-smart PHP IDE
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-phpstorm

猜你喜欢

转载自blog.csdn.net/xyx_HFUT/article/details/82810513