キーボードの繰り返し速度を設定するためにsayを使用し、xset r rate 250 100
USBキーボードを取り外してから実行すると、切断xset -q
後にキーボードの繰り返し速度が自動的に次のデフォルトに設定されることがわかります。
$ xset -q | grep delay
auto repeat delay: 660 repeat rate: 25
デフォルト値を変更できますか?どこに保存されていますか?私はDebian Sidを実行しています。
ベストアンサー1
いわゆる変更できます座席のデフォルト/etc/X11/xinit/xserverrc
関連パラメータを追加します(参照)XSERVER(1)
。
-ardelay milliseconds
sets the autorepeat delay (length of time in milliseconds that a key must be depressed before autorepeat starts).
-arinterval milliseconds
sets the autorepeat interval (length of time in milliseconds that should elapse between autorepeat-generated keystrokes).
arinterval
(!)xset
繰り返し頻度に基づいてミリ秒単位で値を計算するには、計算を実行します1000/freq
。
私の言葉は今です。exec /usr/bin/X -nolisten tcp -ardelay 200 -arinterval 20 "$@"
(繰り返し速度を恒久的に設定しようとしましたが、維持Option "AutoRepeat" "190 70"
/etc/X11/xorg.conf.d/keyboard.conf
されず(無力に)xset
毎分cronジョブを実行しました。XD)