the Rainbow Networks
RN|Aftershock
Map: zlrtourney1d
Players: 7 / 12

RN|COME GET SOME
Map: de_train
Players: 0 / 20

RN|KAMPFMITTELBESEITIGUNG
Map: ut4_abbey
Players: 0 / 16

RN|FFA 1
Map: dm9
Players: 0 / 8

RN|VQ3 DEFRAG
Map: 0ups_beta2a
Players: 0 / 18

FFA BONBONS & HANDBAGS
Map: q3dm1
Players: 0 / 12

FFA | High Scores at http://test.y7.ath.cx
Map: q3dm11
Players: 0 / 8

SCREW OA (rail)
Map: dangercity
Players: 4 / 16

+++eXy FFA
Map: q3dm8
Players: 7 / 16

...::: #QuakersNet CPMA 1.47:::...by www.getcpma.tk
Map: ra3map1
Players: 0 / 33
The golden pot › RAINBOW NETWORKS › Tech & Support › HOWTO: disable X11 mouse acceleration in Linux
HOWTO: disable X11 mouse acceleration in Linux
Something wrong with our servers or your system?
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexTech & Support
View previous topic :: View next topic  
Author Message
jackthompson
Admin
Admin


Joined: Aug 15, 2007
Posts: 1245
Location: Here

PostPosted: Thu Feb 04, 2010 6:25 am    Post subject: HOWTO: disable X11 mouse acceleration in Linux Reply with quote

(...and make sure it stays off.)

Most tools that claim to change mouse acceleration in Linux are just frontends for the cmdline tool called xset.

Open a terminal and enter "xset q" to query the current X11 settings. You will see some default like:

Code::
Pointer Control:
  acceleration:  2/1    threshold:  2

now disable Mouse Acceleration by entering "xset m 0 0" in the command line and check again with "xset q". It should look like this:

Code::
Pointer Control:
  acceleration:  0/1    threshold:  0

Q: Sometimes it returns back to the defaults after I started program X. How can I really enforce my settings?

A: There might be programs that change the user defined mouse acceleration again and don't set it back afterwards.

Remove them from your system and inform their author or enter "crontab -e" (or /etc/crontab) and add this line:

(in crontab -e)
Code::
*/1 * * * * /usr/bin/xset m 0 0 -display :0

OR

(in /etc/crontab)
Code::
*/1 * * * * root /usr/bin/xset m 0 0 -display :0

(the path "/usr/bin/xset" and the display ":0" might differ)

That will disable mouse acceleration every minute. It is the brute-force approach that I prefer over the alternatives which made me paranoid.
Back to top
View user's profile
PopeJo
Übergod
Übergod


Joined: Oct 05, 2007
Posts: 828
Location: how do I know?

PostPosted: Thu Feb 04, 2010 10:37 am    Post subject: Re: HOWTO: disable X11 mouse acceleration in Linux Reply with quote

ah, thx a lot for this jack. =D

_________________
LOGIC, n.
The art of thinking and reasoning in strict accordance with the limitations and incapacities of the human misunderstanding. (Devil's dictionary)
Back to top
View user's profile Visit poster's website ICQ Number
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum Index -> Tech & Support All times are GMT + 1 Hour
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
You cannot attach files in this forum
You can download files in this forum


Welcome Anonymous


Membership:
Latest: extrem
New Today: 0
New Yesterday: 0
Overall: 335

People Online:
Members: 0
Visitors: 4
Total: 4
Who Is Where:
 Visitors:
01: The golden pot
02: Home
03: Rainbow Media
04: The golden pot

Staff Online:

No staff members are online!

The Rainbow Networks website is hosted by JockeTF and Soder on furver.se.

Interactive software released under GNU GPL, Code Credits, Privacy Policy
The Rainbow Networks
Azul theme and related images designed by Jamin