Capture Konqueror screen shot

yinglcs at aim.com yinglcs at aim.com
Fri Dec 9 04:40:20 GMT 2005


David,

Thank you for your response. But I am looking for a way to capture the 
WHOLE web content in Konqueror (not just the visible region).  Can you 
please tell me how to achieve that?

Thank you.

-----Original Message-----
From: David Faure <faure at kde.org>
To: kfm-devel at kde.org
Cc: yinglcs at aim.com
Sent: Fri, 9 Dec 2005 00:09:04 +0100
Subject: Re: Capture Konqueror screen shot

  On Thursday 08 December 2005 18:14, yinglcs at aim.com wrote:
> Hi,
>
> Can someone please tell me how can I write a GTK application which
> captures Konqueror screen shot?

Funny question... but here's a working answer anyhow: make your program 
execute
the following command
  DISPLAY=:0 import -window `DISPLAY=:0 dcop konqueror-20569 
konqueror-mainwindow\#1
getWinID` out.png
or
 dcop konqueror-20569 konqueror-mainwindow\#1 grabWindowToClipBoard
and some tool to get it out of the clipboard ;)

where 20569 is the PID for konqueror in my case.

--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice 
(http://www.koffice.org).


________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and 
industry-leading spam and email virus protection.





More information about the kfm-devel mailing list