In Brief (TL;DR)
Learn how to create and modify keyboard shortcuts on Ubuntu to make your workflow faster and more personalized.
Discover how to change existing key combinations and add new ones to adapt the system to your workflow.
Optimize your workflow by assigning custom key combinations for your most frequent applications and actions.
The devil is in the details. 👇 Keep reading to discover the critical steps and practical tips to avoid mistakes.
Imagine wearing a custom-tailored suit, designed to fit you perfectly. Every seam, every detail, is crafted for your comfort and style. Now, think about your computer. Why shouldn’t it offer you the same feeling of perfection? In the digital world, keyboard shortcuts are our bespoke suit. And Ubuntu, with its philosophy centered on humanity and freedom, gives us all the tools to tailor a unique user experience for ourselves. Customizing shortcuts isn’t just a geeky whim, but an act that blends technological innovation with an almost artisanal wisdom in shaping tools to our way of working.
This article will guide you step-by-step into the world of custom shortcuts on Ubuntu. You’ll discover how to turn your keyboard into a magic wand, capable of executing complex commands with a simple key combination. The goal is simple: to make every interaction with your computer faster, more efficient, and, above all, more yours. Forget unnecessary clicks and long navigations through menus. It’s time to take control and make the operating system adapt to you, not the other way around, optimizing precious time and energy.

Why Customize Shortcuts on Ubuntu
In a fast-paced world, every second saved is a small treasure. Customizing keyboard shortcuts on Ubuntu is a smart strategy to optimize your workflow. Repetitive actions like opening an application, a specific folder, or running a command in the terminal can be reduced to a fraction of a second. This approach not only increases productivity, but also frees your mind from the burden of mechanical tasks, allowing you to focus on what truly matters: creativity, strategy, and solving complex problems.
Beyond efficiency, a crucial aspect is ergonomics. Heavy mouse use can lead to musculoskeletal disorders, such as carpal tunnel syndrome. Reducing reliance on the mouse by keeping your hands on the keyboard not only speeds up operations but also contributes to better posture and less physical fatigue. Creating a digital workspace that respects our physical well-being is a long-term investment in our health. Ubuntu, true to its “Linux for human beings” philosophy, provides simple tools to achieve this balance.
Ultimately, customizing an operating system means engaging in a dialogue with the machine, teaching it our language and habits. It is the ultimate expression of the control and freedom that open-source software promotes.
Finally, customization is a form of expression. It makes the operating system an extension of your way of thinking and operating. There is no universal workflow; everyone has their own needs. Whether you are a developer, a designer, a writer, or a project manager, Ubuntu allows you to build a tailor-made environment. This flexibility is one of the pillars of the open-source culture: providing powerful tools and leaving the user the freedom to use them as they see fit.
Where to Find the Shortcut Settings

Fortunately, Ubuntu makes the process of customizing shortcuts extremely accessible. You don’t need to be a computer expert to start modifying the system to your needs. The graphical interface of GNOME, Ubuntu’s default desktop environment, is designed to be intuitive. To find the dedicated control panel, follow these simple steps:
- Open the system Settings. You can do this by clicking the gear icon in the top-right dropdown menu or by searching for it in the Activities overview.
- In the Settings side panel, scroll down and select the Keyboard entry.
- Once inside the Keyboard section, you will see an option called View and Customize Shortcuts. Click on it.
At this point, you’ll find yourself in front of a well-organized window. The shortcuts are grouped into logical categories like Windows, System, Screenshots, and Launchers. Take a moment to explore these sections. You’ll discover key combinations you might not have known and get an idea of how the system handles common actions. This screen is your starting point for modifying existing shortcuts and, as we’ll see shortly, for creating new ones.
Modifying an Existing Shortcut
Once you’ve reached the keyboard shortcuts panel, changing a default combination is a piece of cake. Let’s say, for example, you want to change the shortcut for closing a window, which is Alt + F4 by default. The procedure is as follows: locate its category, in this case “Windows”, and look for the “Close window” action. Click on the corresponding row. A small window will appear, prompting you to enter the new key combination.
Simply press the keys you want to use, for example, Ctrl + Q. The new shortcut will be active immediately. If the chosen combination is already in use by another function, the system will notify you, giving you the option to cancel or reassign the old shortcut. To restore the default combination, just select the action and press the Backspace key. This intuitive process encourages experimentation, allowing you to find the most comfortable combinations for your work style without fear of making irreversible mistakes.
Creating a New Custom Shortcut
The true power of customization lies in the ability to create shortcuts from scratch to execute any command. This opens up endless possibilities: launching your favorite applications, opening frequently used folders, or running complex scripts with a single key press. Inside the shortcuts panel, scroll to the very bottom of the category list, and you will find the Custom Shortcuts section.
Click the Add Shortcut button to open the creation window. Here you will need to fill in three fields:
- Name: A descriptive label to recognize the shortcut (e.g., “Open Projects Folder”).
- Command: The exact command that would be typed into the terminal to perform the action.
- Shortcut: The key combination you want to associate with the command.
Once you’ve set these parameters, click “Add”. Your new shortcut will be ready to use immediately. This tool transforms your keyboard into a true command center, making your workflow leaner and more efficient. Being able to launch a text editor or a development environment with a personal key combination is a small luxury that, at the end of the day, translates into significant savings of time and energy.
Practical Examples of Useful Shortcuts
To better understand the potential of custom shortcuts, here are some practical examples you can implement right away. If you’re a developer, you might want to open your favorite code editor, like Visual Studio Code, with a quick combination. In this case, the Command to enter would simply be `code`. For those who often work with files, opening the Documents folder can become an instant action by entering the command `nautilus ~/Documents`.
The possibilities extend far beyond launching applications. You can automate terminal commands you use frequently. For example, to update the system, you could create a shortcut for the command `sudo apt update && sudo apt upgrade`. This allows you to manage your system more quickly, harnessing the power of the command line without having to open it every time. For those interested in further optimizing their command-line work, exploring the best shortcuts for the Linux terminal is a natural next step. Similarly, optimizing the use of text editors is crucial; learning the shortcuts for Gedit can dramatically improve your writing speed.
Managing and Troubleshooting Common Issues
While customizing shortcuts, you might encounter a few small hurdles. One of the most common is a shortcut conflict. If you assign a key combination that’s already in use, Ubuntu will notify you immediately, allowing you to choose whether to replace it. Another frequent issue is a shortcut that doesn’t work. The most likely cause is a typo in the Command field. To check, open the terminal and type the command manually: if it doesn’t work there, it won’t work as a shortcut either. Make sure the program or script is installed and accessible from the system’s PATH.
If, after many changes, you want to return to the initial state, there’s no need to worry. Inside the shortcuts panel, you will find an option to reset to default settings. This function will undo all your customizations, returning the system to its original state. Sometimes, abnormal shortcut behavior can be a symptom of a larger problem. If the system seems unstable, it might be helpful to consult a guide for resolving common issues, like the one on how to handle slow or crashing PCs and Macs.
Beyond the GUI: dconf-editor for Experts
For users who love having total control and aren’t afraid to “get their hands dirty,” Ubuntu offers even more powerful tools. dconf-editor is a utility that allows you to directly modify the GNOME desktop’s configuration database. Imagine it as an artisan’s backroom, where every single gear of the system is exposed and modifiable. To use it, you must first install it with the command `sudo apt install dconf-editor`.
Once launched, you can navigate through a tree-like structure that mirrors the system’s settings. Keyboard shortcuts are primarily located under the path `/org/gnome/settings-daemon/plugins/media-keys/` for custom and multimedia shortcuts, and `/org/gnome/desktop/wm/keybindings/` for those related to window management. Although dconf-editor offers unparalleled granularity of control, it is crucial to proceed with caution. An incorrect change could compromise the stability of your desktop. It is a tool for expert users, but mastering it means you can customize aspects of the system that are otherwise inaccessible.
Conclusions

Customizing keyboard shortcuts on Ubuntu is much more than a simple technical exercise. It is an assertion of control over your digital environment, a way to merge the innovation of a modern operating system with the tradition of a job well done, tailored to your own hands. We have seen how, through simple steps, it is possible to modify default settings and create new quick commands, turning the keyboard into a powerful ally for productivity and ergonomic well-being. From the features accessible to everyone in the Settings panel to advanced tools like dconf-editor, Ubuntu offers a level of flexibility that few other systems can match.
The final invitation is to experiment. Don’t be afraid to modify, test, and adapt shortcuts to your unique workflow. Whether you want to speed up web browsing, as explained in the guide on browser shortcuts on Linux, or automate repetitive tasks, every small customization is a step towards a smoother, more efficient experience. In a world that wants us to be passive consumers of technology, taking the time to shape our own tools is a small but significant act of digital craftsmanship. Make your Ubuntu truly yours: the result will be an operating system that you not only use, but that you feel belongs to you.
Frequently Asked Questions

To create a custom shortcut, go to ‘Settings’, select ‘Keyboard’, and then ‘View and Customize Shortcuts’. At the bottom of the list, click on ‘Custom Shortcuts’ and then the ‘+’ button. A window will open where you can enter the shortcut’s name (e.g., ‘Open Browser’), the command to execute (e.g., ‘firefox’), and finally, the desired key combination.
You can find all settings related to keyboard shortcuts by opening the ‘Activities’ overview and searching for ‘Settings’. Once inside, click on the ‘Keyboard’ item in the sidebar. From there, access the ‘Keyboard Shortcuts’ section to view, modify, or add new combinations.
Yes, it is. In the same ‘Keyboard Shortcuts’ menu, you can browse through the various categories (Windows, System, Launchers, etc.) and click on the shortcut you want to change. A window will open asking you to press the new key combination. It is advisable to be careful not to create conflicts with other existing shortcuts.
If a custom shortcut doesn’t work, the first thing to check is that the associated command is correct. You can test the command by opening a ‘Terminal’ and entering it directly. If the command works in the terminal but not with the shortcut, make sure the chosen key combination is not already in use or reserved by the system. Try setting a different, more complex key combination to see if the problem is resolved.
To reset a single shortcut, you can click on it in the settings menu and press the ‘Backspace’ key. For a complete reset of all shortcuts to their factory settings, you can use advanced tools like ‘dconf-editor’. By navigating to sections like ‘org.gnome.desktop.wm.keybindings’, you can find the modified entries (usually in bold) and use the option to reset them to their default value.

Did you find this article helpful? Is there another topic you'd like to see me cover?
Write it in the comments below! I take inspiration directly from your suggestions.