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.
1 Ok, I have ntfs partitions with lots of files named in different languages(using nonUS chars of course).
How to display their names corectly under linux console and/or KDE and its terminal?
Feel free to point out any F__king M_____s if there are some user-friendly. "I like to learn" : ))
2 Also, how can i combine Unicode support in Linux with my native language in a natural way (meaning for example using a certain layout and displaying my nonUS chars in console while using unicode_start).
Running Slack 10.0, 2.6.7 kernel (or 2.6.9 I can't remember if I compiled it :-)
Strange, but I did enable utf-8 for ntfs when I mounted it. It still displays trash. Though, I don't know if unicode is default for WinXP filesystem thingies? Maybe this is the problem?
I have used an '98 howto to set up my native language on the console. It was done via loadkeys and setfont in rc.local. Now, is there any _slackware_ way of doing this in some more elegant manner?
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646
Rep:
I struggled with international chars, too. The fix for me was to set the "iocharset" AND the "codepage" parameter when mounting, and ---- voilą! As far as I have read iocharset is deprecated and should be substituted with "nls".
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646
Rep:
Quote:
Originally posted by awl I have used an '98 howto to set up my native language on the console. It was done via loadkeys and setfont in rc.local. Now, is there any _slackware_ way of doing this in some more elegant manner?
I don't know if that's the real _slackware_ way, but I got this by setting environment variables like LC_LANG and LC_ALL. Sorry, but I'm working with Windows right now, so I cannot tell you _where_ I set them. I remember editing something in /etc/profile.d/ and the search brings up this: http://www.linuxquestions.org/questi...setting+locale
I don't know if that's the real _slackware_ way, but I got this by setting environment variables like LC_LANG and LC_ALL. Sorry, but I'm working with Windows right now, so I cannot tell you _where_ I set them. I remember editing something in /etc/profile.d/ and the search brings up this: http://www.linuxquestions.org/quest...+setting+locale
Thanks, I'm currently fiddling with those things you mentioned. I was confused a little by the fact that there is no recent documentation easily obtainable(searchable) which explains configuring localization for both the console or X, well at least at the level of a user with some intermediate (with holes here and there) level of understanding the system administration. Most of which I have found is something oooold, and simply beyond my (will for) understanding.
(a sidequestion: in many of these docs I read, you have to download various fonts and put it in some directories and then run some strange commands for X(Free86)...Is this really necessary for present-day distros? I am from Europe, not from Pluto.)
So, If somebody knows a nice introduction to these issues, it would be appreciated! Or a tool, that can do it for you (excluding KDE's tool from Control Centet)
Well, it's not that hard, to customize console you need to edit /etc/profile.d/lang.sh , /etc/rc.d/rc.keymap and /etc/rc.d/rc.font. In X.Org you need to set the keyboard map in /etc/X11/xorg.conf and well, the already setup lang.sh file.
If you did a full installation of Slackware it comes with a lot of foreign fonts so you shouldn't have any problems. And installing fonts is not that hard, http://artwizaleczapka.sourceforge.net/README there you can see how to install artwiz fonts (a nice set of fonts for X).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.