Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

Keyboard repeat rate

Post questions, comments about antiX-Mepis6.5 "Spartacus"

Keyboard repeat rate

Postby malanrich on Thu Mar 06, 2008 10:24 am

Anyone know how to disable or reduce the keyboard repeat rate? Mine's toooooooooo sensitive.
malanrich
 
Posts: 183
Joined: Thu Sep 13, 2007 1:27 am
Location: L.A. in USA

good times

Postby Urban on Thu Mar 06, 2008 10:40 am

edit ~/.fluxbox/startup

In there is a setting for keyboard repeat-rate uncomment and fool around with the numbers.
xset r rate 195 35

EDIT: More info a few posts down. http://antix.freeforums.org/keyboard-re ... .html#2671
END EDIT

I am relatively new to fluxbox and I have never had experience with adjusting these so maybe play around with those numbers until something good happens. I assume less is slower.

On a related note I changed my keyboard driver in /etc/X11/xorg.conf
to kbd instead of keyboard because apparently Keyboard is going to be removed from later kernel versions. Plus the warnings in xsession-errors were annoying.
Last edited by Urban on Fri Mar 07, 2008 12:36 am, edited 1 time in total.
User avatar
Urban
 
Posts: 58
Joined: Tue Feb 26, 2008 10:31 am
Location: United States

Postby malanrich on Thu Mar 06, 2008 11:05 am

Ha Ha. Thanks for the tip. I knew it must be simple like that, but when I first looked in startup, everything seemed commented out. So I carelessly overlooked that setting.

I wonder if there's a way to disable it entirely...maybe zeroing out the numbers or setting it to xset r rate off. Hmmmm.

Also I'm thinking that every WM would have its own setting for this. If I set to boot into icewm, the fluxbox settings would be null, right?
malanrich
 
Posts: 183
Joined: Thu Sep 13, 2007 1:27 am
Location: L.A. in USA

yes

Postby Urban on Thu Mar 06, 2008 11:07 am

The keyboard repeat rate is a window manager specific setting as far as I know.
User avatar
Urban
 
Posts: 58
Joined: Tue Feb 26, 2008 10:31 am
Location: United States

Postby n2j3 on Thu Mar 06, 2008 11:37 am

xset's pretty useful

try xset -b to disable pcspeaker beeps
and xset m 1/2 to reduce (halve?) your mouse speed (i found my optical mouse too fast by default)
"Mars is square and intensely coloured" - Johannes Kepler [1571-1630]
User avatar
n2j3
 
Posts: 45
Joined: Mon Nov 19, 2007 3:18 pm
Location: Greece

more info

Postby Urban on Fri Mar 07, 2008 12:35 am

xset -r OR xset r off will disable autorepeat

xset r rate <delay in milliseconds before auto repeat starts> <repeat rate per second>

xset r rate 1000 1
would be repeat every second once per second
User avatar
Urban
 
Posts: 58
Joined: Tue Feb 26, 2008 10:31 am
Location: United States

Postby malanrich on Fri Mar 07, 2008 1:39 am

Thanks for the details about xset, guys.

It's not a trivial adjustment. One post described the horror of a guy who couldn't log in anymore because his password kept repeating.
malanrich
 
Posts: 183
Joined: Thu Sep 13, 2007 1:27 am
Location: L.A. in USA

yeah

Postby Urban on Fri Mar 07, 2008 1:42 am

You can just type the xset command into a terminal and test it on the fly.
User avatar
Urban
 
Posts: 58
Joined: Tue Feb 26, 2008 10:31 am
Location: United States

Postby malanrich on Fri Mar 07, 2008 2:39 am

Hi urban,

When you say "You can just type the xset command into a terminal and test it on the fly," it makes me wonder about what has to be "restarted" in fluxbox in order for new settings to take effect. I've been restarting and also rebooting.

A couple of things I've discovered:

1) Altering the repeat rate seems *not* to be wm specific. My new settings carry over into both Icewm and Window Maker.

2) (very important for future searchers on this topic) *Beware* of disabling autorepeat entirely. This will disable *all* keyboard scrolling (i.e., scrollbars on all windows, scrolling of cursor direction keys, even scrolling multiple line-breaks with the "enter" key in a text document).
malanrich
 
Posts: 183
Joined: Thu Sep 13, 2007 1:27 am
Location: L.A. in USA

The whole story

Postby Urban on Fri Mar 07, 2008 2:53 am

xset is actually a command to set your preferences for X. So technically it is set for all WMs, but putting it in the config file for fluxbox should only execute it when fluxbox starts. That is what I mean when I say window manager specific.

My understanding of xset is that the settings are reset to default values when you restart X. So unless they are put into a file that is run every start up they will not be remembered.
User avatar
Urban
 
Posts: 58
Joined: Tue Feb 26, 2008 10:31 am
Location: United States


Return to antiX-Mepis6.5 Spartacus

Who is online

Users browsing this forum: No registered users and 0 guests

cron