LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-14-2008, 05:19 AM   #1
monohouse
Member
 
Registered: Oct 2004
Distribution: Arch
Posts: 206

Rep: Reputation: 30
setting xorg mouse speed


xset m 1/1 1 disables acceleration, but what options are there to set speed ? I have set "Option" "SamplingRate" "200" on the PS/2 mouse, but it has barely anything to do with speed, while on that subject I would like to ask how to set wheel scrolling speed (lines), I have set Option "VertScrollDelta" "1", but that option had no effect
 
Old 09-15-2008, 03:22 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Acceleration is pretty much the same as speed here, as I understand it. From the xset man page:
Code:
xset [mouse [accel_mult[/accel_div] [threshold]]] [mouse default]

The m option controls the mouse parameters; it may be 
abbreviated to ’m’. The  parameters  for  the  mouse are 
‘acceleration’ and ‘threshold’.  The acceleration can be 
specified as an integer, or  as  a  simple  fraction. The  
mouse, or  whatever  pointer  the  machine is connected to, will
go ‘acceleration’ times as fast when it travels more than 
‘threshold’ pixels in  a  short time.  This way, the mouse can 
be used for precise alignment when it is moved slowly, yet it 
can be set to travel across the screen in a  flick  of  the 
wrist  when desired.  One or both parameters for the m option 
can be omitted, but if only one is given, it will  be  
interpreted as the acceleration.  If no parameters or the flag 
’default’ is used, the system defaults will be set.

If the ‘threshold’ parameter is provided and 0, the 
‘acceleration’ parameter  will  be used in the exponent of a 
more natural and continuous formula, giving precise control for 
slow  motion  but  big  reach  for  fast motion,  and a 
progressive transition for motions in between.  Recommended 
‘acceleration’ value in this case is 3/2 to 2, but not  limited 
to  that range.
Now, to interpret this. The acceleration fraction tells it how much faster you want the cursor to go when it starts moving fast, and the threshold is how far you must move it before the acceleration kicks in. "xset m 1/1 1" simply sets the acceleration to one and the threshold to one, so that the thing always travels at a uniform speed. If you want it to go faster, change the fraction to something bigger. Using a "2/1", or even just "2", should make it go twice as fast, and 1/2 will make it go half as fast. Using a threshold of zero makes it use a natural curve setting, so that the farther you move, the faster it goes, in a smooth progression (within the limits of the maximum acceleration, of course).

You'll have to play around to find settings you like. I've personally found that my trackball feels best with a setting of "5/1 5", for example, since it takes forever for it to travel across the screen under the default settings.


As for mouse scrolling, I don't believe that's a function controllable by X. To the computer the mouse wheel is really just a set of two buttons that click 'up' and 'down' over and over. It's up to the individual programs or the desktop environment to translate those signals into meaningful actions. kde has a mouse-scrolling setting for example, as does firefox.

Last edited by David the H.; 09-15-2008 at 03:27 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setting a minimum mouse double-click speed Valkyrie_of_valhalla Linux - Hardware 3 03-19-2007 02:39 PM
recent dist-upgrade of xorg has killed my mouse (and thusly, xorg). Lokathor Debian 4 06-10-2006 04:52 AM
Mouse wheel doesn't scroll in X - what setting in xorg.conf? tdking19 Slackware 3 02-23-2005 10:50 AM
Gnome Update, Mouse Speed, Overall System Speed funaroma Linux - Newbie 2 08-04-2004 10:13 PM
setting net speed......... avols143 Linux - Networking 1 02-07-2004 06:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration