| Author |
Message |
jimmytom
Joined: 09 May 2012 Posts: 9
|
Posted: Thu 10 May 2012, 00:07 Post subject:
How to read Thai file name from removable device /mnt/sdb1 ? Subject description: Solved! |
|
I am a newbie from thailand .
Problem in Puppy 5.2
When i add tahoma ttf in /usr/share/fonts/default/TTF. I can read thai language from Firefox browser but can not read file name from removable device < /mnt/sdb1 > that show ¨????????.doc¨
Please help me , thanks .
|
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2215 Location: near here
|
Posted: Fri 11 May 2012, 13:52 Post subject:
|
|
Hi jimmytom
Welcome to the kennels
It is just removable drives or all filer windows?
you could try changing the gtk+ font...
go to-
PuppyMenu > Desktop > Desktop Setting > JWM configuration
then select desktop tab, and click GTK+ theme followed by Font
select your font
click Okay, Okay and restart JWM.
----
http://puppylinux.org/wikka/jwm
_________________ Wiki Audacity 2.0.1
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9848 Location: Arizona USA
|
Posted: Fri 11 May 2012, 17:00 Post subject:
|
|
Jimmytom, just so I'm clear, do you mean that files ending in .doc are not shown while other files are shown?
|
|
Back to top
|
|
 |
jimmytom
Joined: 09 May 2012 Posts: 9
|
Posted: Sat 12 May 2012, 00:13 Post subject:
jimmytom Subject description: thanks |
|
Thanks for your kinds.
Dear darkcity . I go to your suggestion but no change in ???? file name.
Dear Flash.
All files that saved in thai name in /mnt/sdb1 shown
????.doc
????._files
????.gif
????.htm
but in /mnt/sda 1 i can read thai - name files.
< no problem >
|
|
Back to top
|
|
 |
Makoto

Joined: 03 Sep 2009 Posts: 1369 Location: Out wandering... maybe.
|
Posted: Sat 12 May 2012, 00:50 Post subject:
|
|
You'll probably need a Unicode-compatible font installed, at least. (I don't know if you can change codepage/location in Puppy 5, but that may not be necessary... we'll see.)
If you have a Windows system, copy the file arialuni.ttf from Windows' fonts directory to the font directory on your Puppy 5 system. And, to be on the safe side, restart the X server. Do the filenames show properly?
Alternately, you can find other Unicode TTFs on the net (a number of which aren't commercial like Microsoft's arialuni, and can be downloaded freely), but I don't have any examples handy.
_________________ [ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9848 Location: Arizona USA
|
Posted: Sat 12 May 2012, 01:04 Post subject:
|
|
If you copy one of the files that doesn't show correctly in sdb1, from sdb1 to sda1, does it show correctly in sda1?
|
|
Back to top
|
|
 |
jimmytom
Joined: 09 May 2012 Posts: 9
|
Posted: Sun 13 May 2012, 07:41 Post subject:
|
|
Dear Flash
When i copy ???.doc from /mnt/sdb1 to /mnt/sda 5 , it show ???.doc.
When i copy <readable - thai - font > file from
/mnt/sda 5 to /mnt/sdb1 , it show <readable - thai - font > file.
When i insert other removable device. /mnt/sdc1 show ???.doc , ????.pdf.
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9848 Location: Arizona USA
|
Posted: Sun 13 May 2012, 08:07 Post subject:
|
|
Was Windows involved in creating or writing any of the files that are in sda5 or sdb1? I am just trying to bring out information so that someone who knows more than I do can figure out what is going on.
|
|
Back to top
|
|
 |
jimmytom
Joined: 09 May 2012 Posts: 9
|
Posted: Sun 13 May 2012, 08:19 Post subject:
|
|
Dear Makoto
In this picture, is it correct directory ?
| Description |
|
| Filesize |
31.96 KB |
| Viewed |
300 Time(s) |

|
|
|
Back to top
|
|
 |
jimmytom
Joined: 09 May 2012 Posts: 9
|
Posted: Sun 13 May 2012, 08:38 Post subject:
|
|
In PUPPY LINUX 4.2
Thai linux user solved this problem by
1..Go to /usr/local/bin/
2.Edit *drive all *file
line 170 >>mount -t vfat -o shortname=mixed,quiet,iocharset=utf8,umask=000 /dev/$ONEDRVNAME /mnt/$ONEDRVNAME #v411
But in PUPPY 5.2.2
We can*t solve that.
|
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2215 Location: near here
|
Posted: Mon 14 May 2012, 17:09 Post subject:
|
|
Hi JimmyTom
With Puppy anything is possible ; -)
Puppy Lucid also has file
/usr/local/bin/all_drive
open in geany and search for "mount -t vfat"
in Polarpup 005 its on line 377
| Code: | | mount -t vfat -o shortname=mixed,quiet${NLS_PARAM} /dev/$ONEDRVNAME /mnt/$ONEDRVNAME #v411 |
Maybe system variable NLS_PARAM is supposed to be set to iocharset=utf8 ???
or you could just add it in,
| Code: | | mount -t vfat -o shortname=mixed,quiet,iocharset=utf8${NLS_PARAM} /dev/$ONEDRVNAME /mnt/$ONEDRVNAME #v411 |
_________________ Wiki Audacity 2.0.1
|
|
Back to top
|
|
 |
jimmytom
Joined: 09 May 2012 Posts: 9
|
Posted: Tue 15 May 2012, 00:03 Post subject:
|
|
thanks darkcity .
I edit /usr/local/bin/all_drive
< in my puppy , it*s on line 327 >
| Description |
|
| Filesize |
62.38 KB |
| Viewed |
239 Time(s) |

|
|
|
Back to top
|
|
 |
jimmytom
Joined: 09 May 2012 Posts: 9
|
Posted: Tue 15 May 2012, 00:12 Post subject:
|
|
When i reboot computer.
Unreadable - thai -name files are not changed.
| Description |
|
| Filesize |
37.03 KB |
| Viewed |
238 Time(s) |

|
|
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2215 Location: near here
|
Posted: Tue 15 May 2012, 05:29 Post subject:
|
|
I think this it the route to the solution, but I would need to study the all_drives file. Shinobar would probably know.
_________________ Wiki Audacity 2.0.1
|
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3620 Location: around the bend
|
Posted: Tue 15 May 2012, 05:33 Post subject:
|
|
at a guess you need to copy the thai fonts out of the computer that created the files into puppy font folder. else look on the web or even this forum for more thai fonts
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
|
|
Back to top
|
|
 |
|