嵌入式-ubuntu创建快捷方式到桌面
嵌入式-ubuntu创建快捷方式到桌面
1.以创建QT快捷方式为例
2.需要先安装vim,如果提示’vim: command not found’,可用如下命令安装
sudo apt install vim
3.新建QtCreator.desktop文件
sudo vim /usr/share/applications/QtCreator.desktop
4.在新建文件里加入例如以下内容并保存:
[Desktop Entry]
Name=QtCreator
Exec=sh /opt/Qt/Tools/QtCreator/bin/qtcreator.sh
Icon=/opt/Qt/Examples/Qt-5.9.6/winextras/musicplayer/images/qt-logo.ico
Type=Application
StartupNotify=true