totem和Rhythmbox列表乱码解决

Totem,mplayer,sopcast,realplayer,bmp
回复
just_linux_it
帖子: 8
注册时间: 2011-04-03 0:31

totem和Rhythmbox列表乱码解决

#1

帖子 just_linux_it » 2012-12-26 21:49

1.对于RhythmBox列表乱码,网上有两种解决方法,在ubuntu和archlinux的中文wiki也有
一种是用 mid3iconv命令,
一种是在 .bashrc或者其他地方(我倾向于在.bashrc)中设置登陆的环境变量
export GST_ID3V2_TAG_ENCODING=GBK:GB18030:UTF-8
export GST_ID3_TAG_ENCODING=GBK:GB18030:UTF-8

2.对于Totem,最初我也期望用环境变量的方法,但是貌似没有GST_*_TAG_ENCODING的变量,至少看了totem和gstreamer的手册之后没有发现
后来发现在 终端中 使用 export LANG=zh_CN.GBK && totem 或者 env LANG=zh_CN.GBK totem ,打开一个totem窗口后再从 “电影”--->“打开”,可以避免乱码,但是这毕竟不是最简单的方法,每次都要用终端启动

后来搜索的出结论
首先定位 totem.desktop: locate totem.desktop, 返回结果:/usr/share/applications,
cd /usr/share/applications
sudo vi totem.desktop /*也可以用nano,gedit等编辑器*/
将 Exec=totem %U
改成 Exec=env LANG=zh_CN.GBK totem %U
完美解决



吃水不忘挖井人。。。。。。。。
https://wiki.archlinux.org/index.php/Ar ... #gstreamer
viewtopic.php?t=44002
http://wiki.ubuntu.org.cn/%E8%A7%A3%E5% ... E%E9%A2%98
mraandtux
论坛版主
帖子: 5211
注册时间: 2009-12-12 19:29
系统: Kubuntu

Re: totem和Rhythmbox列表乱码解决

#2

帖子 mraandtux » 2012-12-26 22:27

楼主火星了
头像
acer4740
帖子: 1405
注册时间: 2010-09-13 19:04
来自: 0xFF00EE

Re: totem和Rhythmbox列表乱码解决

#3

帖子 acer4740 » 2012-12-26 22:46

rhythmbox有没有安装文件夹自动组织播放列表的插件?
mimihu88
帖子: 552
注册时间: 2006-04-03 11:26

Re: totem和Rhythmbox列表乱码解决

#4

帖子 mimihu88 » 2013-01-02 21:14

懒得折腾,一般用smplayer和audacious

代码: 全选

$sudo 折腾
sudo: 折腾: command not found
fengzheng081212
帖子: 210
注册时间: 2012-01-08 11:27

Re: totem和Rhythmbox列表乱码解决

#5

帖子 fengzheng081212 » 2013-01-06 19:17

一种是用 mid3iconv命令 这个纯属馊主意,治标不治本!还是用深度音乐播放器好点,歌词都有了!
回复