SliTaz SliTaz Forum

You are not logged in.

#1 2012-05-12 15:00:35

hrkljus
Member
Registered: 2012-05-12
Posts: 1

I know a solution to a bug (http://bugs.slitaz.org/?id=19)

Hi guys

Im new here and I know a solution to a bug, but am not really sure where to post it.

The bug Im talking about is this - http://bugs.slitaz.org/?id=19

Choosing the croatian keyboard layout when booting works in console (or whatever its called - the thing you get when you press Ctrl+Alt+F1, sry Im new), but when you press Alt+F7, in the normal graphical interface the keyboard doesnt work at all.

So I figured out what the problem is - the "/etc/X11/xorg.conf.d/40-Keyboard.conf" file is set incorrectly.

When you choose the croatian keyboard layout, the file is set to:

[c]

Section "InputClass"

    Identifier "Keyboard Defaults"

    MatchIsKeyboard "yes"

    Option "XkbLayout" "croat"

Endsection

[/c]

instead of:

[c]

Section "InputClass"

    Identifier "Keyboard Defaults"

    MatchIsKeyboard "yes"

    Option "XkbLayout" "hr"

Endsection

[/c]

So changing the fourth line from 'Option "XkbLayout" "croat"' to 'Option "XkbLayout" "hr"' and logging out and back in solves the problem completely (btw "hr" stands for "hrvatska" which is croatian for croatia).

As I said, Im not sure if this is the right place to post this, and I apologize if Im wrong (tried asking on the irc, no one was there), and I know that this doesnt completely solve the problem (the problem still needs to be fixed in the code, though I dont think that should be very hard for this). Ive never submited a bug or patched an open source program before, so Im asking you guys for help/directions.

Offline

#2 2012-05-12 19:22:57

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: I know a solution to a bug (http://bugs.slitaz.org/?id=19)

Thanks for the detailed report.

Tazbox keymap and tazkeymap create the list of keyboard names from /usr/share/kbd/i386 to write to /etc/keymap.conf which is written by tazx to /etc/X11/xorg.conf.d/40-Keyboard.conf

For croat the correct keyboard name is not the kbd filename croat which is written but hr.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]