LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-10-2005, 04:13 AM   #1
zoharPL
LQ Newbie
 
Registered: May 2004
Location: Poland
Distribution: Debian
Posts: 16

Rep: Reputation: 0
Locales - Polish Fonts


Hi,
I'd like to ask about localization of Debian, where are the config files i need to change, for my wmaker work with polish fonts (I have polish fonts under console, but no in X). Whenever it is ISO-8859-2 or UTF-8 I just would like to have possibility to use polish fonts in different applications such as OOo, or Opera/Firefox... I wont put here config files for not to flood with data, but ask for cat files and I will put them here.
If anyone know, what to do, please help...
 
Old 04-15-2005, 11:32 PM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Have you tried (as root) "dpkg-reconfigure locales"?
 
Old 04-16-2005, 02:36 AM   #3
zoharPL
LQ Newbie
 
Registered: May 2004
Location: Poland
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Yes, but well... as I've written before, I HAVE polish keyboard/fonts in console, it just doesn't work under X's :S
 
Old 04-16-2005, 03:05 AM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Hmm... yes, in general you can set console keymap with "dpkg-reconfigure console-data", while "dpkg-reconfigure locales" defines what locale your apps under X server use. But come to think of it, OOo and Firefox do have their own locale packages that you need to install if you want to localize them. Sorry, I was a bit absent-minded. You should install these packages:

mozilla-firefox-locale-pl-pl
openoffice.org-l10n-pl

EDIT:
Oh, and the keymap under X is set in /etc/X11/XF86Config-4. You can probably change this keymap with "dpkg-reconfigure xserver-xfree86".

If you decide to edit /etc/X11/XF86Config-4 manually, there is a special section for keyboard that should look something like this:

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "pl"
EndSection

Last edited by Dead Parrot; 04-16-2005 at 01:14 PM.
 
Old 04-19-2005, 02:48 AM   #5
zoharPL
LQ Newbie
 
Registered: May 2004
Location: Poland
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Generated by dpkg reconfigure:
Code:
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "pl"
        Option          "XkbVariant"    "pl1"
        Option          "XkbOptions"    "pl"
EndSection
About the packages, I have both...
I'm not sure if it isn't about WMaker configuration, because alt is used for some combinations there, and I can't see right/left alt to choose, just alt, when right alt should be used for diactrics (if it does matter of course).
 
Old 04-19-2005, 04:34 AM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Your settings seem OK to me, although I thought pc104 was for U.S.-style keyboards and pc105 for European. But, then again, I'm no expert in localization and I'm running out of suggestions.

/usr/share/doc seems to have such directories as /locales and /localization-config but I don't know if there's anything useful. Also Debian has an extensive X Window System FAQ in /usr/share/doc/xfree86-common .

Sometimes also man pages can be useful. You can try "man -k locale" to search matching man pages for "locale". Man pages are sorted under different sections, for example locale(5) means that the locale page can be found from section 5 and you can view it with the "man 5 locale" command, or you can use the xman utility.

I'm sorry that I cannot help more but, as I said, I lack expertise in this area.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Japanese input under Polish locale Belegdol Linux - Software 1 09-17-2005 11:43 AM
Swapping desktop to Polish language for some users paragon17 Linux - General 4 05-14-2004 04:18 PM
locales? trendkiller Linux - Newbie 1 03-05-2004 08:53 AM
locales what are they citrus Linux - General 2 02-17-2004 06:27 AM
Polish characters missing in Java apps zgolus Linux - Software 0 12-03-2003 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration