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.
I'm trying to localize my Slackware 14.2 to Russian and everything works just fine except the tty. I modified rc.font like this:
Code:
setfont -v LatArCyrHeb-16
for n in 1 2 3 4 5 6; do
echo -en "\033%G" > /dev/tty$n
done
But I only have Russian language in tty1, all others are showing squares where Cyrillic symbols are. Keyboard layout works fine everywhere, I had no problems with X, even man pages were localized without any problems.
What is my problem with fonts? Maybe something gets started after the script runs, but actually needs to be started before? How do I check it and fix it?
Have you seen slint? It started out as a project for Slackware i18n, but recently the developer (Didier Spaier, a frequent forum poster here), decided to branch out a bit more to better support international users, and it was enough that it shouldn't continue being a "Slackware project". But it is still essentially Slackware, but with much better support for non-English languages.
He states Russian is supported:
Quote:
Slint is available, from installation, in Dutch, English, French, German, Greek, Italian, Norwegian, Polish, Portuguese, Russian, Spanish, Swedish, Turkish and Ukrainian
Well, in a plain Linux console you can display a set of at most 512 glyphs (as provided by LatArCyrHeb-16 for instance), there is no way to overcome this limitation.
To display available glyphs in some font in a tty, load it then type "showconsolefont".
But you could use a framebuffer terminal like fbterm. Then you can display as many glyphs as you like, as under X. Run in a tty "fbterm -h" then for instance "fbterm -s 16". Ctrl+d or "exit" to go back to the standard tty.
One thing I've encountered in the past is that if you don't use setfont early enough in the boot then it only gets applied to the active virtual console. You can use setfont with the -C option in a loop to apply it to all consoles, but just moving it to an earlier point in the boot appears to make that unnecessary. I've started including it in the module load for the video driver like this:
Code:
# /etc/modprobe.d/i915.conf
# Use an install rule to make sure that the fonts are loaded
# when the video driver module is.
# (If you use this, then you will want to chmod -x /etc/rc.d/rc.font)
#
install i915 /sbin/modprobe --first-time --ignore-install i915 $CMDLINE_OPTS && /usr/bin/setfont ter-122b
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.