Check if autorepeat is enabled
up vote
0
down vote
favorite
For the purposes of an app I'm developing, I need to temporarily disable autorepeat (with xset r off
), and then restore it back to its original state. Can I easily (like with a terminal command) check if it is on or not? I wouldn't want to xset r on
indiscriminately in case the user had disabled autorepeat on their own before.
linux keyboard
New contributor
add a comment |
up vote
0
down vote
favorite
For the purposes of an app I'm developing, I need to temporarily disable autorepeat (with xset r off
), and then restore it back to its original state. Can I easily (like with a terminal command) check if it is on or not? I wouldn't want to xset r on
indiscriminately in case the user had disabled autorepeat on their own before.
linux keyboard
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
For the purposes of an app I'm developing, I need to temporarily disable autorepeat (with xset r off
), and then restore it back to its original state. Can I easily (like with a terminal command) check if it is on or not? I wouldn't want to xset r on
indiscriminately in case the user had disabled autorepeat on their own before.
linux keyboard
New contributor
For the purposes of an app I'm developing, I need to temporarily disable autorepeat (with xset r off
), and then restore it back to its original state. Can I easily (like with a terminal command) check if it is on or not? I wouldn't want to xset r on
indiscriminately in case the user had disabled autorepeat on their own before.
linux keyboard
linux keyboard
New contributor
New contributor
New contributor
asked Dec 5 at 20:39
shooqie
1032
1032
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
if xset q | grep -q 'auto *repeat: *on'; then ...
Guess I missed theq
option inman xset
, thank you.
– shooqie
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
if xset q | grep -q 'auto *repeat: *on'; then ...
Guess I missed theq
option inman xset
, thank you.
– shooqie
2 days ago
add a comment |
up vote
2
down vote
accepted
if xset q | grep -q 'auto *repeat: *on'; then ...
Guess I missed theq
option inman xset
, thank you.
– shooqie
2 days ago
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
if xset q | grep -q 'auto *repeat: *on'; then ...
if xset q | grep -q 'auto *repeat: *on'; then ...
answered Dec 5 at 21:36
mosvy
5,1791323
5,1791323
Guess I missed theq
option inman xset
, thank you.
– shooqie
2 days ago
add a comment |
Guess I missed theq
option inman xset
, thank you.
– shooqie
2 days ago
Guess I missed the
q
option in man xset
, thank you.– shooqie
2 days ago
Guess I missed the
q
option in man xset
, thank you.– shooqie
2 days ago
add a comment |
shooqie is a new contributor. Be nice, and check out our Code of Conduct.
shooqie is a new contributor. Be nice, and check out our Code of Conduct.
shooqie is a new contributor. Be nice, and check out our Code of Conduct.
shooqie is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f486237%2fcheck-if-autorepeat-is-enabled%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown