Ubuntu16制作程序圖標並添加到啟動欄和dash


https://sourceforge.net/p/freemind/discussion/22102/thread/33f5ff09/

一. 安裝程序並進入bin文件夾,以腳本./softwarename運行程序

Now, make it convenient (the easy way):
Create a desktop launch for unity.
While Freemind is still running:

二. 在程序運行時,右鍵--lock到啟動欄

Right-click on the Freemind icon in the unity launcher > Lock to Launcher.

三. 進入~/.local/share/applications,創建softwarename.desktop文件

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Understand
Icon=/home/penn/Software/DevSoftware/Understand/bin/linux64/understand.xpm
Path=/home/penn/Software/DevSoftware/Understand/bin/linux64
Exec=/home/penn/Software/DevSoftware/Understand/bin/linux64/understand
Terminal=false
Type=Application
Categories=Utility;Application;Development; //紅色兩部分為必須,否則啟動欄/dash不會顯示

四. 添加desktop文件運行權限

sudo chmod +x sftwname.desktop


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM