From: Mike Frysinger Date: Tue, 5 Jan 2010 19:50:25 +0000 (-0500) Subject: force disable autorepeat on stupid keys X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8e5fad80fb8516327ea71bd5082877f3df053c9d;p=home.git force disable autorepeat on stupid keys --- diff --git a/.kde4/Autostart/xset-rate b/.kde4/Autostart/xset-rate index c6c670a..aa3aeb0 100755 --- a/.kde4/Autostart/xset-rate +++ b/.kde4/Autostart/xset-rate @@ -1,2 +1,16 @@ #!/bin/bash +keys=" + 37 #left-ctrl + 50 #left-shift + 64 #left-alt + 66 #left-caps + 115 #left-win + 113 #right-alt + 109 #right-ctrl + 62 #right-shift +" +for x in ${keys} ; do + [[ ${x} == "#"* ]] && continue + xset -r $x +done exec xset r rate 200