Keyboard Layout for new devices

Post bug reports related to either the kiosk ISO or the kiosk wizard here.
Post Reply
KSPott
Ronin
Ronin
Posts: 1
Joined: 18 Mar 2023, 09:47
Distribution: Porteus Kiosk

Keyboard Layout for new devices

Post#1 by KSPott » 18 Mar 2023, 09:59

Good morning,

first of all I have to mention that Porteus Kiosk is a great Sytem and it helps me a lot in my daily work!

I am using Porteus Kiosk in the latest version and I have some problems with keyboard layout. This problem existed in previous versions too.

My config says "primary_keyboard_layout=de" and when I boot the system with keyboard connected everything works as expected.
But as soon as a new keybord device is connected after boot it will always have US-Keyboard-Layout.
The keyboard which was connected on boot time will stay an german layout.
When I reboot the system with both connected, both will use the desired layout.

Is there a problem with my configuration or could this be a bug?

Thank you very much for your help.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5574
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Keyboard Layout for new devices

Post#2 by fanthom » 18 Mar 2023, 11:55

Hello KSPott,

I believe this is an Xorg bug as it should set the layout per session and not per device.

You can workaround it with following parameter:

Code: Select all

run_command=(while true; do setxkbmap de; sleep 2; done; ) &
This is a "hammer" approach but works.

Thanks
Please add [Solved] to your thread title if the solution was found.

Post Reply