Table of Contents

Take screenshots in KDE with win+shift+s

Spec

Requirements:

Scope:

tags | screen snip

Solution

# Go to Custom Shortcuts
K Menu -> System Settings -> Workspace -> Shortcuts -> Custom Shortcuts
# Create a new custom group called Spectacle
-> Edit -> New Group -> give it a name, say, "Spectacle"
-> Click on the checkbox next to Spectacle
# create new custom shortcut(s)
-> Edit > New > Global Shortcut > Command/URL
--> Give it a name, say, "PrintScreen Clipboard Rectangular"
--> Comment: Copy the screenshot into clipboard and also save it to a file.
--> Trigger: Meta+Shift+S
# The output directory will be created if it does not already exist.
--> Action: Command/URL: spectacle -bcr -o "$HOME/Pictures/Screenshots/Screenshot from $(date +'%Y-%m-%d %H:%M:%S').png"
-> Apply

Testing results

See also

May be useful later

After adding this, I have

rajulocal@hogwarts ~/.config % git grep -i --no-index "PrintScreen Clipboard Rectangular"
kglobalshortcutsrc:{3d9c7702-3955-4696-a8d5-89bd46f488ac}=Meta+Shift+S,none,PrintScreen Clipboard Rectangular
khotkeysrc:Name=PrintScreen Clipboard Rectangular