LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-05-2012, 12:35 AM   #1
AngryAngry
Member
 
Registered: Jan 2011
Posts: 60

Rep: Reputation: 0
Slack won't copy Russian files


I've found it completely impossible to copy Russian language files to my removable usb mem sticks? Tried searching for an answer, found nothing. Do I need to install some kind of Russian Language support?

I used Thunar & Dolphin in XFCE, I did try to make sure the files were not read only/system/hidden and I had full permissions, I'm logged in as the Root user.
I have not tried console.
 
Old 07-05-2012, 01:25 AM   #2
bormant
Member
 
Registered: Jan 2008
Posts: 100

Rep: Reputation: 47
You need to configure russian locale (of your choice UTF-8, KOI8-R or more exotic cp1251, iso-8859-5) in /etc/profile.d/lang.sh and/or lang.csh.
For Thunar utf-8 support you need to add "utf8=true" stansa to [vfat], [ntfs-3g] etc. sections of /etc/xfce/xdg/xfce4/mount.rc.

More info (ru): http://linuxforum.ru/viewtopic.php?id=19691
 
Old 07-06-2012, 04:09 PM   #3
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
<Insert joke about built in security measures here>
 
Old 07-07-2012, 08:34 AM   #4
s1aw0
LQ Newbie
 
Registered: Jun 2012
Posts: 17

Rep: Reputation: Disabled
@AngryAngry

I guess you mean you cannot read file names written in Cyrillic, otherwise your question makes little sense. As have already been explained, you need a locale that supports Cyrillic, e.g., UTF8 or KOI8-R (with UTF-8 being more generic, AFAICT). In particular, with UTF8 being the default locale, I have no problems when downloading from the Internet and then saving files with names typeset in Russian.

It can be handy to use some language-specific options when mounting external drives (say, a USB stick or a Samba share). For example, if you choose KOI8-R for your PC, you may want to try mounting a Samba share with the "iocharset=koi8-r,codepage=866" options. Then you will see Russian names given to files on Windoze from you Linux machine.
 
Old 07-07-2012, 09:23 AM   #5
flank'er
Member
 
Registered: Mar 2010
Location: Russia
Distribution: Slackware64
Posts: 30

Rep: Reputation: 5
from terminal/xterm/konsole
Quote:
# mount /dev/sdX1 /mnt/tmp -t vfat -o codepage=866,iocharset=utf8
here /dev/sdX1 - your memory stick. good luck!
 
Old 07-07-2012, 10:24 AM   #6
qweasd
Member
 
Registered: May 2010
Posts: 436

Rep: Reputation: Disabled
In soviet Russia, the system changes YOUR locale!
 
Old 07-07-2012, 11:03 AM   #7
Alkin
LQ Newbie
 
Registered: Sep 2006
Location: Bulgaria
Distribution: Slackware
Posts: 24

Rep: Reputation: 2
Are you using the stock kernel? If you are familiar with kernel
compilation you may look at section
"File systems-->Native language support" for available options.

If with the stock kernel you may try the following:

1. In terminal as root
Code:
modprobe nls_cp1251
modprobe nls_iso8859-5
modprobe nls_cp1250
modprobe nls_koi8-r
modprobe nls_koi8-u/ru
2. Re-mount (re-connect) your USB drive.
3. Copy the files as normal user.

Don't be angry
 
Old 07-11-2012, 10:36 PM   #8
AngryAngry
Member
 
Registered: Jan 2011
Posts: 60

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by s1aw0 View Post
@AngryAngry

I guess you mean you cannot read file names written in Cyrillic, otherwise your question makes little sense. As have already been explained, you need a locale that supports Cyrillic, e.g., UTF8 or KOI8-R (with UTF-8 being more generic, AFAICT). In particular, with UTF8 being the default locale, I have no problems when downloading from the Internet and then saving files with names typeset in Russian.

It can be handy to use some language-specific options when mounting external drives (say, a USB stick or a Samba share). For example, if you choose KOI8-R for your PC, you may want to try mounting a Samba share with the "iocharset=koi8-r,codepage=866" options. Then you will see Russian names given to files on Windoze from you Linux machine.
I can read them, and even copy to the hardrive but they won't copy back onto the memory cards, I will try those other options guys thanks.
 
Old 07-27-2012, 08:57 PM   #9
AngryAngry
Member
 
Registered: Jan 2011
Posts: 60

Original Poster
Rep: Reputation: 0
Yes, No & Sorry

Quote:
Originally Posted by bormant View Post
You need to configure russian locale (of your choice UTF-8, KOI8-R or more exotic cp1251, iso-8859-5) in /etc/profile.d/lang.sh and/or lang.csh.
For Thunar utf-8 support you need to add "utf8=true" stansa to [vfat], [ntfs-3g] etc. sections of /etc/xfce/xdg/xfce4/mount.rc.

More info (ru): http://linuxforum.ru/viewtopic.php?id=19691
Yes that worked very easily, Thank you.

Quote:
Originally Posted by flank'er View Post
from terminal/xterm/konsole

here /dev/sdX1 - your memory stick. good luck!
I don't have sdX1 directory or file.

Sorry, I ought to have stated that I was a very knowledgeable Computer User but Linux Noob.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the keyboard layout (I have English-Russian set-up, Russian kbd wrong) Wombat Pete Linux - Newbie 20 05-07-2010 11:08 AM
Fresh Copy of Slack 10.2 Won't Detect Hardware Mach Won Slackware 6 05-23-2006 04:29 AM
Slack 10.2 - Kicker won't load - previous SuSE config files RedNovember Slackware 3 02-10-2006 03:15 AM
slack won't read other files - help silvercastle Slackware 8 04-09-2004 09:03 AM


All times are GMT -5. The time now is 03:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration