xsetのデフォルトの繰り返し率はどこに保存されていますか?

xsetのデフォルトの繰り返し率はどこに保存されていますか?

キーボードの繰り返し速度を設定するためにsayを使用し、xset r rate 250 100USBキーボードを取り外してから実行すると、切断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 "$@"

[発見日:https://superuser.com/questions/935801/whenever-i-plug-in-another-keyboard-key-repeating-rate-is-reset-to-some-value]

(繰り返し速度を恒久的に設定しようとしましたが、維持Option "AutoRepeat" "190 70" /etc/X11/xorg.conf.d/keyboard.confされず(無力に)xset毎分cronジョブを実行しました。XD)

おすすめ記事