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

Re: GNOME Print Screen



On Wed, Jan 12, 2005 at 09:51:12AM -0500, Bruce Park wrote:
> 
> >To: debian-user@lists.debian.org
> >Subject: Re: GNOME Print Screen
> >Date: Wed, 12 Jan 2005 12:09:51 +0000
> >
> >On Tue, Jan 11, 2005 at 07:37:28PM -0500, Bruce Park wrote:
> >>
> >> What do you think? The key isn't broken but somehow, GNOME isn't
> >> recognizing it. Does this have anything to do with my Windows key no 
> >longer
> >> being Mod_4?
> >
> >I think that the gnome window manager doesn't use the print screen key
> >for anything. You will want to find a program which will capture an
> >image of the desktop and bind that key to call the program. E.g. import,
> >from the imagemagick package:
> >
> >$ import -window root my-desktop.png
> >
> >Of course, this stores the result in a file, not the clipboard.
> >
> 
> Well, in my previous e-mail, I state that once I change the keyboard 
> shorcut to Alt+X, this actually works. I can also see the keyword "Print" 
> inside the keyboard shorcuts when I press the key itself so it's not like 
> the keyboard is broken.
> 
> It seems to me like GNOME and possibly metacity is the blame here. I'm not 
> exactly sure on how to solve this at this point.

I can confirm this behaviour. 'Print' generates

KeyPress event, serial 26, synthetic NO, window 0x4400001,
    root 0x3f, subw 0x0, time 13016545, (121,151), root:(476,713),
        state 0x0, keycode 111 (keysym 0xff61, Print), same_screen YES,
	    XLookupString gives 0 bytes:  ""

Might be related to 
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=132827
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=131304
http://bugzilla.gnome.org/show_bug.cgi?id=155746
http://bugzilla.ubuntu.com/1762

but at least on my system, Sys_Req (the button + alt) generates the same
keycode, so this may not be related in fact.

That gnome bugzilla bug suggests that metacity is responsible. maybe
we should file against metacity on the debian BTS -

ii  metacity       2.8.8-1        A lightweight GTK2 based Window Manager



Reply to: