* Italian keyboard have only one key wrong in console
@ 2025-03-08 18:09 Mirto Silvio Busico
2025-03-09 10:16 ` Alexey Gladkov
0 siblings, 1 reply; 2+ messages in thread
From: Mirto Silvio Busico @ 2025-03-08 18:09 UTC (permalink / raw)
To: kbd
[-- Attachment #1.1: Type: text/plain, Size: 929 bytes --]
Hi all
I have an italian qwerty keyboard and everything work correctly in KDE
Plasma: konsole application sees the correct characters using bash or zsh.
Strangely activating the console (CTRL+ALT+F3) the only key I cannot
type is the dash (-).
The key is the one near the right shift (the key with the red square
around in the attached image) . This key types dash (-) and with shift
types underscore (_)
But on the console it types slash (/) and with shift types underscore (_)
All the other keys (normal and with shift) type what is expected.
I'm using Manjaro with KDE and uname says
*Linux bianco500 6.13.5-2-MANJARO #1 SMP PREEMPT_DYNAMIC Tue, 04 Mar
2025 13:20:27 +0000 x86_64 GNU/Linux*
I asked for help on the Manjaro forum (see
https://forum.manjaro.org/t/console-italian-keyboard-layout-with-one-key-wrong/175166
)
But from what I understant it seems more a bug than a misconfiguration.
What can I do?
[-- Attachment #1.2: Type: text/html, Size: 1469 bytes --]
[-- Attachment #2: Schermata_20250308_102441.jpg --]
[-- Type: image/jpeg, Size: 57912 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Italian keyboard have only one key wrong in console
2025-03-08 18:09 Italian keyboard have only one key wrong in console Mirto Silvio Busico
@ 2025-03-09 10:16 ` Alexey Gladkov
0 siblings, 0 replies; 2+ messages in thread
From: Alexey Gladkov @ 2025-03-09 10:16 UTC (permalink / raw)
To: Mirto Silvio Busico; +Cc: kbd
On Sat, Mar 08, 2025 at 07:09:57PM +0100, Mirto Silvio Busico wrote:
> Hi all
>
> I have an italian qwerty keyboard and everything work correctly in KDE
> Plasma: konsole application sees the correct characters using bash or zsh.
>
> Strangely activating the console (CTRL+ALT+F3) the only key I cannot
> type is the dash (-).
> The key is the one near the right shift (the key with the red square
> around in the attached image) . This key types dash (-) and with shift
> types underscore (_)
>
> But on the console it types slash (/) and with shift types underscore (_)
>
> All the other keys (normal and with shift) type what is expected.
>
> I'm using Manjaro with KDE and uname says
>
> *Linux bianco500 6.13.5-2-MANJARO #1 SMP PREEMPT_DYNAMIC Tue, 04 Mar
> 2025 13:20:27 +0000 x86_64 GNU/Linux*
>
> I asked for help on the Manjaro forum (see
> https://forum.manjaro.org/t/console-italian-keyboard-layout-with-one-key-wrong/175166
> )
>
> But from what I understant it seems more a bug than a misconfiguration.
>
> What can I do?
>
The kbd configures the console in the kernel. Once the keymap and font
have been configured, the further work of handling keyboard events lies
with the kernel.
The Xorg/Wayalnd clients uses a different way to handle keyboard input.
Clients uses the xkb library, to which raw keyboard input is passed. The
xkb has its own keymaps and does not use keymaps from the kernel in any
way.
So these are completely different systems for handling keyboard events.
Some distributions (such as Debian) generate kernel keymaps from keymaps
from xkb. But there are stricter restrictions in the kernel and xkb
keymaps can't just be used. I have a branch in which I'm trying to convert
xkb keymap to kernel keymap, but it needs more work and testing.
You can use the debian solution and try to generate the keymap for the
kernel from xkb.
https://salsa.debian.org/installer-team/console-setup
--
Rgrds, legion
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-09 10:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-08 18:09 Italian keyboard have only one key wrong in console Mirto Silvio Busico
2025-03-09 10:16 ` Alexey Gladkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox