LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-27-2007, 05:59 PM   #1
ruppertus
Member
 
Registered: Jun 2007
Location: Poland
Distribution: Arch (used to Debian, Ubuntu)
Posts: 55

Rep: Reputation: 16
[solved] ISO-8859-2 in xserver


I know that problem of fonts' encoding can be found everywhere but I still can't find the right solution. I've even solved it twice but I don't remember how...

Firstable I use Debian Sid/unstable and I don't use either KDE nor GNOME. My default window manager is fluxbox.

I configured my ISO-8859-2 fonts on my console properly:
I installed the following packages: locales (pl_PL) and fonty

I've installed xorg, biznet xfonts (iso-8859-2), msttcorefonts, ttf-dejavu packages
I set up the xorg then:

xorg.conf

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection


Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pl"
EndSection

I've add these lines to .bash_profile:
export LANG=pl_PL
export LC_CTYPE=pl_PL
export LC_MESSAGES=pl_PL
export LC_ALL=pl_PL

When I check the installed fonts in xfontsel:
xfontsel -sample "some special polish letters" &
I see a window with correct letters

The problem is that in some packeges like:
opera, openoffice, psi, etc. I can use Polish (iso-8859-2) letters and in others like mplayer, fluxbox menu, etc. I can't.

I know that there has to be a way to configure the right encodings globaly for all users and all aplications because I have another computer with Debian sid as well and I didn't have to configure each application seperatly.

Anyone can halp me please?

Last edited by ruppertus; 02-07-2008 at 07:30 AM.
 
Old 06-29-2007, 05:07 AM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Have you looked at the Debian documentation on locales?
 
Old 02-07-2008, 07:29 AM   #3
ruppertus
Member
 
Registered: Jun 2007
Location: Poland
Distribution: Arch (used to Debian, Ubuntu)
Posts: 55

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by maroonbaboon View Post
Have you looked at the Debian documentation on locales?
The solution was that I haven't checked /etc/environment
there has to be a line:
Code:
LANG="pl_PL"
 
  


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
ISO-8859-2 in xserver (I'm not a newbie) DOUBLE TOPIC, SORRY ruppertus Linux - Software 1 06-28-2007 05:59 AM
Lacking support for ISO-8859-1 NNP Linux - Software 2 02-07-2007 08:01 AM
Scary: ISO-8859-1 and 666 primo General 2 08-28-2005 04:49 AM
Problem with UTF-8 and ISO-8859-1 dasenjo Linux - Software 0 06-22-2003 12:14 AM
iso 8859 or iso 9960 tsundram Linux - Newbie 16 02-22-2002 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:55 PM.

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