antiX-forum Forum Index antiX-forum
Forum for users of antiX linux. "Mean and Lean"
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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 new topic   Reply to topic    antiX-forum Forum Index -> antiX-Mepis6.5 Spartacus
View previous topic :: View next topic  
Author Message
malanrich



Joined: 13 Sep 2007
Posts: 136
Location: L.A. in USA

PostPosted: Thu Mar 06, 2008 11:24 am    Post subject: Keyboard repeat rate Reply with quote

Anyone know how to disable or reduce the keyboard repeat rate? Mine's toooooooooo sensitive.
Back to top
View user's profile Send private message
Urban



Joined: 26 Feb 2008
Posts: 58
Location: United States

PostPosted: Thu Mar 06, 2008 11:40 am    Post subject: good times Reply with quote

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-repeat-rate-t507.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 1:36 am; edited 1 time in total
Back to top
View user's profile Send private message
malanrich



Joined: 13 Sep 2007
Posts: 136
Location: L.A. in USA

PostPosted: Thu Mar 06, 2008 12:05 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Urban



Joined: 26 Feb 2008
Posts: 58
Location: United States

PostPosted: Thu Mar 06, 2008 12:07 pm    Post subject: yes Reply with quote

The keyboard repeat rate is a window manager specific setting as far as I know.
Back to top
View user's profile Send private message
n2j3



Joined: 19 Nov 2007
Posts: 45
Location: Greece

PostPosted: Thu Mar 06, 2008 12:37 pm    Post subject: Reply with quote

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]
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Urban



Joined: 26 Feb 2008
Posts: 58
Location: United States

PostPosted: Fri Mar 07, 2008 1:35 am    Post subject: more info Reply with quote

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
Back to top
View user's profile Send private message
malanrich



Joined: 13 Sep 2007
Posts: 136
Location: L.A. in USA

PostPosted: Fri Mar 07, 2008 2:39 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Urban



Joined: 26 Feb 2008
Posts: 58
Location: United States

PostPosted: Fri Mar 07, 2008 2:42 am    Post subject: yeah Reply with quote

You can just type the xset command into a terminal and test it on the fly.
Back to top
View user's profile Send private message
malanrich



Joined: 13 Sep 2007
Posts: 136
Location: L.A. in USA

PostPosted: Fri Mar 07, 2008 3:39 am    Post subject: Reply with quote

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).
Back to top
View user's profile Send private message
Urban



Joined: 26 Feb 2008
Posts: 58
Location: United States

PostPosted: Fri Mar 07, 2008 3:53 am    Post subject: The whole story Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    antiX-forum Forum Index -> antiX-Mepis6.5 Spartacus All times are GMT + 3 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Chest


Powered by phpBB
Hosted by FreeForums.org