How to Disable the Ubuntu ‘Gsd-mouse’ Service

The GNOME Pointer Integration

In Ubuntu, the GNOME Settings Daemon (GSD) is a collection of plugins that bridge the graphical interface with the underlying Linux kernel and hardware subsystems. The gsd-mouse plugin is specifically responsible for managing advanced pointing device configurations within the GNOME session. It handles tasks such as applying your custom mouse pointer acceleration profiles, managing left/right-handed button swapping, and translating trackpad gestures (like two-finger scrolling) into actions the window manager can understand.

For almost every desktop and laptop user, this daemon is absolutely essential for a smooth, usable graphical experience. However, if you are building a highly specialized kiosk terminal that relies entirely on a touchscreen interface without any traditional mouse input, or if you are configuring a hardcore server environment where the GUI is only used as a dashboard and you manage input devices manually via xinput scripts (bypassing GNOME’s settings entirely), the gsd-mouse daemon becomes redundant. Disabling it stops GNOME from attempting to manage pointer hardware.

How to Disable the Gsd-mouse Service

Because gsd-mouse is loaded as a plugin by the overarching GNOME Settings Daemon, it cannot be disabled using standard systemctl commands. You must remove its execution permissions.

Warning: Do not do this on a standard desktop or laptop unless you want to lose the ability to configure your mouse speed or trackpad gestures via the GNOME Settings menu.

  1. Open your Ubuntu Terminal.
  2. To disable the mouse management plugin, remove its execute permissions by running the following command:
sudo chmod -x /usr/libexec/gsd-mouse

(Note: Depending on your Ubuntu version, the binary may be located at /usr/lib/gnome-settings-daemon/gsd-mouse).

  1. Restart your computer, or log out of GNOME and log back in for the changes to take effect.

GNOME will no longer load its native mouse configuration module upon login.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.