Managing keyboard shortcuts for running an application in GNOME

This page has been converted from the Fedora Project Wiki and cleaned up for publishing here on the Fedora Docs Portal, but it has not yet been reviewed for technical accuracy. This means any information on this page may be outdated or inaccurate. Reviews for technical accuracy are greatly appreciated. If you want to help, see the README file in the source repository for instructions.

Adding keyboard shortcuts for custom applications in GNOME

This section describes how to add a keyboard shortcut for starting a custom application in GNOME.

Procedure

  1. Open Settings and choose the Devices entry from the list:

    shortcuts settings devices
    Earlier Fedora versions might not need this step.
  2. Choose the Keyboard entry from the list and scroll down to the bottom of the list of keyboard shortcuts:

    shortcuts keyboard scroll
  3. Click the + button at the bottom of the list.

    A window for entering the details appears:

    shortcuts add empty
  4. Fill in details for the application.

    shortcuts add filled

    Replace My Application with the name of the application and myapp --special options with the command to run this application, including any options.

  5. Click the Set shortcut…​ button.

    A window for entering the keyboard shortcut appears:

    shortcuts add enter
  6. Press the key combination that should become the shortcut for starting the application.

    As soon as you release the key combination, the window for entering the shortcut closes. The window for application name and command now displays the entered shortctut:

    shortcuts add shortcut
  7. Click the Add button.

    Your application shortcut now appears in the list under Custom Shortcuts:

    shortcuts added

Disabling keyboard shortcuts for custom applications in GNOME

This section describes how to disable a keyboard shortcut for starting a custom application in GNOME.

Procedure

  1. Open Settings and choose the Devices entry from the list:

    shortcuts settings devices
    Earlier Fedora versions might not need this step.
  2. Choose the Keyboard entry from the list and scroll down to the bottom of the list of keyboard shortcuts:

    shortcuts keyboard scroll
  3. Scroll down in the list of shortcuts and applications until you locate the application that you want to disable:

    shortcuts added
  4. Click on the entry.

    A window for editing the shortcut appears:

    shortcuts edit
  5. Click the small x button to the right of the disaplyed shortcut.

    The keyboard shortcut is removed from this shortcut and the shortcut list now displays Disabled instead of the key combination:

    shortcuts disabled
  6. Close the shortcut editing window.

Enabling keyboard shortcuts for custom applications in GNOME

This section describes how to enable a keyboard shortcut for starting a custom application in GNOME.

  1. Open Settings and choose the Devices entry from the list:

    shortcuts settings devices
    Earlier Fedora versions might not need this step.
  2. Choose the Keyboard entry from the list and scroll down to the bottom of the list of keyboard shortcuts:

    shortcuts keyboard scroll
  3. Scroll down in the list of shortcuts and applications until you locate the application that you want to enable:

    shortcuts list disabled
  4. Click on the entry.

    A window for editing the shortcut appears:

    shortcuts disabled
  5. Click the Set shortcut…​ button.

    A window for entering the keyboard shortcut appears:

    shortcuts enabling entering
  6. Press the key combination that should become the shortcut for starting the application.

    As soon as you release the key combination, the window for entering the shortcut closes. The window for application name and command now displays the entered shortctut:

    shortcuts enabling entered
  7. Close the shortcut editing window. = Removing keyboard shortcuts for custom applications in GNOME

This section describes how to remove a keyboard shortcut for starting a custom application in GNOME.

Procedure

  1. Open Settings and choose the Devices entry from the list:

    shortcuts settings devices
    Earlier Fedora versions might not need this step.
  2. Choose the Keyboard entry from the list and scroll down to the bottom of the list of keyboard shortcuts:

    shortcuts keyboard scroll
  3. Scroll down in the list of shortcuts and applications until you locate the application that you want to remove:

    shortcuts added
  4. Click on the entry.

    A window for editing the shortcut appears:

    shortcuts edit
  5. Click the red Remove button.

    The shortcut is removed.