LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-20-2003, 02:51 AM   #1
karagh
LQ Newbie
 
Registered: Apr 2003
Posts: 3

Rep: Reputation: 0
Localization of Slackware 9.0


Sorry for my English.
I have a problem with localization of Slackware 9.0
I want Slackware understands Russian letters.
This is my sequence:
1. vi /etc/rc.d/rc.font
In this file:
setfont koi8r_8x16
for n in 1 2 3 4 5 6; do
echo -ne "\033(K" > /dev/tty$n
done
2. vi /etc/rc.d/rc.keymap
In this file:
loadkeys ru.map
3. chmod 755 /etc/rc.d/rc.keymap
4. vi /etc/profile
In this file:
export LC_ALL=
export LANG=ru_RU.KOI8-R
export LC_MESSAGES=POSIX
5. vi /usr/share/locale/locale/alias
In this file
russian ru
ru ru_RU
ru_RU ru_RU.KOI8-R
6. Now I have russian locale, but letters are NOT Russian - it's abracadabra!!!
I try all .maps with "ru" in /usr/share/kbd/keymaps/i386/qwerty
- but there is no effect - only abracadabra.
7. X-Windows: vi /etc//X11/XF86Config
In this file:
...
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/" - on 1st place
...
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "ru"
Option "XkbVariant" "winkeys"
Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
...
But in X (Gnome) I can not write ANY letter! - only rectangles in some fonts and
nothing in other.
8. Then I try TrueType fonts: vi /etc//X11/XF86Config
In this file:
...
FontPath "/usr/X11R6/lib/X11/fonts/TrueType/" -on 1st place
9. cp *.ttf fonts
10. cd /usr/X11R6/lib/X11/fonts/TTF
mkfontdir
mkfontdesc
mkfontscale
11. vi /etc/fonts/fonts.conf
...
<dir>/usr/X11R6/lib/X11/fonts</dir>
<dir>/usr/share/fonts</dir>
<dir>/usr/X11R6/lib/X11/fonts/TTF</dir>
<dir>~/.fonts</dir>
...
12. But now (in Gnome terminal) I have ONLY Russian letters !!! I can not write any Latin letter !
any command !
Where is my mistake ???
Help me please.
 
Old 11-07-2003, 10:24 AM   #2
ZiGiE
Member
 
Registered: Oct 2003
Location: ex USSR, Canada
Posts: 58

Rep: Reputation: 15
Similar problem...
My Gnome doesn't display any cyrillic fonts properly I get the same little squares with digits in them. What can I do about it?
 
Old 11-21-2003, 10:17 PM   #3
luegner
Member
 
Registered: Jul 2003
Location: Henderson, NV
Distribution: Slackware
Posts: 47

Rep: Reputation: 15
I'm also having the same problem with the digits and squares. I don't know how to configure cyrillic fonts so they display properly in everything.
 
Old 11-23-2003, 01:21 AM   #4
luegner
Member
 
Registered: Jul 2003
Location: Henderson, NV
Distribution: Slackware
Posts: 47

Rep: Reputation: 15
I got cyrillic fonts to display in everything. All I did was open the font installer in KDE and install all the fonts from my windows fonts directory and voila! All cyrillic fonts display properly now. I should include that I already had cyrillic fonts installed on my windows system so for anyone that doesn't have windows or cyrillic fonts installed, they will obviously have to find them on the web but just install them to your TTF directory in linux and everything should work fine. This is great!
 
Old 11-23-2003, 08:19 AM   #5
minio
Member
 
Registered: Sep 2003
Location: Czech Republic - Prague
Distribution: Slackware 9.1
Posts: 61

Rep: Reputation: 15
Or download cabextract and webfonts packages from dropline ftp install cabectract package and then webfonts package. Then you can remove cabextract package. Webfonts package contains free MS webfonts including cyrillic.
 
Old 11-23-2003, 08:29 AM   #6
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Follow these instructions in the exact order they're presented and your fonts will come up OK in whatever DE you're using.
 
Old 11-24-2003, 07:33 AM   #7
ZiGiE
Member
 
Registered: Oct 2003
Location: ex USSR, Canada
Posts: 58

Rep: Reputation: 15
Thanks, Azmeen. Excellent instructions and worked great.

Cheers!
 
Old 11-24-2003, 10:21 AM   #8
luegner
Member
 
Registered: Jul 2003
Location: Henderson, NV
Distribution: Slackware
Posts: 47

Rep: Reputation: 15
I've gotten everything to work except for file names. Does anyone know how to get cyrillic file names to show in the konsole as well as konquerer?
 
Old 11-24-2003, 04:32 PM   #9
minio
Member
 
Registered: Sep 2003
Location: Czech Republic - Prague
Distribution: Slackware 9.1
Posts: 61

Rep: Reputation: 15
I think you must have support in kernel for cyrillic filenames in console. But try to goole some cyrillic howto.
 
Old 12-26-2003, 09:28 PM   #10
luegner
Member
 
Registered: Jul 2003
Location: Henderson, NV
Distribution: Slackware
Posts: 47

Rep: Reputation: 15
What kernel would you need to have support for cyrillic filenames? I'm running Slack 9.1 with kernel 2.4.22
 
Old 12-26-2003, 09:55 PM   #11
luegner
Member
 
Registered: Jul 2003
Location: Henderson, NV
Distribution: Slackware
Posts: 47

Rep: Reputation: 15
I figured out how to do cyrillic filenames. You just have to add Russian as a language in the Country/Region & language area. Sometimes I guess you just have to walk away from something until the answer comes to you.
 
  


Reply



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
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM
Dual boot windows/slackware, but slackware installed first? Cryptic_K Slackware 3 11-20-2006 12:49 PM
localization question (hebrew) Nightfrost Linux - Software 5 05-24-2005 04:01 PM
Newer Slackware Packages on older slackware version pengStudent Slackware 2 11-12-2003 12:47 PM
wine and winesetuptk working well with slackware 9.0 and slackware 9.1 oobe Linux - Software 0 10-19-2003 12:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:05 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration