make a screenshot

John Pettigrew john at pettigrew.org.uk
Mon Mar 22 18:37:12 CET 2004


In a previous message, Rakotomandimby Mihamina <rktmb.list at wanadoo.fr> wrote:

> Hello , what do you use to make a screen shot?

I use a simple bash script, bound to a panel button:

=============
#!/bin/bash

name=$(date +"%H:%M"); 

import -pause 2 -window root ~/screenie-$name.png;
=============

This waits for 2 seconds after running (lets you open menus if needed etc.)
before taking a picture of the whole screen and saving it in your home
directory. The name is "screenie-" plus an hour and minute identifier. It
requires ImageMagick to do the actual work of taking the screenshot.

HTH

John
-- 
John Pettigrew                         Headstrong Games
john at headstrong-games.co.uk            Fun : Strategy : Price
http://www.headstrong-games.co.uk/     Board games that won't break the bank
Knossos: escape the ever-changing labyrinth before the Minotaur catches you! 



More information about the Xfce mailing list