How to Set Custom Keyboard Shortcuts in Ubuntu

Ubuntu ships with an extensive collection of built-in keyboard shortcuts for navigation, screen capture, and window management. However, every user maintains unique habits: software developers frequently launch specific terminal scripts, digital creatives open photo editing tools, and office professionals rely on rapid calculator access. Ubuntu includes a comprehensive graphical shortcut editor that allows you to bind any shell command, application, or script to your own custom key combination.

Why Create Custom Keyboard Combinations?

Establishing personalised keyboard shortcuts delivers immediate productivity gains:

  • Instant App Launching: Open resource-intensive tools like VS Code, GIMP, or Firefox without touching your mouse or searching the application grid.
  • Script Automation: Trigger background backup scripts, display resolution resets, or audio routing commands with a single keystroke.
  • Consistent Multi-Platform Habits: Recreate familiar macOS or Windows hotkeys on Ubuntu to eliminate muscle-memory friction.

Step-by-Step: Add a Custom Shortcut in Ubuntu Settings

You can create custom shortcut bindings directly within the native Settings panel:

  1. Click the System Menu in the top-right corner of your desktop (where the network and battery icons reside) and select Settings.
  2. In the left-hand sidebar, click on Keyboard.
  3. Under the Keyboard Shortcuts section in the main pane, click View and Customise Shortcuts.
  4. A pop-up dialogue box will appear displaying categories like Navigation, Screenshots, and Windows. Scroll to the very bottom and click on Custom Shortcuts.
  5. Click the Add Shortcut button (or the + icon).
  6. Fill in the shortcut properties:
    • Name: Type a descriptive label (for example, Launch Calculator or Open Home Directory).
    • Command: Enter the exact terminal executable command (e.g. gnome-calculator, nautilus, or /home/user/scripts/backup.sh).
  7. Click the Set Shortcut… button, then press your desired physical key combination on your keyboard (for example, Super + C or Ctrl + Alt + K).
  8. Click Add in the top-right corner of the dialogue box to save your shortcut.

Your custom hotkey is immediately operational—press your new key combination to test the application launch.

How to Edit or Remove a Custom Shortcut

If you decide to reassign or delete a custom binding later:

  1. Return to Settings > Keyboard > View and Customise Shortcuts > Custom Shortcuts.
  2. Click on the name of the shortcut you wish to modify.
  3. To reassign keys, click the existing combination and press your new keys. To delete the shortcut entirely, click Remove.

Note: If you select a key combination already in use by GNOME (such as Ctrl + Alt + T), Ubuntu displays a conflict warning asking if you wish to override the existing shortcut.

Configuring tailored desktop shortcuts turns your Ubuntu environment into a finely tuned workstation optimised for your exact daily routines.

Get the best tech tips delivered straight to your inbox.

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