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
Reply to: