How to Disable the Ubuntu ‘Gsd-media-keys’ Service

The GNOME Hardware Button Listener

In Ubuntu, the GNOME Settings Daemon (GSD) handles the silent, background integration between your physical hardware and the graphical interface. The gsd-media-keys plugin is the specific service listening for specialized keyboard inputs. When you press the physical “Volume Up” key, the “Play/Pause” button, or the “Brightness Down” key on your laptop keyboard, it is this daemon that intercepts that hardware signal, executes the command (like turning up the sound), and draws the large, transparent bezel overlay on your screen showing the volume level changing.

For 99% of desktop and laptop users, this plugin is absolutely essential; without it, your physical media keys will simply do nothing. However, if you are building a highly customized Linux environment—perhaps using a standalone window manager like i3wm or Sway alongside GNOME components, or if you prefer to map your media keys manually using a lower-level tool like xbindkeys or sxhkd for complex macro scripting—having the GNOME daemon intercepting those key presses creates severe conflicts. Disabling this plugin stops GNOME from stealing your media key inputs.

How to Disable the Gsd-media-keys Service

Because gsd-media-keys operates as a dynamically loaded plugin within the main GNOME Settings Daemon, you cannot disable it via standard systemctl commands. You must strip its execution permissions.

Warning: Only do this if you are intentionally setting up a custom keybinding daemon. Standard users will lose the ability to change volume or brightness via keyboard shortcuts.

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

(Note: Depending on your exact Ubuntu version, the plugin binary might reside at /usr/lib/gnome-settings-daemon/gsd-media-keys).

  1. Restart your machine, or log out of your current session and log back in to apply the change.

GNOME will no longer listen for or respond to special hardware media buttons.

Get the best tech tips delivered straight to your inbox.

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