Setup scrot on Ubuntu

Simple trick to setup simple command to spawn screenshot utility using scrot:

$ sudo apt-get install scrot
$ sudo touch /usr/bin/sel
$ sudo chmod +x /usr/bin/sel
$ vim /usr/bin/sel
#!/bin/bash

scrot -s -e 'mv $f ~/Pictures/'

Leave a Reply

Your email address will not be published. Required fields are marked *