ubuntu 启动器中添加图标
一个桌面快捷方式是由内含该APP元信息(例如,app的名字,启动命令或者图标位置等)的.desktop文件所表示的。桌面快捷方式文件放置于/usr/share/applications或者~/.local/share/applications处。
[Desktop Entry] Encoding=UTF-8 Version=1.0 #version of an app. Name[en_US]=yEd #name of an app. GenericName=GUI Port Scanner #longer name of an app. Exec=node %f #command used to launch an app. Terminal=false #whether an app requires to be run in a terminal Icon[en_US]=/opt/yed-3.11.1/icons/yicon32.png #location of icon file. Type=Application #type Categories=Application;Network;Security; #categories in which this app should be listed. Comment[en_US]=yEd Graph Editor #comment which appears as a tooltip.
MimeType=image/x-foo;