> > During installation Drakx correctly create XF86Config file with
> > Loadkeys "hr". But, after installation if i try to use XFdrake to
> > change resolution it puts Loadkeys "cr" which DON'T exist. Please,
> > can you correct it in XFdrake to put Loadkeys "hr" when using
> > Croatian localization?
> i find it weird since "cr" is nowhere to be found in the source.
> going to test...

Hi!

I think I found the bug in the code. It uses substr($keymap, 0, 2),
so it is legal you can't find "cr" in the code.

In the begining of Xconfig.pm (usr/lib/libDrakX) which XFdrake uses
there is:

===
# otherwise uses the rule substr($keymap, 0, 2)
my %keymap_translate = (
    cf => "ca_enhanced",
    uk => "gb",
);


1;

sub keymap_translate {
    $keymap_translate{$_[0]} || substr($_[0], 0, 2);
}
===

It uses substr($keymap, 0, 2) if keyboard can't be translated. I don't
know why XFdrake don't use %keyboards from keyboard.pm (usr/lib/libDrakX)
which have correct settings regarding croatian xkb map (instalation
uses that keyboard.pm and everything goes okay), look:

 "hr" => [ __("Croatian"),       "croat",       "hr" ],

probably it uses substr($_[0], 0, 2 of "croat" keymap table for console
which is not correct. 

Hope it helps!

Take care,
-- 
Vlatko Kosturjak - KoSt                                  ICQ: 3631122

Reply via email to