the Rainbow Networks
+++eXy FFA
Map: rq3dm4
Players: 5 / 18
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: 1302
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: 931
Location: precise!

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
S.Creamer
Newbie
Newbie


Joined: Jan 18, 2009
Posts: 5
Location: holland

PostPosted: Wed Feb 23, 2011 12:32 am    Post subject: Re: HOWTO: disable X11 mouse acceleration in Linux Reply with quote

Very usefull, thanks
Back to top
View user's profile MSN Messenger
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: kontol
New Today: 0
New Yesterday: 0
Overall: 355

People Online:
Members: 0
Visitors: 51
Total: 51
Who Is Where:
 Visitors:
01: The golden pot
02: The golden pot
03: The golden pot
04: The golden pot
05: The golden pot
06: The golden pot
07: The golden pot
08: The golden pot
09: The golden pot
10: My Account
11: The golden pot
12: The golden pot
13: My Account
14: The golden pot
15: The golden pot
16: My Account
17: My Account
18: My Account
19: The golden pot
20: Maps
21: The golden pot
22: Maps
23: The golden pot
24: Home
25: The golden pot
26: The golden pot
27: The golden pot
28: The golden pot
29: The golden pot
30: The golden pot
31: The golden pot
32: The golden pot
33: The golden pot
34: The golden pot
35: Maps
36: The golden pot
37: The golden pot
38: Home
39: Home
40: The golden pot
41: Rainbow Media
42: The golden pot
43: The golden pot
44: Rainbow Media
45: The golden pot
46: The golden pot
47: Home
48: The golden pot
49: Rainbow Media
50: Maps
51: Rainbow Media

Staff Online:

No staff members are online!

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

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