How to stop keyboard repeat?

Using applications, configuring, problems
Post Reply
Message
Author
sireasoning
Posts: 1
Joined: Fri 01 Dec 2006, 01:40

How to stop keyboard repeat?

#1 Post by sireasoning »

I am setting up a puppy for an elderly man who has little computer experience. He frequently holds the keys down too long and has a long list of similar letters. Is there a way that I can stop the keyboard repeat so that each time he contacts a key he gets only a single letter?

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#2 Post by GuestToo »

http://www.die.net/doc/linux/man/man1/xset.1.html
The r option controls the autorepeat. Invoking with "-r", or "r off", will disable autorepeat
put the xset -r command in /root/.xinitrc, somewhere before the exec $CURRENTWM lines

phat7
Posts: 179
Joined: Fri 05 Jun 2015, 08:54

#3 Post by phat7 »

As the OP I want to have each key stroke result in only 1 letter. With xset -r I still get 2 letters.

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#4 Post by ozsouth »

xset r rate 5000
will delay repeat for 5 sec, but can press again immediately for double letters

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#5 Post by bigpup »

This should give you options for any changes you want to make.
menu>Setup>Mouse/Keyboard Wizard>X keyboard properties

Unchecking enable auto-repeat
Select apply.
Stops auto-repeat for me in Bionicpup64 8.0
Attachments
Screenshot(5).jpg
(22.45 KiB) Downloaded 92 times
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#6 Post by bigpup »

In the future, always tell use what specific version of Puppy Linux you are using.

Example:
Xenialpup 7.5
Xenialpup64 7.5
Bionicpup32 8.0
Etc.......

There are about 300 different Puppy Linux versions and they all are different in some way.
Also, you could be using a alpha, beta, release candidate, finial release version, That we really need to know.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

phat7
Posts: 179
Joined: Fri 05 Jun 2015, 08:54

#7 Post by phat7 »

Thanks guys. I tried xenial 7.5, tahr 6.06, dpup stretch 7.5 and all show that same problem.

After much head scratching I found that this is not even a problem of auto-repeat but a problem with keyboard setup. I have an external keyboard attached to my laptop because the laptop keys are too small for comfortable typing. When I go to console, set "xset -r" and hold down the "A" key I get "aa" with my external keyboard and "a" when I type on the laptop. Weird.

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#8 Post by Mike Walsh »

@ phat7:-

I would hazard a guess that what's happening is Pup is only registering a single keystroke for the 'internal' keyboard.....but is then registering a second one for the 'echo'/repeat (or 'trigger', if you like) from the external one.

I'll have to give this a try on my anciente Dell lappie. I, too, use an external one, except in my case it's due to a long ago accident with half a mug of coffee, from which a few of the most important keys have never fully recovered.

I'll see if I get the same issue..... :)


Mike. :wink:

phat7
Posts: 179
Joined: Fri 05 Jun 2015, 08:54

#9 Post by phat7 »

Thank you, Mike. Maybe I should add that my keyboard is a PS2 keyboard and is connected to the laptop with a small PS2->USB adapter. I don't have a USB keyboard to test.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#10 Post by bigpup »

Try a different USB port.
Is it happening with every key on the external keyboard?
Sure the area around the keys is clean?
What make and model is the external keyboard?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Post Reply