Sunday, May 19, 2024
15
rated 0 times [  15] [ 0]  / answers: 1 / hits: 13067  / 2 Years ago, sun, october 23, 2022, 6:56:30

Is it possible to disable the keyboard repeat functionality, as is needed by various Flash games, through the command line?



Normally it can be disabled by going to settings -> keyboard and hitting the button, but I'm wondering if there's a command line / programmatic solution which I can implement into a program of mine.


More From » command-line

 Answers
0

You can use the xset utility, which works on the X.org level, across desktop environments. (The dconf / gsettings solution is Gnome specific.)



To switch off keyboard repeat:



xset r off


To switch keyboard repeat on again, with the same delay and rate settings as before:



xset r on


See man xset for details.


[#21613] Monday, October 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ellter

Total Points: 311
Total Questions: 111
Total Answers: 117

Location: Lithuania
Member since Thu, Jul 14, 2022
2 Years ago
;