Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-20-2003, 02:51 AM
|
#1
|
LQ Newbie
Registered: Apr 2003
Posts: 3
Rep:
|
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.
|
|
|
11-07-2003, 10:24 AM
|
#2
|
Member
Registered: Oct 2003
Location: ex USSR, Canada
Posts: 58
Rep:
|
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?
|
|
|
11-21-2003, 10:17 PM
|
#3
|
Member
Registered: Jul 2003
Location: Henderson, NV
Distribution: Slackware
Posts: 47
Rep:
|
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.
|
|
|
11-23-2003, 01:21 AM
|
#4
|
Member
Registered: Jul 2003
Location: Henderson, NV
Distribution: Slackware
Posts: 47
Rep:
|
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!
|
|
|
11-23-2003, 08:19 AM
|
#5
|
Member
Registered: Sep 2003
Location: Czech Republic - Prague
Distribution: Slackware 9.1
Posts: 61
Rep:
|
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.
|
|
|
11-23-2003, 08:29 AM
|
#6
|
Senior Member
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307
Rep:
|
Follow these instructions in the exact order they're presented and your fonts will come up OK in whatever DE you're using.
|
|
|
11-24-2003, 07:33 AM
|
#7
|
Member
Registered: Oct 2003
Location: ex USSR, Canada
Posts: 58
Rep:
|
Thanks, Azmeen. Excellent instructions and worked great.
Cheers!
|
|
|
11-24-2003, 10:21 AM
|
#8
|
Member
Registered: Jul 2003
Location: Henderson, NV
Distribution: Slackware
Posts: 47
Rep:
|
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?
|
|
|
11-24-2003, 04:32 PM
|
#9
|
Member
Registered: Sep 2003
Location: Czech Republic - Prague
Distribution: Slackware 9.1
Posts: 61
Rep:
|
I think you must have support in kernel for cyrillic filenames in console. But try to goole some cyrillic howto.
|
|
|
12-26-2003, 09:28 PM
|
#10
|
Member
Registered: Jul 2003
Location: Henderson, NV
Distribution: Slackware
Posts: 47
Rep:
|
What kernel would you need to have support for cyrillic filenames? I'm running Slack 9.1 with kernel 2.4.22
|
|
|
12-26-2003, 09:55 PM
|
#11
|
Member
Registered: Jul 2003
Location: Henderson, NV
Distribution: Slackware
Posts: 47
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|