SlackwareThis 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.
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.
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.
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!
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.