From: R. Steve McKown Date: Thu, 17 Sep 2015 13:34:07 +0000 (-0600) Subject: xkbmap: wildcard MatchUSBID X-Git-Url: https://oss.titaniummirror.com/gitweb?a=commitdiff_plain;h=ebd5ba42e384ea23ca335f52aea34e2bad2ba4c4;hp=2d852282c379e437b1e8ce890f8f6c8c95e66abb;p=oss-web.git xkbmap: wildcard MatchUSBID --- diff --git a/in/blog/keyboard-specific-mappings.md b/in/blog/keyboard-specific-mappings.md index 0145f78..b835424 100644 --- a/in/blog/keyboard-specific-mappings.md +++ b/in/blog/keyboard-specific-mappings.md @@ -148,6 +148,14 @@ But the Xorg log file has the information $ grep "CM Storm.*Vendor" /var/log/Xorg.0.log.old | tail -1 [100514.151] (--) evdev: CM Storm Side print: Vendor 0x2516 Product 0x17 +_Update 2015-09-17:_ I purchased _another_ one of these keyboards for a second +location. I couldn't find a Stealth model with Cherry MX Brown key switches, so +purchased instead the Rapid model. The only difference is the latter has the +keycaps printed on the top face, as do most keyboards. It's USB VID:PID is also +different: `2516:0004`. So I've changed the `MatchUSBID` value in +`/usr/share/X11/xord.conf.d/90-evdev-CM-Storm.conf` to use a wildcard entry to +capture both keyboards: `2516:*`. + ## Step 4 -- Log out and back in X only reads the configurations in /usr/share/X11/xorg.conf.d on startup, so the