Quick Settings menu showing custom Scrobble and SSH buttons integrated with system toggles.

A new GNOME extension lets you add your own custom toggles to the Quick Settings menu, making it easier to run commands, scripts or service actions when you want.

Custom Command Toggle lets you add up to 6 bespoke triggers to the Quick Settings menu, where they sit alongside regular system toggles. You can assign custom labels and icons, the latter pulled from the Adwaita or Yaru icon sets, for each button you add.

See a list of symbolic Yaru icons then copy/paste the name of your preferred one.

The extension’s preferences provide plenty of control. You can define separate commands to run when toggling on and off, and choose whether an indicator icon appears when active.

Assigning keyboard shortcuts to buttons is possible, and you can import and export your button configurations to re-use them across devices and setups.

Custom Command Toggle preferences showing toggle configuration window and general settings panel with various options.
Configuring custom toggle buttons and their commands

The extension also offers state control, with options to automatically detect state, restore the previous state, or require manual turning on/off. You can sync state via optional commands too, which is handy if integrating with other scripts/apps/devices.

You can even run a command/script automatically on login, a task that’s less intuitive in Ubuntu 25.10 with GNOME 49, but still possible (here’s how).

Plenty of uses

I set up a button to launch Turntable’s CLI, which scrobbles music to my Last.fm profile in the background without showing the desktop GUI. Another toggle mounts and unmounts a SSHFS share so I can break edit files on the OMG! staging server

Other potential uses could be turning the Docker daemon or database services on/off, triggering rsync backups, or enabling/disabling firewall rules for testing. I’m sure many of you reading can think of more interesting uses, so share them in the comments.

Want to try it out?

Custom Command Toggle supports GNOME 45 through 49. You can install it from the GNOME Extensions website via a web browser or, for an easier time, use the Extensions Manager desktop app.

Get Custom Command Toggle on GNOME Extensions