hal with ntfs-3g when user UI language setting different from the user locale setting
Ambroz Bizjak
ambro at b4ever.net
Sat Dec 13 04:07:44 PST 2008
On Saturday 13 December 2008 11:10:11 Jethro Tull wrote:
> My computer is running slackware 12.1 in en_US language because i prefer
> OL. But I set the locale not to en_US because i need to get the correct
> characters when treating of filenames in local language. I think that's why
> when i mount an ntfs partition with hal and ntfs-3g driver in kde i cannot
> see any file which name contains non en_US characters. Does anyone have a
> work around for this?
First, make sure your distribution integrates ntfs-3g with HAL by installing a
fdi file which changes the fstype from "ntfs" to "ntfs-3g". If a
/sbin/mount.ntfs script is used instead, it will probably not work. This is
because the mount.ntfs script is an ugly hack that breaks mount options and
KDE can't know whether to provide the "locale" option or not.
An example of a fdi file: http://wiki.archlinux.org/index.php/HAL#NTFS
Second, HAL has a bug that will cause the mount to fail with the message
"TODO: Have to rethink extra options". This patch is needed:
http://cgit.freedesktop.org/hal/diff/tools/hal-storage-
mount.c?id=25f9536d8cd4ff534eb73dc603a38b7d64ebf81e
Finally, you have to use kde >=4.1.2. If you use 3.5, this patch is required:
http://websvn.kde.org/?view=rev&revision=864963
I suggest you forward this info to your distribution.
Note that HAL will provide a nicer way to handle ntfs-3g in the future, but
not all DE's support it yet.
More information about the hal
mailing list