Ethereal-dev: Re: [ethereal-dev] How to capture a screen shot of Ethereal with a menu down
On Mon, Jul 24, 2000 at 09:02:42AM +0900, Richard Sharpe wrote:
> It seems that Ethereal can't be caught with its menus down :-)
>
> I wanted to use XV to capture a screen shot of Ethereal with menus down,
> but every time I click on another window to do it, Ethereal will not let
> me, as it pulls the menu back up when focus moves to another window :-(
Alas, that appears to be standard GTK+ behavior - "testgtk" behaves the
same if you pop up the "menus" test from the scrolling list of buttons,
and pull down, say, the "test" menu or the "foo" menu.
You might ask on one of the GTK+ lists (although you have to subscribe
to those lists in order to mail to them).
(It appears that it may be Qt/KDE behavior as well, as "kedit" takes
down its pull-down menus when focus goes to another window; Netscape
does the same, so it's probably Motif behavior also. I'll have to see
what various applications do on Windows do.)
> Can anyone suggest a way around this?
I've not used XV to do screen captures, so I don't know if it can be
made to do them with no human intervention other than that needed to
start it up, but you could capture it with a "point and shoot"
application of that sort - just do, say
sleep 30; screencapture -o /tmp/screendump; echo "DONE!"
(where "screencapture -o <filename>" stands for whatever command-line
you'd use with whatever screen capture application you're using - I
suspect there are such "point and shoot" applications, but I don't know
which ones there are) in a terminal window, and then pull down the menu
and wait for the "DONE!" to print out.