Document Actions
gnome下自动mount后中文无法显示的解决
在 GNOME 里,自动挂载时用什么参数,是写在 GNOME 的“注册表”gconf 里的,gnome-mount 挂载时会读里面的mount_options。详见 gnome-mount软件包和 man gnome-mount 手册页。
解决方法:
- 打开 gconf-editor。
- 展开目录树: system/storage/default_options,应该会看到 5 项:
iso9660, ntfs, ntfs-3g, udf 和 vfat。
- 需要关注的可能只有 iso9660、ntfs-3g 和 vfat。
a) iso9660 的 mount_options 可能要追加 iocharset=utf8。
如: [uid=,iocharset=utf8]
b) ntfs-3g 的 mount_options 是 [locale=] 即可。这个应该是默认值。 注意等号后不需要添加任何参数,系统会在挂载时自动探测适当的locale 值。
c) vfat 的 mount_options,追加 utf8,变成
[shortname=lower,uid=,utf8]
这是因为目前 gnome-mount 0.7 版本只支持 uid= 和 locale= 这两个自动参数,尚未支持 iocharset=,所以暂时得手动添加。希望gnome-mount能在后续版本加入。

