如何在lubuntu中安装Songbird

Totem,mplayer,sopcast,realplayer,bmp
回复
ssword
帖子: 13
注册时间: 2006-12-30 14:28

如何在lubuntu中安装Songbird

#1

帖子 ssword » 2010-04-02 0:51

首先从这个链接下载songbird的压缩包:Songbird,解压到/opt,或者其他你所想要的目录。
双击目录里面的songbird文件就可以直接运行songbird了,但是如果想通过menu来启动songbird该怎么办呢?
lubuntu没有直接提供直接的编辑工具来编辑menu,只能通过添加.desktop文件来人工生成menu.
1.向系统中添加songbird的图标
进入songbird的目录,运行命令:

代码: 全选

sudo cp songbird-512.png /usr/share/pixmaps
2.在menu中添加条目
建立文件Songbird.desktop,添加内容:

代码: 全选

[Desktop Entry]
Name=Songbird
GenericName=Media Player
Exec=songbird
Terminal=false
Type=Application
Icon=songbird-512
Categories=AudioVideo;Player;Audio;GTK;
Encoding=UTF-8
将文件拷贝到/usr/share/applications/

3.在/usr/bin/中添加songbird的快捷方式
上面的menu链接会默认在/usr/bin/中寻找songbird文件,但其实/usr/bin/里面没有这个文件,所以要通过软链接添加songbird的快捷方式:

代码: 全选

sudo ln -s /opt/Songbird/songbird /usr/bin/songbird
将上面的/opt目录更换为你的系统中songbird的目录.

好了,大功告成,现在可以直接在menu->Sound&Video中找到songbird并启动它了.
回复