前段时间把Ubuntu自带的邮件客户端thunderbird卸载了(因为不能自动更新),然后重新去官网下载了绿色版本,但是每次都从文件夹中打开有点麻烦,所以就尝试给它做了一个启动图标,其他程序类似
博主的桌面环境是GNOME3
首先进入应用程序目录
/usr/share/applications
然后新建一个thunderbird.desktop
sudo nano thunderbird.desktop
然后在nano中输入
[Desktop Entry] Encoding=UTF-8 Name=Thunderbird Name[zh_CN]=Thunderbird #如果系统为中文需要,其他语言类似 Comment=Thunderbird Webmail Client Exec=/.../thunderbird #根据软件的具体执行路径修改 Icon=/.../thunderbird.png #根据图标的具体执行路径修改 Icon[zh_CN]=/.../thunderbird.png #注意如果系统为中文需要,不然会显示空白图标,(可用xpm,svg,png格式) Terminal=false #软件打开时是否启动终端 StartupNotify=false Type=Application Categories=Application;Communication
保存退出
然后更改权限后即可在启动器看到图标了
sudo chmod u+x /usr/share/applications/thunderbird.desktop