[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: locale and font alias



T wrote:
> On Mon, 03 Jul 2006 22:51:44 -0700, Willie Wonka wrote:
> 
> >> 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
> 
> thanks for the clear and detailed instruction. Having done it, the
> x-window font problem still exists:

Hi;
You're very welcome - no prob... ;-)
Thanks for the props, though I must admit, you have a much better working
control of the *nix CLI than I do ;-)


> > If you want to use Xfree86 (Default on "Sarge") make sure you have
> > atleast these
> 
> I have all the required. 

Yes you do -- however; Now that i know you're using Xorg and _not_ Xfree86 
this is definitely a either a *symlink* or hardlink issue in the upgrade from
xfree86 to xorg, it's a well known issue, but i don't know/recall exactly how
to fix it ;-(

I recall reading much about it during the last few months )in the various NGs
(but I'm using Xfree86 still) so...
 
> $ dpkg --get-selections | grep -E 'xserver|x-window|xfonts'
> x-window-system-core                            install
> xfonts-100dpi                                   install
> xfonts-75dpi                                    install
> xfonts-artwiz                                   install
> xfonts-base                                     install
> xfonts-bolkhov-cp1251-75dpi                     install
> xfonts-bolkhov-cp1251-misc                      install
> xfonts-encodings                                install
> xfonts-intl-european                            install
> xfonts-konsole                                  install
> xfonts-scalable                                 install
> xfonts-terminus                                 install
> xfonts-utils                                    install
> xserver-common                                  install
> xserver-xorg                                    install

It looks like you have everything necessary - here's mine;

~$ dpkg --get-selections | grep -E 'xserver|x-window|xfonts'
x-window-system-core                            install
xfonts-100dpi                                   install
xfonts-75dpi                                    install
xfonts-base                                     install
xfonts-scalable                                 install
xserver-common                                  install
xserver-xfree86                                 install

Thanks for that dpkg CLI syntax :-)

> > Here's some Font entries in my Sarge XF86Config-4 file; [...] Section
> > "Files"
> 
> Here is mine, (for etch, from /etc/X11/xorg.conf):
> 
> -----------------------
>         RgbPath      "/usr/X11R6/lib/X11/rgb"
>         ModulePath   "/usr/X11R6/lib/modules"
>         FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
>         FontPath     "/usr/X11R6/lib/X11/fonts/misc"
>         FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
>         FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
>         FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
>         FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
>         FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
>         FontPath     "/usr/share/fonts/ttf/western"
>         FontPath     "/usr/share/fonts/ttf/decoratives"
>         FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
>         FontPath     "/usr/share/fonts/latex-ttf-fonts"
> -----------------------
 
Notice you have no entry;
 "FontPath        "unix/:7100"                  # local font server "
but "I'm not *certain* it needs to exist with Xorg - it would seem so though.

> Relevant info in /var/log/Xorg.0.log:
> 
> -----------------------
> (==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep 13 23:35:31 2005
> (==) Using config file: "/etc/X11/xorg.conf"
> (**) FontPath set to
> "unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100d

Note the FontPath set to "unix:7100" as the 1st entry -- and my XF86Config-4
file's first entry matches that, yours does not.

>
pi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/li
> b/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi" (==) RgbPath set to
> "/usr/X11R6/lib/X11/rgb" (==) ModulePath set to "/usr/X11R6/lib/modules"

Make sure ALL these paths exist AND that they contain what they're supposed to

> (II) Loading extension FontCache
> 
> (II) LoadModule: "type1"
> (II) Loading font Type1
> (II) Loading font CID
> Could not init font path element unix/:7100, removing from list!
> -----------------------

there's that pesky "unix/:7100" entry again -- hmmm...
  
> As I said, it was working fine, until I removed all xfonts-*-transcoded
> fonts. Now it is "could not open default font 'fixed'".

I hear ya -- how long have you been running Etch?
If all you did was remove/uninstall the *transcoded" Fonts, then replacing them
_should've_worked_.  

[ anecdotal ]
You know, I was having Keyboard issues so- I recently checked my Keyboard
output type using;
$ sudo kbd_mode
The keyboard is in raw (scancode) mode

Checking the man pages, it would seem only ASCII, or UTF-8 would be safe, but
it turns out X uses the Scan codes as Mapping codes -- bugged me out!

See 'man kbd_mode' and the "See Also" items listed at the bottom;  loadkeys,
dumpkeys, consolechars, setkeycodes, and setxkbmap -- I have no clue, but I
know enough not to alter it
...again... ;-)


> but that one has no answer. 

It's out there for sure -- just looking in the wrong place is all ;-)
 
> please help. My X is not starting. 
> 
> thanks a lot

you bet ;-) 
perhaps; http://wiki.debian.org/Xorg69To7
================================
[...]
The biggest problem with this is that the /usr/X11R6/bin directory must become
a symlink to /usr/bin, where all the Xorg binaries are now stored. Because no
one likes to have their programs deleted out from under them, the installation
of x11-common will fail if it tries to remove this directory and fails.
x11-common currently conflicts with packages in Debian that are known to
install anything to /usr/X11R6/bin, so that the directory can be automatically
cleared as well as possible before attempting installation.
[...]
==================================

Search the BUG reports throughout the various NGs about "Xorg broke my XFree86"
or  somesuch ("Sarge upgrade to Etch breaks X") . Wish I had a precise answer
for you...but such is not the case.

Regards


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



Reply to: