Linux Mint Quick & Dirty Screen Capture

Introduction

Implementation

Install scrot and Pinta

Define the Keyboard Shortcuts

bash -c "mkdir -p /tmp/screnshots && scrot '/tmp/screenshots/%Y-%m-%d_$wx$h.png' --focused --exec 'pinta $f'"
Mint’s Keyboard Shortcuts Editor
Capture active window definition
bash -c "mkdir -p /tmp/screnshots && scrot '/tmp/screenshots/%Y-%m-%d_$wx$h.png' --exec 'pinta $f'"
Capture entire screen definition

Assign the Keyboard Bindings

Create a Clean-Up CRON task

sudo -secho -e "#"'!'"/bin/sh\n# Delete screenshots more than one day old\nfind /tmp/screenshots/* -type f -mtime +1 -delete" > /etc/cron.daily/clean-old-screenshots && chmod +x /etc/cron.daily/clean-old-screenshotsexit
#!/bin/sh
# Delete screenshots more than one day old
find /tmp/screenshots/* -type f -mtime +1 -delete

Summary / Additional Thoughts

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store