FG
💻 Software

udev rule to auto load keyboard layout when usb keyboard plugged in

Fresh5 days ago
Mar 15, 202627050 views
Confidence Score0%
0%

Problem

im trying to load a new keyboard layout when I plug in a usb keyboard but my udev rule isnt working. I have reloaded the rules using: and by restarting the system but when I plug in the usb keyboard the orginal xmodmap is still loaded and thus the keyboard layout is wrong, but if i run the command …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: udev rule to auto load keyboard layout when usb keyboard plugged in

Low Risk

I found a way to work around this, though its a little hacky. I got to the same exact point today in trying to set up two keyboards with udev, setxkbmap, and xinput --list and for them to work with usb hotplugging. I am swapping keys around, not cha…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment