Pages
User Documentation

Custom shortcuts

You can set any key or combination of keys to trigger an action on your computer. For example, you might want the Pause key to lock your screen when you pause your work. Here's how.

  1. Open the Shortcuts module in System Settings.

  2. Click Add New and choose Command or Script….

  3. Enter this command:

    qdbus6 org.kde.screensaver /ScreenSaver org.freedesktop.ScreenSaver.Lock
    
  4. Select the new entry and click Add New next to its shortcuts.

  5. Press the Pause key.

  6. Click Apply.

  7. Test it by pressing the Pause key.

This older screenshot shows the same idea in the Custom Shortcuts module, which no longer exists.

Setting the Pause key in an older version

Adapted for SonicDE from userbase.kde.org/Tutorials/hotkeys by KDE UserBase contributors, licensed under CC BY-SA 4.0.

Edit this page on GitHub

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.