第一步:/usr/share/applications目录下创建桌面配置文件mytest.desktop
[Desktop Entry]
Name=mytest //应用程序名称
GenericName=mytest //应用程序通用名称
Comment=Qt mytest //应用程序简要描述
Exec=/usr/bin/untitled //可执行文件绝对路径
Terminal=flase //是否开启一个终端执行
Type=Application //快捷方式类型为应用
Icon=/home/forlinx/imgs/rtc-icon.png //图标文件绝对路径
Encoding=UTF-8 //编码格式