1. Home
  2. Linux

How To Customize Keyboard Shortcuts On KDE Plasma 5

KDE Plasma 5 has dozens of keyboard shortcuts, which is great for those who prefer to navigate the desktop with minimal use of the mouse. Since there are so many, the average user may have trouble learning all the keyboard shortcut on KDE Plasma just by experimenting.

Viewing keyboard shortcuts on KDE Plasma 5 is quite easy, as they arenโ€™t as hidden as some of the other aspects of the desktop. To access the keyboard shortcut area, go to the application launcher and type โ€œshortcutsโ€ in the search box. When typing โ€œshortcutsโ€ in the app launcher, three items will appear; โ€œglobal shortcuts,โ€ โ€œstandard shortcutsโ€, and โ€œcustom shortcutsโ€.

Global Shortcuts

Those trying to learn how to move more efficiently through the Plasma desktop, check Global shortcuts, as this area houses all the different keyboard combos related to that. To view the existing shortcuts for Plasma, look in the โ€œGlobal Shortcutsโ€ window for โ€œComponentโ€.

Under โ€œComponentโ€, select โ€œPlasmaโ€. After selecting Plasma, youโ€™ll see a complete list of shortcuts on the side.

Note: Global Shortcuts also has shortcut information for other core aspects of KDE, like the KWin window manager, KDE Power manager, and others. To view those shortcuts, highlight them.

Want to save these keyboard shortcuts for later? Press the screenshot button on your keyboard, and then click โ€œsaveโ€ to save the picture for later.

Standard Shortcuts

Aside from Global keyboard shortcuts on KDE Plasma 5, it also has โ€œStandard Shortcutsโ€. This section of the keyboard settings shows off common keyboard combos users may already be familiar with (think copy, paste, save, etc.) To view these shortcuts, search โ€œStandard Shortcutsโ€ in the app menu, then select it.

Once the Standard Shortcuts window opens, youโ€™ll see a long list of actions, followed by what keys trigger them.

Unlike the โ€œGlobal Shortcutsโ€ area, things arenโ€™t separated by desktop components. Instead, itโ€™s one long list of actions. To view each of the keyboard actions, scroll through the list.

Changing Shortcuts

Sometimes the standard keyboard shortcuts can be uncomfortable, especially if it involves pressing many buttons at once. If youโ€™d like to change the existing shortcuts, follow these steps.

First, open up either โ€œGlobal Shortcuts,โ€ or โ€œStandard Shortcutsโ€.

Once in the shortcut manager area, highlight the action you want to customize.

By selecting an existing action, the keyboard shortcut manager will show the default shortcut, followed by a โ€œcustomโ€ button. To remap an existing shortcut, click โ€œcustomโ€, then press the custom keyboard combination to change it. When done, click the โ€œApplyโ€ button to finalize the changes.

Custom Shortcuts

A custom keyboard shortcut on KDE Plasma 5 can go a long way. With it, a user can quickly launch dozens of programs, open a website, run a system operation, or even modify the desktop!

In this section of the guide, weโ€™ll go over ways you can create useful custom shortcuts for KDE Plasma.

Opening Programs And URLs

One way to take advantage of custom shortcuts on the KDE Plasma desktop is to have them launch specific programs. To set up a custom program shortcut, open the app launcher, type โ€œCustom Shortcuts,โ€ and open it.

Inside of the Custom Shortcut area, click the โ€œEditโ€ button, then โ€œNewโ€.

Selecting โ€œNewโ€ opens a special menu where users can choose what kind of shortcut to make. Mouse gestures, keyboard shortcuts, etc.

To create a new global shortcut, hover over โ€œGlobal shortcutโ€ and select the โ€œcommand/URLโ€ option.

Clicking the โ€œcommand/URLโ€ button will create a new entry in the shortcut menu, labeled โ€œNew Actionโ€.

Highlight โ€œNew Actionโ€ with the mouse and select it. From there, click the โ€œActionโ€ tab.

Note: to change the name of the shortcut, double-click on โ€œNew Actionโ€.

Inside of the โ€œActionโ€ tab, youโ€™ll be able to assign the command to the shortcut.

Click the browse button, and use the file browser to navigate to /usr/share/applications.

From here, select the app youโ€™d like to launch.

Alternatively, set the shortcut to open a custom URL by writing the following in the โ€œCommand/URLโ€ box.

Note: if the xdg-open command doesnโ€™t work, try kde-open.

xdg-open http://website.com

With the command set up, move on to the โ€œTriggerโ€ tab. Inside of the โ€œTriggerโ€ tab, click the โ€œnoneโ€ button. Selecting this button will allow the user to assign a button combo for the new custom keyboard shortcut.

Opening Shell Scripts

To set KDE Plasma 5 up to launch shell scripts from a keyboard shortcut, do the following.

First, open โ€œCustom Shortcuts,โ€ by searching for it in the app menu.

Once there, click โ€œEdit,โ€ followed by โ€œNew,โ€ then โ€œGlobal shortcutโ€.

Highlight โ€œNew Actionโ€ and select it. Next, click the Actionโ€ tab, and write the following in the box underneath.

sh /path/to/shell/script.sh

To complete the custom shortcut, select โ€œTriggerโ€ and assign a keyboard combination.

Leave a comment

ExelateDataExelateDataExelateData
AddThis Sharing Sidebar
Share to FlipboardFlipboardShare to RedditReddit
, Number of shares
Share to PinterestPinterest
, Number of shares9
Hide
Show
AddThis Sharing
SHARESFlipboardRedditPinterest