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

Bug#546983: console-setup-mini: fails to set the keyboard layout (and falls back to "us" layout)



On Wed, 18 Nov 2009 22:16:22 +0200 Anton Zinoviev wrote:

> Hello!
> 
> I really appreciate you efforts to report everything relevant in the bug 
> tracking system.

I am glad you find my efforts useful!   :-)

> 
> On Sat, Nov 14, 2009 at 01:03:37AM +0100, Francesco Poli wrote:
> > 
> > I got the following error:
> > 
> >   /var/lib/dpkg/info/console-setup.postinst: line 115: /etc/console-setup/cached.kmap.gz: No such file or directory
> 
> This means the directory /etc/console-setup didn't exist.  As it is part 
> of the package console-setup-mini I suppose this was caused by previous 
> errors.

Not really.
It was caused by the fact that I purged console-setup-mini, as I later
found out and reported!

[...]
> On Sun, Nov 15, 2009 at 12:29:13PM +0100, Francesco Poli wrote:
[...]
> > I think there's a problem though: if I purge console-setup-mini, I lose
> > the /etc/console-setup/ directory!!
> 
> You are right!  Hopefuly with the new version of console-setup (1.47) 
> there are no shared configuration files so there will be no problems of 
> this sort any more.
> 
> > Do you want me to file a separate bug report for this problem?
> 
> I believe it is fixed in 1.47.  If you find a problem in version 1.47 or 
> following, do not hesitate to report it.

I upgraded to version 1.47 last night: I reconfigured console-setup and
keyboard-setup and tested the beast...
It seems to work as I want it to.

As soon as I find the time to migrate other boxes from
console-setup-mini to console-setup, I will check if everything is OK:
should something go wrong, I will report to the BTS, as appropriate.

[...]
> > I added the following line to /etc/default/console-setup
> > 
> >   FONT="lat1u-16.psf.gz"
> > 
> > and set the following variables to empty strings:
> > 
> >   FONTFACE=""
> >   FONTSIZE=""
> 
> I suppose it wasn't necessary to put empty strings here.

Actually, I don't know if this last change was necessary: it just
looked like the "right" thing to do, hence I did so without checking if
it was really needed...  ;-)

> 
> > After issuing
> > 
> >   # setupcon
> >   # invoke-rc.d hal restart
> >   Restarting Hardware abstraction layer: hald.
> > 
> > I finally get the fonts I wanted to get and an Italian layout (both
> > on the console and in X).
> 
> I don't know why the fonts in console-setup didn't work for you (as I 
> don't use toilet)

It should be easy to see for yourself: I suggest you to install toilet

  # aptitude install toilet

and then try it out:

  $ toilet -f future "hello, world"

Please compare the result of this command in X (inside a properly
configured UTF-8 capable terminal) and on a console with any of the
main fonts (Fixed, Terminus, and so forth).

> but I am glad that with lat1u-16 finaly everything is 
> ok. :)

Well, everything works as before...

I wish the Linux console fully supported Unicode (UTF-8), but that's
another story (see bug #500403).

Bye.


P.S.: Thank you so much for your explanations (even for those that I
cut in my reply).


-- 
 New location for my website! Update your bookmarks!
 http://www.inventati.org/frx
..................................................... Francesco Poli .
 GnuPG key fpr == C979 F34B 27CE 5CD8 DC12  31B5 78F4 279B DD6D FCF4

Attachment: pgphYgHkzp_Rm.pgp
Description: PGP signature


Reply to: