The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
nautilus-follow-symlink 1.0.99-pre.1 (Experimental branch) iBot Software Releases - RSS News 0 05-06-2008 05:40 AM
Nautilus-clamscan 0.2 (Default branch) iBot Software Releases - RSS News 0 05-05-2008 05:30 AM
Unable to print Cyrillic fonts kandatihari AIX 0 04-24-2008 10:56 AM
Nautilus-clamscan 0.1 (Default branch) iBot Software Releases - RSS News 0 04-19-2008 02:40 PM
Cyrillic under X D-Lexy UNIX Desktop for Dummies Questions & Answers 2 06-17-2002 01:10 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-07-2008
Levenson Levenson is offline
Registered User
  
 

Join Date: Sep 2008
Location: Kazakhstan, Astana
Posts: 9
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 (permalink)  
Old 10-07-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
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 (permalink)  
Old 10-07-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,643
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 (permalink)  
Old 10-07-2008
Levenson Levenson is offline
Registered User
  
 

Join Date: Sep 2008
Location: Kazakhstan, Astana
Posts: 9
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 (permalink)  
Old 10-08-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
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 (permalink)  
Old 10-08-2008
broli's Avatar
broli broli is offline
Registered User
  
 

Join Date: Dec 2007
Location: Argentina
Posts: 212
in what file system are these files?
and how it is mounted?
  #7 (permalink)  
Old 10-08-2008
Levenson Levenson is offline
Registered User
  
 

Join Date: Sep 2008
Location: Kazakhstan, Astana
Posts: 9
Quote:
Originally Posted by era View Post
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 View Post
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
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:20 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0