问题0:启动后,总是报1个字体错误:new_face failed.maybe the font path is wrong. please supply the text font file(`/.mplayer/subfont.ttf).
解决办法:终端里输入
cd /root/.mplayer
cp /usr/share/fonts/zh_CN/zysong.ttf
mv zysong.ttf subfont.ttf
(必须保证/usr/share/fonts/zh_CN/zysong.ttf这个路径里面有zysong.ttf这个字体文件,也可以用其他字体,比如宋体,把路径改了就是了。)
问题1:mplayer打开含中文路径或中文名文件时报错
解决办法:编辑mplayer.desktop,因为个人安装mplayer的路劲不一样,这里不提供精确的路径,可以通过查找mplayer.desktop来确定它的路径。
用Vim或gedit打开mplayer.desktop,然后做如下更改
将 exec=gmplayer %U 改为 exec=gmplayer %f 即可。解析:%U是URL,%f文件名,估计是url解析库的问题,期待修正。