Linux添加程序到应用列表

应用背景:

  下载的understand解压后执行文件每次都要切换到所在目录再用teminal ./understand打开,很麻烦,想搞一个桌面图标一类的快捷启动方式

解决方法:

  在/usr/share/applications目录下创建一个桌面图标文件,名为understand.desktop

 内容为:

[Desktop Entry]
Version=1.0
Name=understand
Exec=/root/Downloads/Understand/scitools/bin/linux64/understand
Terminal=false
Icon=/root/Downloads/Understand/scitools/bin/linux64/2333.png
Type=Application
Categories=Development

按需要修改Name,Exec,Icon项即可


百度到的方法,纯粹为自己看着方便,侵删

你可能感兴趣的:(Linux添加程序到应用列表)