take_screenshots_in_kde_with_win_shift_s
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
take_screenshots_in_kde_with_win_shift_s [2023/04/24 22:27] – removed - external edit (Unknown date) 127.0.0.1 | take_screenshots_in_kde_with_win_shift_s [2023/04/24 22:51] (current) – [See also] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Take screenshots in KDE with win+shift+s ===== | ||
+ | |||
+ | ==== Spec ==== | ||
+ | Requirements: | ||
+ | * Take screenshots with win+shift+s. | ||
+ | * Screenshot should be copied to clipboard so it can be pasted into other applications. | ||
+ | * Screenshot should be saved into a file so it can be referred to later. | ||
+ | |||
+ | Scope: | ||
+ | * KDE running on Debian stable | ||
+ | |||
+ | 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, " | ||
+ | -> Click on the checkbox next to Spectacle | ||
+ | # create new custom shortcut(s) | ||
+ | -> Edit > New > Global Shortcut > Command/URL | ||
+ | --> Give it a name, say, " | ||
+ | --> 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/ | ||
+ | -> Apply | ||
+ | </ | ||
+ | |||
+ | ==== Testing results ==== | ||
+ | * Can take screenshots using Win+Shift+s | ||
+ | * Screenshots can be pasted into other applications such as lowriter using ctrl+v | ||
+ | * Screenshots are stored in ~/ | ||
+ | rajulocal@hogwarts ~ % ls -1 ~/ | ||
+ | ' | ||
+ | ' | ||
+ | </ | ||
+ | * Tested on < | ||
+ | % spectacle --version | ||
+ | spectacle 20.12.3 | ||
+ | |||
+ | % cat / | ||
+ | PRETTY_NAME=" | ||
+ | NAME=" | ||
+ | VERSION_ID=" | ||
+ | VERSION=" | ||
+ | VERSION_CODENAME=bullseye | ||
+ | ID=debian | ||
+ | HOME_URL=" | ||
+ | SUPPORT_URL=" | ||
+ | BUG_REPORT_URL=" | ||
+ | |||
+ | % uname -a | ||
+ | Linux hogwarts 5.10.0-17-amd64 #1 SMP Debian 5.10.136-1 (2022-08-13) x86_64 GNU/Linux | ||
+ | </ | ||
+ | |||
+ | ==== See also ==== | ||
+ | * https:// | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | ==== May be useful later ==== | ||
+ | After adding this, I have | ||
+ | |||
+ | < | ||
+ | rajulocal@hogwarts ~/.config % git grep -i --no-index " | ||
+ | kglobalshortcutsrc: | ||
+ | khotkeysrc: | ||
+ | </ | ||