Please note that one obviously needs an SFTP account with a static web server configured on the dir in order to use this.
- xbindkeys
- to invoke via a keyboard shortcut
- scrot
- to take the screenshot
- xclip
- to copy the URL into the clipboard
- notify-send
- to put a notification on screen when done
- put .xbindkeysrc in your home directory
- put shoot.sh somewhere in your path. make sure the command in .xinbdkeysrc points at the correct location of shoot.sh
- In shoot.sh, replace “www/screenshots”, “static” and “static.ezd.lan/screenshots” with the upload dir, sftp host and URL, respectively.
- Press Alt+PrintScreen
- Choose the area for your screenshot
- Paste the link from your clipboard (middle mouse button) once the notification appeared.