Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Apr 2014, 12:34
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to read Thai file name from removable device /mnt/sdb1 ?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Author Message
jimmytom

Joined: 09 May 2012
Posts: 9

PostPosted: 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
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2411
Location: near here

PostPosted: Fri 11 May 2012, 13:52    Post subject:  

Hi jimmytom

Welcome to the kennels Cool

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

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10692
Location: Arizona USA

PostPosted: 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
View user's profile Send private message 
jimmytom

Joined: 09 May 2012
Posts: 9

PostPosted: 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
View user's profile Send private message 
Makoto


Joined: 03 Sep 2009
Posts: 1729
Location: Out wandering... maybe.

PostPosted: 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. Neutral

_________________
[ 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
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10692
Location: Arizona USA

PostPosted: 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
View user's profile Send private message 
jimmytom

Joined: 09 May 2012
Posts: 9

PostPosted: 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
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10692
Location: Arizona USA

PostPosted: 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. Smile
Back to top
View user's profile Send private message 
jimmytom

Joined: 09 May 2012
Posts: 9

PostPosted: Sun 13 May 2012, 08:19    Post subject:  

Dear Makoto
In this picture, is it correct directory ?
image-2.jpg
 Description   
 Filesize   31.96 KB
 Viewed   465 Time(s)

image-2.jpg

Back to top
View user's profile Send private message 
jimmytom

Joined: 09 May 2012
Posts: 9

PostPosted: 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
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2411
Location: near here

PostPosted: 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

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
jimmytom

Joined: 09 May 2012
Posts: 9

PostPosted: 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 >
image-vfat.jpg
 Description   
 Filesize   62.38 KB
 Viewed   416 Time(s)

image-vfat.jpg

Back to top
View user's profile Send private message 
jimmytom

Joined: 09 May 2012
Posts: 9

PostPosted: Tue 15 May 2012, 00:12    Post subject:  

When i reboot computer.
Unreadable - thai -name files are not changed.
image-3.jpg
 Description   
 Filesize   37.03 KB
 Viewed   432 Time(s)

image-3.jpg

Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2411
Location: near here

PostPosted: 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.
_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: 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
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0708s ][ Queries: 12 (0.0119s) ][ GZIP on ]