Re: locale and font alias



T wrote:
Hi

My system comes with default locale not English. How can set the default
locale to English?

~$ sudo dpkg-reconfigure locales #As a User
~$ dpkg-reconfigure locales #As Root

use the SpaceBar key to place/remove an [x] in the boxes - use Tab key to jump
around, use Up/Down arrows as well, and Enter key to trigger.

As the side effect, the fixed font is of iso8859-15:

Make it look like this

[*] en_US ISO-8859-1

If you want only want that one available -- you can also select/deselect many.
Then you should see this in /etc/locale.gen

~$ cat /etc/locale.gen

en_US ISO-8859-1

#en_US.UTF-8 UTF-8

Note above, the UTF-8 entry is commented out - I did that using the
'dpkg-reconfigure locales' command above (using SpaceBar key to deselect)... I
*think* it's ok to manually edit the file (with root privs). See 'man locales'

$ grep ^fix /etc/X11/fonts/misc/xfonts-base.alias
fixed -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-15

Having removed all xfonts-*-transcoded fonts, my X won't start any more:

Fatal server error:
could not open default font 'fixed';

How can I fix that?

Note, remove and re-install xfonts-base didn't help.

Please help.

thanks

Not sure, Do you want X installed? Look at the output of this command;
~$ apt-cache showpkg xserver

If you want to use Xfree86 (Default on "Sarge") make sure you have atleast
these;
~$ sudo apt-get install xserver-common
~$ sudo apt-get install x-window-system-core

You likely need/want these 75 and 100dpi fonts perhaps(?)
~$ sudo apt-get install xfonts-75dpi
~$ sudo apt-get install xfonts-100dpi

(I also see I have many more fonts installed, such as
'xfonts-75dpi-transcoded', and 'xfonts-100dpi-transcoded', and many others for
whatever reason they are there).

To Reconfigure XFree86 or Xorg (/etc/X11/XF86Config-4 or /etc/X11/Xorg.conf)
use these respectively;

~$ sudo dpkg-reconfigure xserver-xfree86 # for Sarge (Stable)
~$ sudo dpkg-reconfigure xserver-xorg # for Etch (Testing and Unstable)

Here's some Font entries in my Sarge XF86Config-4 file;
[...]
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
[...]

Hth

Regards

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Problems with locales
    ... The garbled text during FBA means the default system font is set to some non ... english font. ... This system font is defined by a reg key. ... locale stuff from the SLX, ...
    (microsoft.public.windowsxp.embedded)
  • Re: building an OS Image
    ... Set the LOCALE in PB or environment to the Korean code page, ... registry to set the default Locale to English. ... >> I have meet this problem when i try the Chinese simsun font 2.20m. ...
    (microsoft.public.windowsce.platbuilder)
  • RE: Office Save As Windows
    ... will appear when ever I change my locale to non English. ... changed to different one (not match the font that the Windows used), ...
    (microsoft.public.office.misc)
  • Re: MIDP MIDlet: which characters are supported in the phone font?
    ... you're going on about the Locale class and saying that my using ... That's why I didn't say *anything* about the font, ... > set of characters displayable by any or all phones meant for that ... Because Korean phones also display non-Korean, ...
    (comp.lang.java.programmer)
  • Re: local problem in developing GUI
    ... > met some problems when developing GUI software for English Linux OS. ... There are not different versions of Linux for different languages. ... On top of this gettext is commonly-used to translate program ... output into the language specifed by the locale. ...
    (comp.os.linux.development.apps)