terminal執行
cd /usr/share/applications
sudo vim androidStudio.desktop
之後添加一些語句:
(記得把下面的“/path/to/icon”和“/path/to/sh”改成自己的icon和啓動路徑)
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[zh_CN]=/path/to/icon
Name[zh_CN]=AndroidStudio
Exec=/path/to/sh
Comment[zh_CN]=AndroidStudio
Name=AndroidStudio
Comment=AndroidStudio
Icon=/path/to/icon
然後在teminal裏面執行:
nautilus /usr/share/applications
裏面會出現一個
AndroidStudio的文件標識,把這個拖動到launcher上面就好了