Create an application launcher


For example:

Create a launcher to open Spyder

edit spyder.desktop

gedit ~/.local/share/applications/spyder.desktop

edit the .desktop content

#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Exec=/home/hunglin/anaconda3/bin/spyder # your command
Name=Spyder # display on applicaion list
Comment=Spyder # display near the icon
Icon=/home/hunglin/Pictures/Icons/spyder-icon # input picture path

save the file

change its permission to be executable

chmod a+x ~/.local/share/applications/spyder.desktop

Then, the launcher will show on Application list

https://www.unixmen.com/create-a-launcher-in-ubuntu-using-bash/


Author: Hung-Lin, Chen
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source Hung-Lin, Chen !
 Previous
筆電購買守則 筆電購買守則
這篇主要是想分享給對於電腦零件不熟悉,不過想購買新筆電的人儘量以超簡短敘述讓大家看完有個基本了解,比較多一點點的解釋放在Q&A
2021-08-08
Next 
要怎麼好好介紹自己的工作 | 生物資訊 要怎麼好好介紹自己的工作 | 生物資訊
起源前幾天聚會的時候聊到各自的工作內容時居然大家都不太理解我在做什麼讓我感到很難過明明生物資訊就已經算是顯學了但有一點可能是我介紹的太艱深了或許就說的簡單一點就好
2020-09-10
  TOC