totem播放列表乱码解决
1、修改totem的配置(在终端输入以下命令)
gedit ~/.gnome2/totem_config
2 、加上以下两行点保存
subtitles.separate.font:VeraSansYuanTi
subtitles.separate.src_encoding:gb18030
做完上面的这些步骤以后,rmvb还是不可以播放。
提示说
概述:
SELinux is preventing totem from loading /usr/lib/codecs/drvc.so which requires
text relocation.
详细描述:
The totem application attempted to load /usr/lib/codecs/drvc.so which requires
text relocation. This is a potential security problem. Most libraries do not
need this permission. Libraries are sometimes coded incorrectly and request this
permission. The SELinux Memory Protection Tests
(http://people.RedHat.com/drepper/selinux-mem.html) web page explains how to
remove this requirement. You can configure SELinux temporarily to allow
/usr/lib/codecs/drvc.so to use relocation as a workaround, until the library is
fixed. Please file a bug report
(http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.
允许访问:
If you trust /usr/lib/codecs/drvc.so to run correctly, you can change the file
context to textrel_shlib_t. "chcon -t textrel_shlib_t '/usr/lib/codecs/drvc.so'"
You must also change the default file context files on the system in order to
preserve them even on a full relabel. "semanage fcontext -a -t textrel_shlib_t
'/usr/lib/codecs/drvc.so'"
Fix 命令:
chcon -t textrel_shlib_t '/usr/lib/codecs/drvc.so'
