the Rainbow Networks
+++eXy FFA
Map: q3tourney4
Players: 2 / 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: 930
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: Evilemerold
New Today: 0
New Yesterday: 0
Overall: 354

People Online:
Members: 0
Visitors: 22
Total: 22
Who Is Where:
 Visitors:
01: My Account
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: The golden pot
11: My Account
12: The golden pot
13: The golden pot
14: The golden pot
15: The golden pot
16: The golden pot
17: The golden pot
18: The golden pot
19: The golden pot
20: The golden pot
21: The golden pot
22: The golden pot

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