LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-11-2009, 08:01 AM   #1
Seregwethrin
Member
 
Registered: Feb 2008
Posts: 112

Rep: Reputation: 16
Looking for a mouse speed switcher


Hello;

I'm using my laptop's touchpad and a usb mouse together. I want to separate their speeds.

There was a program called mouse speed switcher for Windows, when you double clicked it on the taskbar it changes the speed of mouse between two settings speed 1 and speed 2.

Is there anything or any program could help me?

Thanks.
 
Old 06-12-2009, 03:41 AM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
For start you could read the man page for xset.
Some of the options are:
Code:
"Very Fast"                   xset m 7 10 &
"Normal(Fast)"                xset m 3 10 &
"System Default"              xset m default &
"Glacial"                     xset m 0 10 &
As they say:
Quote:
The syntax for setting the mouse acceleration and threshold using xset is;

xset m acceleration threshold


The first argument, "acceleration", is a multiplier number that defines how many times faster than the standard speed the cursor will move. Try numbers between 2 and 5, setting a high multiplier like 9 makes the mouse movements very jerky and jumpy. This does not need to be a whole number, you can use 1/2 to get half the standard speed or 5/2 (=2.5) if 2 is too slow and 3 is too fast.

The second argument, threshold, defines how many pixels the mouse must move in a short period of time before the acceleration setting is used. Using a threshold of 1, as in xset m 5 1, disables this and gives you the same mouse speed at all times. Setting xset m 5 10 requires the mouse to move 10 pixels before the pointer is accelerated.
Remember,Mr.Google knows a lot.
 
Old 06-12-2009, 05:29 AM   #3
Seregwethrin
Member
 
Registered: Feb 2008
Posts: 112

Original Poster
Rep: Reputation: 16
Than how could i switch between very fast, normal, default and glacial quickly?
 
Old 06-13-2009, 02:55 AM   #4
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Isn't typing the command in the terminal quick enough?
 
Old 06-13-2009, 04:08 AM   #5
Seregwethrin
Member
 
Registered: Feb 2008
Posts: 112

Original Poster
Rep: Reputation: 16
Okay I got it from terminal no problem.

If I want my mouse to normally fast, but when I moved it faster in a short time period and I want it to jump very fast, than acceleration should be low and threshold high?

I coulnd't feel any difference between threshold 10 and 50
 
Old 06-13-2009, 04:23 AM   #6
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Threshold is a sensitive thing,you won't feel much difference between some values.Isn't
Code:
xset m 7 10 &
fast enough for you?

Acceleration should be higher when you want your mouse movements to be faster.

Last edited by alan_ri; 06-13-2009 at 04:25 AM.
 
Old 06-13-2009, 04:58 AM   #7
Seregwethrin
Member
 
Registered: Feb 2008
Posts: 112

Original Poster
Rep: Reputation: 16
No no, I didn't mean that.

I meant that I want mouse actually at normal speed, but if I move mouse faster in a short period, I want my pointer to jump jerky. This is like the pointer precision at Windows.

Check out this please, the Windows setting

Last edited by Seregwethrin; 06-13-2009 at 05:11 AM.
 
Old 06-13-2009, 05:10 AM   #8
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
What's your distro and are you using Gnome?
 
Old 06-13-2009, 05:10 AM   #9
Seregwethrin
Member
 
Registered: Feb 2008
Posts: 112

Original Poster
Rep: Reputation: 16
Yes, I'm using Gnome with Ubuntu 9.04
 
Old 06-13-2009, 05:16 AM   #10
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Well have a look here.
 
Old 06-13-2009, 05:24 AM   #11
Seregwethrin
Member
 
Registered: Feb 2008
Posts: 112

Original Poster
Rep: Reputation: 16
Sorry but couldn't figure out the relation between that page and my pointer precision issue. It says only how to make threshold zero, isn't it?
 
Old 06-15-2009, 01:26 PM   #12
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Well have you tried what they say?
 
Old 06-15-2009, 01:39 PM   #13
Seregwethrin
Member
 
Registered: Feb 2008
Posts: 112

Original Poster
Rep: Reputation: 16
Yes yes I'm fine now, but I've a new problem

I've a wireless mouse that has high DPI so moves fastly. I'm trying to make acceleration 1 but it's still fast and I can't make lower than 1, 0.5 or 1/2. I've tried but couldn't find a solution. Do you have an idea about that?

I think that mouse is too problematic in Linux, or maybe I just got problems.
 
Old 06-16-2009, 02:52 AM   #14
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Maybe
Code:
xset m 0 1 &
or
Code:
xset m 1/2 10 &
or
Code:
xset m 1/4 10 &
Just play with the numbers.
 
  


Reply



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
Mouse Speed CrEsPo Linux - Hardware 3 11-29-2007 12:39 PM
Mouse Speed alkos333 Slackware 5 01-13-2007 10:02 PM
Gnome Update, Mouse Speed, Overall System Speed funaroma Linux - Newbie 2 08-04-2004 10:13 PM
fluxbox mouse wheel workspace switcher snwright Linux - Software 2 05-22-2004 12:38 PM
mouse speed greyfox007 Mandriva 9 05-13-2004 01:08 PM

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

All times are GMT -5. The time now is 05:30 PM.

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