how to get utf8 support for auto mount by hal(udev)?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
how to get utf8 support for auto mount by hal(udev)?
My Slackware linux can auto mount or unmount USB-disk by udev, but when USB-disk mounted by udev, there is a bad interface, all chinese word display "???", I think should mount -o iocharset=zh_CN.utf8 , but auto mount by udev , I dont' know how to edit mount rules.
Don't understand that solution. Is there another way? To cause HAL mount vfat with exact flags, such as iocharset=utf-8.
Why should i edit my fstab? I don't want to. Wanna mount any vfat filesystem with correct options. Example:
today i connect my flashdrive, ok, an entry for it /dev/sda1 in fstab is suitable for me
tomorrow i connect flashdrive with reiserfs, which doesn't understand iocharset option
day after tomorrow i connect two flashdrives, so i should create two entries in my fstab and so on.
There should be away to make HAL mount the filesystem with the option. And not using any third-party like http://slackwareart.blogspot.com/200...slackware.html when a program EDITS(imagine that) my fstab every time i insert my flashdrive into usb port. fstab is something static, not dynamic
I hope this will help:
gconftool -g /system/storage/default_options/vfat/mount_options
#set options
gconftool -s /system/storage/default_options/vfat/mount_options --list-type=string -t list [shortname=lower,uid=,flush,utf8]
THANK YOU!
I've been trying for days to fix this and is so simple!(i am on debian testing now.) in ubuntu it's set by default.
THANK YOU AGAIN!
# which gconf
which: no gconf in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/qt/bin:/root/scripts)
Actually neither gconf, nor gnome-mount is available on standard Slackware distribution.
Do you compile a custom kernel? I, myself solved it by setting the default charset to utf-8
Code:
Location:
│ -> File systems
│ -> Native language support
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.