Hi,
I configured Spectacle with the following keyboard shortcuts :
- Print Screen = selected area ;
- Win + Print Screen = active window ;
- Ctrl + Print Screen = entire screen.
However, that only works for saving to file. Enabling copying to clipboard in settings only works when opening the full Spectacle app where it takes a full screen picture by default while having to retake when needing something else.
Is there any way to make the keyboard shortcut copy to clipboard at the same time as saving to file ?
Thanks
5 Comments
cyborganism@lemmy.ca · 3 pts · 1y
Oohh this is something I'd love to have as well.
claymore@pawb.social · 1 pts · 1y
Are you closing the spectacle window after taking a screenshot? I found that you need to keep it open for the image to stay in the clipboard. When I have the time I can check how I've set it up if that doesn't work for you. Although I only copy to clipboard, not save as well.
FauxLiving@lemmy.world · 1 pts · 1y
You'd need to write a script, for example:
You can change the -f to change the screenshot mode. From spectacle --help:
Save the script somewhere. It's safest to make it owned by root and put somewhere like /usr/scripts so random user-access programs can't edit the script. Use chmod +x to make it executable.
Then go to Plasma -> Settings -> Keyboard -> Shortcuts, Click 'Add New' -> Command or Script. For the command, give it the path to your script, give it a name click Add and then set a hotkey by clicking the Add butoon.
nuzzle5504@lemmy.ml · 1 pts · 1y
I have my spectacle configured to open "save a rectangle" or whatever it's called. It lets me select the part of the screen that I want, then I double click in the area and I have it copied to my clipboard, and from memory there is a setting somewhere that automatically saves it to ~/Pictures/Screenshots
nuzzle5504@lemmy.ml · 1 pts · 1y
I now use flameshot, which has a similar auto save when copying feature