Jump to content

Arabic file names [solved]


Recommended Posts

I use mandrake 10.1 it support the arabic file names correctly if (and only if) i selected arabic as my language during setup.

 

Now I want to use another linux distribution called PClinuxOS it is based on mandrake

The problem that it has very simple setup with very a few question

It doesn't ask me about my language during the setup and therefore i don't get any support for arabic file names.

 

And My question is what kind of configuration should I modify in PClinuxOS to get the same arabic support as mandrake?

 

I though the key is in fstab file I tried to modify it to looks like the one I have in mandrake but still it doesn't work.

 

Please note that I have the problem only in file names, I can type & read arabic in any text Editor

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

Do you use KDE? If I remember correctly there is some bug in older versions of qt that have problems showing some fonts. Open qtconfig, go to the tab fonts, go to font substitution, select the font you use for filenames and add the arabic fonts. That should do it. (you may have to restart X)

Link to comment
Share on other sites

I think even though PCLinuxOS is derived from Mandrake, it is created specifically to be English only. I remember when I select another language other than English during Mandrake installation, it doesn't just install the KDE encoding for that language, but also UTF-8 capable bash shell. Maybe it's this shell that you need.

Link to comment
Share on other sites

Is my problem that complicated?

I don't ask for arabic support for PClinuxOS

It support arabic very well except one thing "filenames"

Is reading file names in arabic is that big problem?UTF-8 capable bash shell.

 

I can install that UTF-8 capable bash shell if this is the problem but what is its rpm name?

Link to comment
Share on other sites

Try mounting your partition(s) defining the UTF-8 charset, something like

/dev/hda8 /home reiserfs iocharset=utf8 0 0

 

Thats the first thing i tried to do when i faced this problem

and yes it doesn't work :D

 

utf8 is not only for arabic it is for many languages

how do i tell linux that mount my partitions with utf8 support and read it as arabuc letters not latin nor hebrew, etc ...

 

I think it is very hard problem, I'll wait for a while if i couldn't solve it, i think i have to give up and thank every one who tried to help me.

Link to comment
Share on other sites

PClinuxOS comes in only one CD and it doesn't include Genome

But I tried with another GUI called flux or something like that

and still the problem exist.

 

 

I don't think the problem in fstab file

I have now 2 computer one with mandrake (support arabic file names) and PClinuxOS

I modified the fstab file of PClinuxOS according to the fstab file of Mandrake but still nothing working

Edited by XMan357
Link to comment
Share on other sites

What's in your /etc/sysconfig/i18n configuration file?

Copypaste it here...

If you mean "Gnome" and "Fluxbox", then PCLinuxOS does have Gnome 2.8.2 (currently), although not in the CD... Simply "apt-get update" and after that 'apt-get install gnome" in a root console is enough.

Edited by scarecrow
Link to comment
Share on other sites

cat /etc/sysconfig/i18n

--------------------------------------------

SYSFONTACM=iso15

LANGUAGE=en_US:en

LC_ADDRESS=ar_EG

LC_COLLATE=en_US

LC_NAME=ar_EG

LC_NUMERIC=ar_EG

LC_MEASUREMENT=ar_EG

LC_TIME=en_US

LANG=en_US

LC_IDENTIFICATION=ar_EG

LC_MESSAGES=en_US

LC_CTYPE=en_US

LC_TELEPHONE=ar_EG

LC_MONETARY=ar_EG

LC_PAPER=ar_EG

Link to comment
Share on other sites

  • 3 weeks later...

I could find the solution in arabic forum

This solution should work with other languages also like hebrew

 

edit your /etc/fstab

add [iocharset=utf8] to the 4th column of any row contains the word vfat

i.e.

/dev/hda1 /mnt/win_c vfat defaults,iocharset=utf8 0 0
/dev/hda5 /mnt/win_d vfat defaults,iocharset=utf8 0 0
/dev/hda6 /mnt/win_e vfat defaults,iocharset=utf8 0 0

install the arabic support (or whatever your language)

urpmi locales-ar

 

add the following line to /etc/profile (for kde users)

export LC_ALL=ar_EG.UTF-8

 

add the following line to /etc/profile (for genome users)

export CHARSET=ISO_8859-6

export G_BROKEN_FILENAMES=1

 

reboot

thats all

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...