From 39e0e25299bf3ecfb01bd0c29abf9ef432afae62 Mon Sep 17 00:00:00 2001 From: John Gebbie Date: Sun, 29 Jan 2023 21:12:48 +0000 Subject: [PATCH] tweak udev rule --- 80-dotool.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/80-dotool.rules b/80-dotool.rules index eec3818..b95dca1 100644 --- a/80-dotool.rules +++ b/80-dotool.rules @@ -3,4 +3,4 @@ KERNEL=="uinput", GROUP="input", MODE="0660", OPTIONS+="static_node=uinput" # This can stop dotool typing guff if you are using a non-us keyboard layout. # It only seems to affect X11. -ACTION=="add", ATTRS{name}=="dotool keyboard", ENV{XKBLAYOUT}="us" +SUBSYSTEM=="input", ACTION=="add|change", ATTRS{name}=="dotool keyboard", ENV{XKBLAYOUT}="us"