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
andman date
for more options. - I purposely used
myscrot
so that the originalscrot
is still functional but you can use justscrot
if you wish!