On Wed, 04 Jan 2012 11:11:48 +0800, lina wrote:

> actually I have started to enjoy using scrot.


Here is the script which I have bound to my 'PrtSc' key:

-----------------------------------------------------
#!/bin/bash

TIME=`date +%Y-%m-%d-%T`
FILE=$HOME/Pictures/Screenshot_$TIME.png
scrot -s -b $FILE
canberra-gtk-play --id=screen-capture
gpicview $FILE
------------------------------------------------------

You'll need to substitute your png viewer for gpicview, and alter the 
canberra-gtk-play line depending on whether you have it (and/or the sound 
clip) installed.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/je29cm$7nr$1...@dough.gmane.org

Reply via email to