- sudo apt-get install xclip
- Configure spectacle to use Rectangular Selection, default save to /some/path/Screenshot_%Y%M%D_%H%m%S
- Configure PrintScreen for rectangular selection via custom shortcuts
- Try it - once you select the area and hit enter it should show the pop-up notification about saved file.
- On this notification select the settings button
- In the notification settings enable "Run command" and set it as
/usr/bin/xclip -selection clipboard -target image/png -i $(ls -1tr ~/Pictures/Screenshot_*.png | tail -n 1)