Cyrillic in Nautilus


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Cyrillic in Nautilus
# 1  
Old 10-07-2008
Cyrillic in Nautilus

Well. Again.

I have followed all the instructions in the Russian localization HOWTO and I am able to type in Russian and read it correctly in most programs such as Firefox, email and so on. However in the Nautilus file viewer, I get only ________ marks. I've seen some packages for Russian language support, but the thing is, I don't want to translate my entire OS to Russian, I just want to be able to display filenames written in Russian correctly.

PS. and i don't want to use KDE. ))
# 2  
Old 10-07-2008
I guess the font you have configured GTK to use for file names etc does not have the Cyrillic component of the character set. You will probably want a Unicode font and check that it has the Cyrillic space. (Further assuming that your filenames are in Unicode, not in some random legacy Russian encoding.)
# 3  
Old 10-07-2008
Maybe the OP expects transliteration - files with English character names get the correct Russian characters instead. Using a different locale setting and font encoding will not correct that problem, AFAIK. Extended fonts use different character set spaces as era noted. They do not overlap this way.
# 4  
Old 10-07-2008
era Now i'm using UTF-8 but russian files are maybe KOI8-R or even CP1251.
i have instal many cyrillical libs. some times they (files) look like ????? or ____ ))

jim mcnamara no i don't thik so.

I can do it when i choose Russian language in gdm and set russian locale. But Gnome will be in russian language and i don't need this.

I'am using FreeBSD7 Stable + Gnome 2.20.1
# 5  
Old 10-08-2008
There are several layers here so it's icky to troubleshoot. If you could show the raw file names we'd have something to go on. Do you get them displayed correctly at the terminal prompt with ls? If not, does it help if you pass them through iconv? I'd suggest you rename them to UTF8 (or mount the file system with some suitable file name charset option, if you can).

Code:
ls -l | iconf -f koi8r  # or -f cp1251

# 6  
Old 10-08-2008
in what file system are these files?
and how it is mounted?
# 7  
Old 10-08-2008
Quote:
Originally Posted by era
There are several layers here so it's icky to troubleshoot. If you could show the raw file names we'd have something to go on. Do you get them displayed correctly at the terminal prompt with ls? If not, does it help if you pass them through iconv? I'd suggest you rename them to UTF8 (or mount the file system with some suitable file name charset option, if you can).
No i can't see them at the terminal and at the file manager. And iconv doesn't help me. What exactly files do you need? Well here some files.

~/.login_conf
Quote:
# $FreeBSD: src/share/skel/dot.login_conf,v 1.3 2001/06/10 17:08:53 ache Exp $
#
# see login.conf(5)
#
me:\
:charset=KOI8-R:\
:lang=ru_RU.KOI8-R:
/etc/rc.conf
Quote:
linux_enable="YES"

ifconfig_sk0="DHCP"
hostname="Lev"

moused_port="/dev/psm0"
moused_type="auto"
mousechar_start="3"
moused_flags="-3"
moused_enable="YES"

rpcbind_enabe="YES"
nfs_server_enable="YES"
mountd_flags="-r"

fusefs_enable="YES"
firewall_enable="YES"
firewall_type="open"
gnome_enable="YES"

mousechar_start="3"
saver="logo"
font8x8="cp866-8x8"
font8x14="cp866-8x14"
font8x16="cp866b-8x16"
scrnmap="koi8-r2cp866"
keymap="ru.koi8-r"
/etc/X11/xorg.conf

Quote:
Section "Files"
RgbPath "/usr/local/share/X11/rgb"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/misc"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/100dpi"
FontPath "/usr/local/lib/X11/fonts/URW/"
FontPath "unix/:7101"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
FontPath "/usr/local/share/koi8r-ps"
EndSection
Quote:
Originally Posted by broli
in what file system are these files?
and how it is mounted?
I need to mount NTFS system. I'm using ntfs-3g driver.
i have used this functions

ntfs-3g /dev/ad5s1 /mnt -o locale=ru_RU.KOI8-R
ntfs-3g /dev/ad5s1 /mnt -o locale=ru_RU.CP1251

with this locales

ru_RU.CP1251
ru_RU.CP866
ru_RU.ISO8859-5
ru_RU.KOI8-R
ru_RU.UTF-8

When i used ru_RU.ISO8859-5, my files were displayed like ???????????.doc
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Nautilus Issue

Good Morning, I have a file in the /.nautilus/thumbnails folder that I am unable to move between two NASs. My script copies it from the Sun machine to a NAS, but the name gets truncated to about 8 characters. The full filename on the Sun SPARC machine is strange:... (1 Reply)
Discussion started by: Stellaman1977
1 Replies

2. UNIX for Dummies Questions & Answers

Cyrillic Hostnames?

As the title suggests, I'm wondering if its possible to set a hostname to a name or word with Cyrillic letters (e.g. - Like the Russian alphabet). I tried installing the cyrillic-console package in Debian. I switched my desktop to Russian as well. However, when I try to set the hostname I get that... (2 Replies)
Discussion started by: Azrael
2 Replies

3. Shell Programming and Scripting

Korn shell to insert cyrillic characters into the databse

i have written a shell script that reads a csv file and inserts tokenized strings into the database. the problem comes when the csv file has cyrillic characters. how do i set the parameters in my shell script(korn shell) so that any characters can be inserted into the database. (3 Replies)
Discussion started by: vkca
3 Replies

4. Red Hat

nautilus is not remembering settings

nautilus is not remembering my settings. I have done everything I can think of to get this to work. I have deleted .gconf, .gconfd, and .gnome2. I tried to start over fresh and that did not work either. What else can I do? (4 Replies)
Discussion started by: cokedude
4 Replies

5. Ubuntu

Nautilus..launcher!!

Ha!! i am on ubuntu 11.04..i was customizing it the other day!!(applying themes,icons,conky and the likes..)..now i realize that the the "Create launcher..." option you get when you right click on the desktop doesn't create a new launcher!! :(...i checked the global menu under file..only to realize... (1 Reply)
Discussion started by: slotlocker
1 Replies

6. UNIX for Dummies Questions & Answers

Large Problem with nautilus

Hi, I am a torrent-maniak and I use Transmission. All things were good but Nautilus begun to show problem while I was runnning Transmission.Its situation was becoming worse and worse. Now, when I boot I can hardly open a nautilus window and browse my files.It will "stack" in seconds for sure! I... (2 Replies)
Discussion started by: hakermania
2 Replies

7. UNIX Desktop Questions & Answers

how to lock nautilus file browser

Hi Everybody.. I am using Moblin V2 which has nautilus file manager the one which is also used in Ubuntu. I want to lock the access to file system such that i can only browse my home folder not other locations like /, /usr, /bin and all. Or i want to create a partition of 10 or 15 GB so... (1 Reply)
Discussion started by: lokeshsingla
1 Replies

8. AIX

Unable to print Cyrillic fonts

Hi All I confifured HP 4250 printer on AIX server..I am unable to print cyrillic fonts prints. Please assist.. (0 Replies)
Discussion started by: kandatihari
0 Replies

9. UNIX Desktop Questions & Answers

Cyrillic under X

RedHat 7.2, Gnome 1.4. tried "everything" but still can't figure out how to make cyrillic characters work normally. actually I don't care about anything other than Opera (6.01). I need it to display cyrillic normally. If anyone knows the solution plz help. TIA!!! (2 Replies)
Discussion started by: D-Lexy
2 Replies
Login or Register to Ask a Question