Re: screenshots of meus



On 30 Jun 2002, mike wrote:

> On Sun, 2002-06-30 at 03:55, Sam Steele wrote:
> > There is a keyboard binding to take a screenshot, look in the keyboard
> > shortcuts capplet.  The default is bound to printscreen, but my keyboard
> > has a problem using that, so I changed it to something else and it works
> > fine.
> > 
> > http://www.c99.org/~chip/gnome2/Screenshot-6.png was made using that
> > method a few RCs ago, hopefully it still works :)
> > 
> > -Sam
> > 
> > On Sat, 2002-06-29 at 22:51, mike wrote:
> > > Anyone know how to get screenshots of the menus - when I try to use the
> > > gnome-panel-screenshot the menu dissaears so does not show in the
> > > scvreenshot
> > > 
> 
> Doesnt work - it works when the menu is not open, but seems to be that
> when menu is open, nothing else will operate until it closes

	This won't work due the way X11 works. Only possible solution
would be to intercept __all__ location where random applications grabs
keystrokes. But intercepting XGrabKeyboard and friends would be bad idea
(IMHO) since it is against the idea behind those functions (to steal 
input devices from all other applications). I'm sure intercepting those 
functions (to insert a print key handler) would produce inpredictable
side effects.


	So I'd suggest you what was suggested in this thread already:

	- open a terminal (maybe on another virtual desktop if it would 
	  disturb your shot)
	- enter "sleep 5; import -win root da-shoot.png" as one command


"sleep 5" gives you five seconds to switch the desktop, raise the proper 
window, to open the menu. The import command bans the shot on your disk. 
It requires ImageMagick to be installed on your box.


Ciao,
Mathias
-- 
WWW:           http://taschenorakel.de/mathias/
PGP/GnuPG:     1024-Bit DSA: ID 55E572F3, 1024-Bit RSA: ID EAAF7CF1
"e:-1" is the Slashdot Troll Emoticon. Often seen after the word "Scor"




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]