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

Re: Print Screen isn't working (7.0.5)



Dear Klaus,

Thank you for your prompt reply.  "gnome-screenshot -i" will do everything
I need to do.

Of course, it still would be convenient to have the Ctrl+PrintSrc and
Alt+PrintSrc hotkeys.  (On the other hand, the added funtionality of the
interactive menu is also very nice.  Although, gnome-screenshot -i could
just be tied to a third hotkey, say Ctrl+Alt+PrintSrc.)

Based on what you said I was able to discover a little more.  The
interception of Alt+F1, Alt+F2 is being controlled via gsettings keys
'panel-main-menu' and 'panel-run-dialog'.  For example,

$ gsettings set org.gnome.desktop.wm.keybindings panel-run-dialog "[]"

will prevent further interception of Alt+F2.  It then gets passed to the
application level, despite the assignment of Alt+F2 to "run_command_2" in
~/.gconf/apps/metacity/global_keybindings/%gconf.xml.

$ gsettings set org.gnome.desktop.wm.keybindings panel-run-dialog
"['<Alt>F1']"

will restore the default setting and resume interception.  Although these
two keys are being intercepted, I have not been able to figure out how to
assign commands.  In any event, org.gnome.desktop.wm.keybindings has no
key for a print-screen function.

Thanks again.

Warm regards,
Andrew


On Tue, June 18, 2013 21:46, Klaus Knopper wrote:
> Hello Andrew,
>
> On Tue, Jun 18, 2013 at 07:25:33PM -0400, Andrew wrote:
>> Dear Klaus et al,
>>
>> Please advise!  Neither Ctrl+Print Scr nor Alt+Print Scr seem to do
>> anything.  In prior versions they would capture from the screen and
>> present a dialog box asking what to do with the image.
>>
>> I'm using default settings, which means lxsession, metacity, lxpanel,
>> pcmanfm.  (Compiz will not run on this machine, so it is like using no3d
>> cheatcode.)
>
> That's (part of) the reason why you get no dialog when hitting PrintScr.
>
>> Also, Alt+F1 and Alt+F2 don't do anything, either.  (They used to launch
>> the lxpanel menu and run dialog.)
>
> In GTK3, custom hotkeys were removed from the metacity window manager,
> while compiz still uses its own set. Therefore, Alt-F1, Alt-F2 and
> PrintScreen ceased to work in the "no3d" metacity window manager while
> they still work in compiz. There is not much that I can do about this
> right now except for hoping that the upstream maintainers of metacity
> will enable hotkey support again some time (and document how they are
> configured). :-/
>
>> (Ctrl+Alt+F1, etc. do work just fine.)
>
> These special hotkeys are handled by Xorg, not by the window manager.
>
>> Any advice on how to capture screen shots?  Thank you.
>
> As you can guess from compiz settings, I use "gnome-screenshot" for
> capturing and printing the screen, so calling
>
> gnome-screenshot -i
>
> will do about the same as the PrintScr hotkey did before it was removed.
>
> Regards
> -Klaus


Reply to: