#!/bin/bash # a random guess. untested. sleep 1 gnome-screenshot -a