添加ubuntu桌面图标
2010-10-14 15:43
381 查看
以电子邮件客户端thunderbird为例:
今天在debian下安装了thunderbird。
下载地址:http://www.mozilla.com/en-US/thunderbird/
一、下载thunderbird-2.0.0.0.tar.gz到/home/lana/downloads
>cd /home/lana/downloads
>tar -xzf thunderbird-2.0.0.0.tar.gz
解压后在/home/lana下产生thunderbird目录,进入该目录发现里没有configure文件,而且该目录下有一个thunderbird执行文件。可见thunderbird已经被编译过了。
>./thunderbird
执行提示出错:
lanazou:/home/lana/downloads/thunderbird# ./thunderbird
./thunderbird-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
解决方法:
apt-get install -u libstdc++5
再执行./thunderbird就可以正常运行thunderbird
二、都正常运行之后,在“应用程序”并没有出现thunderbird的快捷图标。
到/usr/share/applications/下查找也没有thunderbird.desktop文件,所以“应用程序”就不会有thunderbird的图标了。
解决方法:
>cd /usr/share/applications
>vi thunderbird.desktop
在thunderbird.desktop中输入如下内容:
[Desktop Entry]
Name=Thunderbird
Comment=Read/Write Mail/News with Mozilla Thunderbird
Exec=/usr/bin/thunderbird
Icon=/home/lana/downloads/thunderbird-2.0.0.0/icons/mozicon50.xpm
Terminal=false
Type=Application
Categories=Application;Network;
注意:里面的文件路径根据自己文件存放位置不同来写的。
退出thunderbird.desktop,保存。再打开“应用程序”--“internet”就会发现thunderbird的图标,点击可以正常运行。
今天在debian下安装了thunderbird。
下载地址:http://www.mozilla.com/en-US/thunderbird/
一、下载thunderbird-2.0.0.0.tar.gz到/home/lana/downloads
>cd /home/lana/downloads
>tar -xzf thunderbird-2.0.0.0.tar.gz
解压后在/home/lana下产生thunderbird目录,进入该目录发现里没有configure文件,而且该目录下有一个thunderbird执行文件。可见thunderbird已经被编译过了。
>./thunderbird
执行提示出错:
lanazou:/home/lana/downloads/thunderbird# ./thunderbird
./thunderbird-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
解决方法:
apt-get install -u libstdc++5
再执行./thunderbird就可以正常运行thunderbird
二、都正常运行之后,在“应用程序”并没有出现thunderbird的快捷图标。
到/usr/share/applications/下查找也没有thunderbird.desktop文件,所以“应用程序”就不会有thunderbird的图标了。
解决方法:
>cd /usr/share/applications
>vi thunderbird.desktop
在thunderbird.desktop中输入如下内容:
[Desktop Entry]
Name=Thunderbird
Comment=Read/Write Mail/News with Mozilla Thunderbird
Exec=/usr/bin/thunderbird
Icon=/home/lana/downloads/thunderbird-2.0.0.0/icons/mozicon50.xpm
Terminal=false
Type=Application
Categories=Application;Network;
注意:里面的文件路径根据自己文件存放位置不同来写的。
退出thunderbird.desktop,保存。再打开“应用程序”--“internet”就会发现thunderbird的图标,点击可以正常运行。
相关文章推荐
- Ubuntu 给eclipse添加桌面图标
- Ubuntu 给eclipse添加桌面图标
- Ubuntu 给应用程序添加桌面图标(本文以Eclipse为例)
- Ubuntu14.04添加eclipse到桌面图标
- Ubuntu中修改桌面图标大小 添加回收站
- ubuntu添加桌面快捷方式图标
- Ubuntu 给应用程序添加桌面图标(本文以Eclipse为例)
- Ubuntu怎么在桌面上添加应用图标
- ubuntu 给app添加桌面图标
- 如何在Ubuntu上添加桌面图标?
- Ubuntu下经典JAVA开发环境搭建 以及 Ubuntu中如何在桌面、启动面板以及应用程序菜单上添加图标
- ubuntu添加或删除桌面图标
- ## ubuntu 14.04 桌面版 桌面图标添加 ##
- Ubuntu添加桌面图标
- ubuntu如何在多个工作区之间自由切换以及添加返回桌面图标
- Ubuntu 给应用程序添加桌面图标
- Ubuntu中给eclipse和android studio添加桌面快捷图标
- Ubuntu14.04给桌面上添加计算机图标
- ubuntu-添加桌面应用程序图标
- ubuntu添加自己的应用程序桌面图标