You are not logged in.
Hi,
Context: I have a laptop with Arch. I put latam layout for keyboard. It works fine. After buying a Mechanical-switch keyboard and connect it, the layout in the Mechanical-switch keyboard is not the same that in the system. But the laptops's keyboard works fine. Just until I rebooted the laptop the Mechanical-switch keyboard changes to the latam layout. But if I close the laptop(suspend) and open it again, the layout of the Mechanical-switch keyboard changes to US.
How can I change the layout just from the Mechanical-switch keyboard instead of rebooting everytime it changes or why it changes its layout after suspend?
Last edited by yoncho (2021-10-10 04:33:36)
Offline
Try running the following in a terminal after connecting your keyboard:
setxkbmap latam
If this resolves the problem, you can save it as a script and run it every time you connect your keyboard - either with udev rules, or via some shortcut.
Last edited by korikori (2021-10-08 07:55:26)
Offline
It worked.
Thanks a lot mate.
Offline