When switching between different computer mice, multi-monitor setups, or high-resolution laptop displays in Ubuntu, cursor tracking often feels either sluggishly slow or overly sensitive and erratic. Fine-tuning your pointer speed and cursor acceleration ensures your mouse moves naturally across your desktop, reducing wrist strain and improving pointer precision during everyday tasks.
Understanding Pointer Speed vs Mouse Acceleration
Modern Linux desktop environments manage cursor movement through two distinct mechanics:
- Pointer Speed: Determines the base sensitivity multiplier. Increasing this slider makes the cursor traverse more pixels on screen for every millimetre the physical mouse moves.
- Mouse Acceleration: Dynamically increases cursor speed when you flick your hand quickly while maintaining precision when you move the mouse slowly. Disabling acceleration (often called flat acceleration) provides 1:1 linear tracking, which many graphic designers and gamers prefer.
How to Change Pointer Speed via Ubuntu Settings
The standard GNOME settings menu in Ubuntu provides independent sensitivity controls for both connected mice and built-in laptop touchpads.
- Click the Quick Settings menu in the top-right corner of your desktop (the volume and network area).
- Click the Settings icon (gear symbol).
- In the left sidebar, click on Mouse & Touchpad.
- To change physical mouse speed, locate the Mouse section and drag the Mouse Speed slider left (slower) or right (faster).
- If you are using a laptop, scroll down to the Touchpad section and adjust the Touchpad Speed slider independently.
- Move your cursor immediately across the screen to feel the responsiveness until you achieve your preferred tracking balance.
How to Enable or Disable Mouse Acceleration in Ubuntu
While the default Ubuntu Settings window adjusts speed, toggling mouse acceleration requires either the GNOME Tweaks utility or a quick terminal command.
Method 1: Using GNOME Tweaks (Graphical)
- If you do not have GNOME Tweaks installed, open Terminal (Ctrl + Alt + T) and run:
sudo apt update && sudo apt install gnome-tweaks -y - Launch Tweaks from the Ubuntu application launcher.
- Click on Keyboard & Mouse in the left pane.
- Under the Mouse section, find the Acceleration Profile dropdown menu.
- Select Flat for consistent 1:1 linear motion without sudden speed bursts, or keep Adaptive for default dynamic acceleration.
Method 2: Using the Command Line (GSettings)
You can also set the acceleration profile directly via terminal without installing extra software:
# To disable acceleration (flat profile):
gsettings set org.gnome.desktop.peripherals.mouse accel-profile 'flat'
# To re-enable adaptive acceleration:
gsettings set org.gnome.desktop.peripherals.mouse accel-profile 'default'
Troubleshooting Stuttering or Inaccurate Cursors
If your mouse pointer appears to jump or stutter despite adjusting sensitivity sliders, verify that your optical sensor is clean and test the device on an even mousepad. For wireless mice, ensure the USB receiver is plugged into a USB 2.0 port or connected away from unshielded USB 3.0 cables, which are known to cause 2.4GHz radio frequency interference.