User Tools

Site Tools


task_boiler

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
task_boiler [2023/04/24 22:03] admintask_boiler [2024/01/23 22:55] (current) raju
Line 4: Line 4:
 Start the first heading with "=====" Start the first heading with "====="
  
-===== Take screenshots with win+shift+s ===== 
- 
-==== Spec ==== 
-Take screenshots with win+shift+s 
- 
-Requirements: 
-  * 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 
- 
-==== Solution ==== 
-<code> 
-# 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 
-</code> 
- 
-==== Tested on ==== 
-<code> 
-% spectacle --version 
-spectacle 20.12.3 
- 
-% cat /etc/os-release  
-PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" 
-NAME="Debian GNU/Linux" 
-VERSION_ID="11" 
-VERSION="11 (bullseye)" 
-VERSION_CODENAME=bullseye 
-ID=debian 
-HOME_URL="https://www.debian.org/" 
-SUPPORT_URL="https://www.debian.org/support" 
-BUG_REPORT_URL="https://bugs.debian.org/" 
- 
-% uname -a 
-Linux hogwarts 5.10.0-17-amd64 #1 SMP Debian 5.10.136-1 (2022-08-13) x86_64 GNU/Linux 
-</code> 
- 
-==== Ref ==== 
-  * https://forum.kde.org/viewtopic.php?t=140137 - found the solution here. I just aggregated it into a single post for easy reference. 
- 
-==== May be useful later ==== 
-After adding this, I have 
- 
-<code> 
-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 
-</code> 
task_boiler.1682373787.txt.gz · Last modified: 2023/04/24 22:03 by admin