linux下为桌面添加程序快捷方式

时间:2021-06-28 10:21:11

桌面上新建:xxx.desktop

[Desktop Entry]

Encoding=UTF-8
Name=helloWorld
Comment=IconTest Link
Exec=/workspace/build-ListVIewWidget-Desktop_Qt_5_9_0_GCC_64bit-Debug/ListVIewWidget
Icon=/workspace/build-ListVIewWidget-Desktop_Qt_5_9_0_GCC_64bit-Debug/ListVIewWidget.ico
Terminal=false
StartupNotify=true
Type=Application

Categories=Application;Development;



然后:chmod 777 xxx.desktop