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