#!/bin/sh # There seems to be a race condition with mate-screenshot area mode sleep 0.2 mate-screenshot -a