Re: screen capture

2002-04-11 Thread Crispin Wellington
On Wed, 2002-04-10 at 21:38, Quenten Griffith wrote:
 I can't seem to find the tool in KDE for capturing the screen, I think 
 its called kapture.  Is it apart of another package in testing.

I use import.

import -window root filename.png

It automatically saves in the format specified in the filename
extension. png, jpg etc.

To wait before a capture go...

sleep 5; import -window root filename.png

I just mention it because knowing things on the command line will come
in useful one day. (like capturing a screen remotely).

Kind Regards
Crispin Wellington




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: screen capture

2002-04-11 Thread Justin R. Miller
Said Crispin Wellington on Thu, Apr 11, 2002 at 06:03:32PM +0800:

 I use import.
 
 import -window root filename.png
 
 It automatically saves in the format specified in the filename
 extension. png, jpg etc.
 
 To wait before a capture go...
 
 sleep 5; import -window root filename.png
 
 I just mention it because knowing things on the command line will come
 in useful one day. (like capturing a screen remotely).

I wrote the attached script years ago to do the same thing, but to name
the shot according to the date and time, as well as increment the
filename if a similarly-named shot exists.

-- 
[!] Justin R. Miller [EMAIL PROTECTED]
PGP 0xC9C40C31 -=- http://codesorcery.net

http://news.independent.co.uk/world/asia_china/story.jsp?story=281067

#!/bin/sh

umask 133
DATE=`date [EMAIL PROTECTED]

if [ $# -ne 1 ]; then
printf Usage:\n  screenshot delay (in seconds)\n\n
else
if [ -f /tmp/$DATE.jpg ]; then
COUNT=`ls /tmp/$DATE*.jpg |wc -w |awk '{printf $1}'`
sleep $1
import -silent -window root /tmp/$DATE'.'$COUNT.jpg
else
sleep $1
import -silent -window root /tmp/$DATE.jpg
fi

fi


pgp3OWQrZu26H.pgp
Description: PGP signature


Re: screen capture

2002-04-11 Thread Quenten Griffith
What program is import in I don't seem to have that on my system and 
tried a apt-get install import on testing and it was not there then I 
looked for  it on freshmeat and could not find it.

Thanks
Justin R. Miller wrote:
Said Crispin Wellington on Thu, Apr 11, 2002 at 06:03:32PM +0800:
I use import.
import -window root filename.png
It automatically saves in the format specified in the filename
extension. png, jpg etc.
To wait before a capture go...
sleep 5; import -window root filename.png
I just mention it because knowing things on the command line will come
in useful one day. (like capturing a screen remotely).
I wrote the attached script years ago to do the same thing, but to name
the shot according to the date and time, as well as increment the
filename if a similarly-named shot exists.

#!/bin/sh
umask 133
DATE=`date [EMAIL PROTECTED]
if [ $# -ne 1 ]; then
   printf Usage:\n  screenshot delay (in seconds)\n\n
else
   if [ -f /tmp/$DATE.jpg ]; then
   COUNT=`ls /tmp/$DATE*.jpg |wc -w |awk '{printf $1}'`
   sleep $1
   import -silent -window root /tmp/$DATE'.'$COUNT.jpg
   else
   sleep $1
   import -silent -window root /tmp/$DATE.jpg
   fi
fi

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: screen capture

2002-04-11 Thread Michael Spanier
Am Donnerstag, 11. April 2002 12:25 schrieb Quenten Griffith:
 What program is import in I don't seem to have that on my system and
 tried a apt-get install import on testing and it was not there then I
 looked for  it on freshmeat and could not find it.

 Thanks

[EMAIL PROTECTED]:~$ dpkg -S `which import`
imagemagick: /usr/bin/import


Greetings

Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: screen capture

2002-04-11 Thread Giles Constant
On 11 Apr 2002, Crispin Wellington wrote:

 I use import.

So do I, quite regularly, but 99% of the time, it's just because I
forgot to put #!/usr/bin/env python at the top of my python script :-)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




screen capture

2002-04-10 Thread Quenten Griffith
I can't seem to find the tool in KDE for capturing the screen, I think 
its called kapture.  Is it apart of another package in testing.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: screen capture

2002-04-10 Thread Florian Struck
On Wednesday 10 April 2002 15:38, Quenten Griffith wrote:
 I can't seem to find the tool in KDE for capturing the screen, I think
 its called kapture.  Is it apart of another package in testing.

Its called KSnapshot 
should work with apt-get install KSnapshot
Running sid here im not sure about woody.
Cheers
Florian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: screen capture

2002-04-10 Thread Quenten Griffith
Thank you that was it, I couldn't remember the name thanks again
Florian Struck wrote:
On Wednesday 10 April 2002 15:38, Quenten Griffith wrote:
I can't seem to find the tool in KDE for capturing the screen, I think
its called kapture.  Is it apart of another package in testing.
Its called KSnapshot 
should work with apt-get install KSnapshot
Running sid here im not sure about woody.
Cheers
Florian


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]