What shortcuts are and why you might create them

A keyboard shortcut is a key combination — like Ctrl+S or Command+Q — that runs a program, opens a file, or performs an action without you having to navigate menus or search for it. When you create your own shortcuts, you're telling your operating system: "When I press these keys together, do this thing."

The reason to build custom shortcuts is speed and repetition. If you open the same three programs every morning, or frequently navigate to a specific folder, a shortcut saves you dozens of clicks over a week. On Windows, you might create a shortcut that launches your email client and a spreadsheet at once. On Mac, you can set a shortcut to open a folder buried three levels deep. On Linux, you can bind a key combination to a shell command.

The process differs by operating system, but the principle is the same: you're creating a faster path to something you do often.

Key Takeaways

  • Windows shortcuts are usually files you create on your desktop or in a folder, and you can assign a keyboard combination to them in their properties.
  • Mac shortcuts are created in System Settings under Keyboard > Keyboard Shortcuts, where you assign a key combination to an action or program.
  • Linux shortcuts depend on your desktop environment (GNOME, KDE, Xfce), but most let you bind keys in Settings or through a configuration file.
  • The most useful shortcuts are ones you'll actually use regularly — start with the three or four actions you repeat most often.

Creating shortcuts on Windows

On Windows, a shortcut is a small file that points to a program, file, or folder. You create the shortcut first, then assign a keyboard combination to it.

To create a shortcut to a program: right-click on your desktop or in a folder, select New, then Shortcut. A window will ask you for the location of the item. Type the full path to the program — for example, C:\Program Files\Google\Chrome\Application\chrome.exe for Chrome — or click Browse to find it. Click Next, give the shortcut a name, and click Finish.

Now assign a keyboard combination. Right-click the shortcut you just created, select Properties, and look for the Shortcut tab. You'll see a field labeled Shortcut key. Click in that field and press the key combination you want — for example, Ctrl+Alt+C. Windows will record it. Click Apply, then OK. From now on, pressing that combination will launch the program.

You can also create shortcuts to files or folders the same way: right-click the file or folder, select Send to, then Desktop (create shortcut). Then follow the properties step above to add a keyboard combination.

Creating shortcuts on Mac

Mac shortcuts are managed through System Settings rather than as separate files. Open System Settings, click Keyboard in the sidebar, then select Keyboard Shortcuts at the bottom of the window.

On the left side of the window, you'll see categories like All Applications, Finder, Safari, and others. Select the category for the program where you want the shortcut to work. Click the + button at the bottom to add a new shortcut.

A dialog will appear asking for three things: the application (select from the dropdown), the menu item name (type the exact name of the action as it appears in the program's menu), and the keyboard shortcut (click the field and press your key combination). For example, if you want Ctrl+Option+N to create a new email in Mail, you would select Mail as the application, type New Message as the menu item, and press Ctrl+Option+N. Click Add.

To create a shortcut that opens a program itself rather than an action within a program, select All Applications in the left sidebar, click +, select the application from the dropdown, leave the menu item field empty, and assign your key combination.

Creating shortcuts on Linux

Linux shortcuts depend on which desktop environment you're using — GNOME, KDE, Xfce, or another. The steps differ, but all follow the same idea.

On GNOME (Ubuntu, Fedora, and others): Open Settings, click Keyboard in the sidebar, then scroll down and click View and Customize Keyboard Shortcuts. Scroll through the list to find the action you want to bind, click it, and press your key combination. If you want to create a shortcut for a custom command or program, scroll to the bottom and click + to add a new custom shortcut. Give it a name, enter the command (for example, firefox to open Firefox), and assign your key combination.

On KDE (Kubuntu, openSUSE, and others): Open System Settings, go to Shortcuts, and look for the application or category you want. Click on an action and assign a key combination. To create a custom shortcut, look for an option to add a new shortcut or edit the configuration file directly.

On Xfce: Open Settings, click Keyboard, then the Application Shortcuts tab. Click Add, enter the command you want to run, and press your key combination.

If your desktop environment doesn't have a graphical shortcut editor, you can edit the configuration file directly. This usually means opening a text editor and adding lines to a file like ~/.config/openbox/rc.xml (for Openbox) or ~/.xbindkeysrc (for Xbindkeys). The exact syntax depends on your setup, so check your desktop environment's documentation.

Choosing key combinations that won't conflict

When you assign a shortcut, pick a combination that your operating system and programs aren't already using. Common reserved combinations include Ctrl+C (copy), Ctrl+V (paste), Ctrl+S (save), Alt+Tab (switch windows), and Command+Q (quit on Mac).

A safe approach is to use three keys together: Ctrl+Alt+letter on Windows and Linux, or Command+Option+letter on Mac. For example, Ctrl+Alt+X or Command+Option+M are unlikely to be taken. Avoid single-key combinations or two-key combinations with common modifiers, because programs often claim those.

If you create a shortcut and it doesn't work, it's usually because another program is already using that combination. Try a different one. You can also check your operating system's list of reserved shortcuts — Windows has a list in its Settings under Keyboard, and Mac shows conflicts in the Keyboard Shortcuts window if you try to assign a key that's already taken.

Testing and troubleshooting your shortcuts

After you create a shortcut, test it right away. Press the key combination and see if the program opens or the action runs. If nothing happens, the shortcut may not have been saved correctly, or the key combination may be reserved.

On Windows, make sure the shortcut file itself is in a location where Windows can find it — your desktop or a folder in your user directory works reliably. Shortcuts in deep nested folders sometimes fail. Also check that you typed the program path correctly in the shortcut properties.

On Mac, make sure you typed the menu item name exactly as it appears in the program. If the program calls it "Compose" but you typed "New Message", the shortcut won't work. Open the program's menu and copy the exact text.

On Linux, if a custom command shortcut doesn't work, open a terminal and type the command by itself to make sure it runs. If the command works in the terminal but not as a shortcut, the issue is usually with how you entered it in the shortcut settings — try adding the full path to the program instead of just its name.

Frequently Asked Questions

Can I use the same shortcut across multiple programs?

On Windows and Linux, yes — the same shortcut can open different programs depending on which one is active. On Mac, you can create the same shortcut for different applications by assigning it in each application's category in Keyboard Shortcuts. The active program will respond to it.

What if I want to delete a shortcut I created?

On Windows, right-click the shortcut file and press Delete. On Mac, go back to System Settings > Keyboard > Keyboard Shortcuts, find the shortcut, and click the minus button. On Linux, open your shortcut settings and remove it from the list, or delete the line from your configuration file if you edited it manually.

Can I create a shortcut that runs multiple programs at once?

On Windows, you can create a batch file (a text file with a .bat extension) that lists multiple programs, then create a shortcut to that batch file. On Mac and Linux, you can create a shell script that launches multiple programs, then create a shortcut to run that script. This requires some command-line knowledge.

Why does my shortcut stop working after an update?

Operating system updates sometimes reset custom shortcuts or change how they're stored. On Windows, shortcuts usually survive updates, but Mac and Linux may reset keyboard shortcuts. After a major update, check your shortcuts and recreate any that disappeared.