1. 程式人生 > >Ubuntu建立快捷方式

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