Change scrot output directory

Solution 1:

Put this line in ~/.bash_aliases. You may need to close the terminal and reopen it for the new alias to function:

alias myscrot='scrot ~/Pictures/Screenshots/%b%d::%H%M%S.png'
  • This will create a file like May15::110346.png in ~/Pictures/Screenshots
  • You can use some other way of timestamping your screenshot but I like this. See man scrot and man date for more options.
  • I purposely used myscrot so that the original scrot is still functional but you can use just scrot if you wish!