Categories: Linux & UnixUbuntu

How to create custom keyboard shortcut in Ubuntu Linux

I recently installed Ubuntu on my desktop computer. Everything was working fine, except that I was not able to capture screenshots using the ‘Insert/Print Screen’ key on my Dell keyboard. While googling the issue, I stumbled upon a workaround that solved my problem.

The workaround was to create a custom keyboard shortcut. If you are also facing a similar screenshot-related problem, or want to know in general how to create custom keyboard shortcuts in Ubuntu, you’ll be glad to know that’s what we’ll be discussing here.

How to create a custom keyboard shortcut

For this, first head to the System Settings menu, and then click the Keyboard icon there.

Sponsored

In the window that appears, open the Shortcuts tab.

Here, click the Custom Shortcuts option at the bottom left, followed by a click on the ‘+’ icon at the bottom. You’ll see that a small window will appear where you can provide the shortcut details.

Sponsored

Fill in the shortcut name, and the command you want this shortcut to execute. For example, I entered the following details:

Click the ‘Apply’ button, and the shortcut will be created. But it will be disabled by default.

To enable it, click over the Disabled text, and then press a key combination of your choice (this key-combination will trigger the command that this shortcut corresponds to). For example, I pressed Alt+Insert.

Once done, your custom shortcut is ready. You can use it for whatever purpose it is intended for.

The post How to create custom keyboard shortcut in Ubuntu Linux appeared first on FAQforge.

Ubuntu Server Admin

Recent Posts

Web Engineering: Hack Week 2024

At Canonical, the work of our teams is strongly embedded in the open source principles…

20 hours ago

Ubuntu Weekly Newsletter Issue 873

Welcome to the Ubuntu Weekly Newsletter, Issue 873 for the week of December 29, 2024…

3 days ago

How to resolve WiFi Issues on Ubuntu 24.04

Have WiFi troubles on your Ubuntu 24.04 system? Don’t worry, you’re not alone. WiFi problems…

3 days ago

Remembering and thanking Steve Langasek

The following is a post from Mark Shuttleworth on the Ubuntu Discourse instance. For more…

3 days ago

How to Change Your Prompt in Bash Shell in Ubuntu

I don’t like my prompt, i want to change it. it has my username and…

3 days ago

The Silent Guardian: Why Bundler Checksums Are a Game-Changer for Your Applications

Introduction: A Fragile Trust The Ruby ecosystem relies heavily on RubyGems.org as the central platform…

4 days ago