quick-docs/modules/ROOT/pages/gnome-setting-key-shortcut.adoc
2023-08-28 23:49:13 +02:00

44 lines
1.6 KiB
Text

= Setting a key shortcut to run an application in GNOME
Adam Samalik; Anthony McGlone
:page-authors: {author},{author_2}
:revnumber: F37
:revdate: 2022-12-12
:revremark: update procedure
:category: Administration
:tags: How-to, Workstation, Gnome, Shortcut
:page-aliases: proc_setting-key-shortcut
If you frequently use a certain application, you can set a keyboard shortcut to quickly launch that application on GNOME.
This example shows how to set a key shortcut to launch the terminal.
To set a key shortcut to run an application:
. Open the *Settings* menu and select *Keyboard* from the list.
. Scroll down to the *Keyboard Shortcuts* section and click *View and Customize Shortcuts*.
. Click on the *Custom Shortcuts* menu item. Then click *Add Shortcut*.
. Enter the following details in the *Add Custom Shortcut* window:
* Add a `Name` for your shortcut, for example, `Terminal`.
* Enter the command that launches the application. For example, `gnome-terminal`.
. Click *Set Shortcut* to open the *Enter the new shortcut* dialog.
. Type a keyboard shortcut, for example `Ctrl-Alt-T`.
. Click *Add*.
Your shortcut appears under *Custom Shortcuts* and is ready to use. If you need to edit or remove
a shortcut, follow the steps below.
To edit a shortcut:
. Open the *Custom Shortcuts* menu.
. Click on the shortcut that you wish to edit.
. Modify *Name*, *Command* as needed.
. To change *Shortcut*, click on the x icon beside the keys.
. Click *Set Shortcut* and enter the new shortcut keys.
To remove a shortcut:
. Open the *Custom Shortcuts* menu.
. Click on the shortcut that you wish to remove.
. Click the *Remove* button.