$ import -display :0 -window root grab.png(used another way to specify which display to use as well. Either way should work fine.)
$ xscreensaver-command -deactivateMake sure you've set DISPLAY to the correct place though! ssh may be tunnelling the X connection for the display in front of you (if you're using one).
posted by Mr. Six at 9:08 PM on June 22, 2006