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.
|
|
09-01-2005, 02:34 AM
|
#1
|
Member
Registered: Aug 2005
Location: Belgrade, Serbia
Distribution: Debian testing
Posts: 30
Rep:
|
international chars
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 :-)
|
|
|
09-01-2005, 02:38 AM
|
#2
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
It seems they're supported by the ntfs module http://linux-ntfs.sourceforge.net/info/ntfs.html
Try reading mount's man page, look for ntfs options.
|
|
|
09-01-2005, 02:50 AM
|
#3
|
Member
Registered: Aug 2005
Location: Belgrade, Serbia
Distribution: Debian testing
Posts: 30
Original Poster
Rep:
|
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?
|
|
|
09-01-2005, 02:59 AM
|
#4
|
Member
Registered: Aug 2005
Location: Belgrade, Serbia
Distribution: Debian testing
Posts: 30
Original Poster
Rep:
|
Another question, but similar.
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?
|
|
|
09-01-2005, 04:00 AM
|
#5
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,648
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".
|
|
|
09-01-2005, 04:14 AM
|
#6
|
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,648
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
|
|
|
09-01-2005, 06:06 AM
|
#7
|
Member
Registered: Aug 2005
Location: Belgrade, Serbia
Distribution: Debian testing
Posts: 30
Original Poster
Rep:
|
Quote:
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)
If not, well, I'll apply for Green Card Lottery!
|
|
|
09-01-2005, 10:28 AM
|
#8
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
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).
Last edited by gbonvehi; 09-01-2005 at 10:29 AM.
|
|
|
09-01-2005, 01:17 PM
|
#9
|
Member
Registered: Aug 2005
Location: Belgrade, Serbia
Distribution: Debian testing
Posts: 30
Original Poster
Rep:
|
Hey, that was useful! It solves the technicalities.
|
|
|
All times are GMT -5. The time now is 07:35 PM.
|
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
|
|