为Debian/Ubuntu配置totem-xine
出自Linux Wiki
Debian和Ubuntu默认使用totem作为电影播放机,由于种种原因,默认安装的totem不能播放wmv、rmvb等格式的视频。
原理简介
实际上这是因为默认安装的totem是基于GStreamer的[1],而totem还有基于xine-lib的版本[2],这一版本支持的媒体格式就比较多了。可以安装totem-xine来实现这一点。
为了让系统中的totem命令直接指向功能更强大的totem-xine,还需要利用Debian/Ubuntu的update-alternatives。
操作过程
操作过程非常简单。先安装totem-xine:
$ sudo apt-get install totem-xine
如果需要Firefox的插件:
$ sudo apt-get install totem-mozilla
再用update-alternatives修改totem软链接指向:
$ sudo update-alternatives --config totem