How to Edit Program Shortcuts in GNOME Shell (App Launchers)

In GNOME Shell, a “program shortcut” usually means an application launcher in the Applications grid. Change its displayed name, description, or launch command with Alacarte, or edit a per-user copy of its .desktop file. This is different from a keyboard shortcut; change key combinations in Settings under Keyboard.

Alacarte is the simpler graphical option. The terminal method below creates a user-level override, so you do not have to edit a package-owned system file.

Method 1: Edit an app launcher with Alacarte

Step 1: Install and open Alacarte

Install the alacarte package with your distribution’s package manager:

Open Activities or Applications, search for Alacarte, and launch it. Some distributions call it Main Menu. Alacarte is a GNOME menu editor, as described on its official project page.

GNOME Shell search showing Alacarte as the application result
Search the Applications overview for Alacarte or Main Menu.

Step 2: Find the application entry

Select a category on the left, locate the app in the list, and click its row. The category may vary by distribution. This changes the launcher entry in the menu; it does not rename or reinstall the program.

Alacarte menu editor with the Text Editor launcher selected
Select the app row, then open its properties.

Step 3: Change launcher properties

Choose Properties and edit the fields you need:

  • Name is the label shown in GNOME search and the app grid.
  • Comment is a short description or tooltip.
  • Command is the program and arguments GNOME runs.

Use the app’s actual executable and valid arguments. Do not paste shell syntax such as pipes or && into the command field. Click OK to save.

Alacarte Launcher Properties dialog with Name, Command, and Comment fields
Edit the launcher name, command, or description in this dialog.

Step 4: Test the change

Confirm the edited name appears in Alacarte, then search for and launch it from the GNOME overview. If GNOME still shows the old label, sign out and back in to refresh the application index.

Alacarte application list showing the renamed My Text Editor launcher
Confirm the new name and launch the entry to test it.

Method 2: Edit a per-user desktop entry

Use the terminal when you need to change a specific launcher field. GNOME documents /usr/share/applications for system entries and ~/.local/share/applications for user entries. Alacarte’s manual says it saves edited and new app entries in the user applications directory by default. A local copy is easier to undo and avoids overwriting a package-managed file.

Step 5: Locate the launcher and copy it

Find the app’s actual .desktop file in /usr/share/applications or the directory used by its installer. The example below uses example.desktop; replace it with the real filename. If the file is already in your local applications folder, edit that copy directly.

mkdir -p ~/.local/share/applications
cp /usr/share/applications/example.desktop ~/.local/share/applications/

Keep the same filename so the per-user entry takes precedence. You do not need sudo to copy it into your home directory.

Terminal command copying example.desktop into the user applications directory
Copy the launcher to your user applications directory before editing.

Step 6: Edit the launcher fields

Open the copied entry with Nano:

nano ~/.local/share/applications/example.desktop

Desktop entries include a [Desktop Entry] group. For example:

[Desktop Entry]
Name=Example App
Comment=Opens Example App
Exec=example-app
Terminal=false

Change the existing Name, Comment, or Exec value, preserving other lines. Exec is a desktop-entry command line, not a shell script; follow the Desktop Entry Specification when quoting arguments with spaces. If the file has DBusActivatable=true, GNOME may use D-Bus activation and ignore Exec. A TryExec value pointing to a missing program may also hide the entry. Save with Ctrl+O, press Enter, then exit with Ctrl+X.

Nano editor showing a desktop entry with Name, Comment, Exec, and Terminal fields
Keep the desktop-entry structure intact while editing values.

Step 7: Validate the file

If desktop-file-utils is installed, check the entry with:

desktop-file-validate ~/.local/share/applications/example.desktop

A return to the prompt without an error means the file passed this syntax check. GNOME’s integration guide recommends this validator. It does not verify that the app command itself works.

Terminal running desktop-file-validate on the local example.desktop file and returning to the prompt
The validator checks desktop-entry syntax, not the app’s command.

Step 8: Refresh GNOME Shell and test

Search for the updated name in the Applications overview and launch it. If the old entry remains, sign out and back in. If it opens incorrectly, recheck the executable and arguments in Exec, any TryExec line, and whether DBusActivatable is enabled.

GNOME Shell app overview displaying the Example App launcher in search results
Search for and launch the edited entry to verify it.

Choose the right method

GoalMethod
Change a displayed name or descriptionAlacarte
Change a command or a specific desktop-entry fieldPer-user .desktop copy
Change a key combinationGNOME Settings > Keyboard

GNOME’s desktop-file guide explains launcher fields and file locations. The freedesktop.org key reference documents Exec, TryExec, and DBusActivatable.

Leave a Comment

How to Share Files Over Bluetooth on Linux with Blueman

How to Share Files Over Bluetooth on Linux with Blueman

Send and receive files over Bluetooth on Linux with Blueman. Install OBEX support, pair devices, choose a file, accept transfers, and fix common issues.

How to Connect to Servers with GNOME Files

How to Connect to Servers with GNOME Files

Connect GNOME Files to SSH/SFTP, FTP, SMB, WebDAV, or NFS with the correct server URI, sign-in details, and fixes for common connection errors.

How to Connect to Servers in Linux With the KDE Dolphin File Manager

How to Connect to Servers in Linux With the KDE Dolphin File Manager

Open SFTP, SSH, SMB, FTP, NFS, and WebDAV locations in Dolphin, sign in safely, transfer files, and save network folders for later.

How to Use a PS4 Controller on Linux: USB, Bluetooth, and Steam

How to Use a PS4 Controller on Linux: USB, Bluetooth, and Steam

Connect a DualShock 4 to Linux by USB or Bluetooth, then check controller detection and configure Steam Input only when a game needs it.

How to Speed Up the Fedora Linux App Installer

How to Speed Up the Fedora Linux App Installer

Use DNF5 parallel downloads to reduce RPM install waits in GNOME Software, then tell when mirror or Flatpak delays need a different fix.

How to Use iCloud on Linux Through Your Web Browser

How to Use iCloud on Linux Through Your Web Browser

Access iCloud on Linux in a current browser. Learn how to sign in, use iCloud Drive and other web apps, and understand the limits of browser access.

How to Back Up the Linux Bootloader to a USB Drive

How to Back Up the Linux Bootloader to a USB Drive

Save GRUB settings, boot files, and UEFI entry details to removable storage, then use rescue media to repair the correct boot path safely.

How to Install and Set Up Bitwarden on Linux

How to Install and Set Up Bitwarden on Linux

Install Bitwarden on Linux with the right DEB, RPM, Snap, Flatpak, or AppImage package, then sign in and set a secure vault timeout.

How to Change the Screensaver on Xfce: Choose a Theme and Set the Idle Time

How to Change the Screensaver on Xfce: Choose a Theme and Set the Idle Time

Pick a screensaver theme in Xfce, preview it, choose when it starts, and configure automatic locking in the separate Lock Screen tab.

How to Disable the Screensaver in GNOME Shell

How to Disable the Screensaver in GNOME Shell

Stop GNOME Shell from blanking or locking your display automatically. Change Power and Screen Lock settings, or use Caffeine for a temporary keep-awake toggle.