GNOME Bugzilla – Bug 634624
Can't assign "Alt+Print Screen" shortcut to "take a screenshot of a window"
Last modified: 2011-05-10 15:43:19 UTC
This report was originally filled at: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/621516 It used to be possible to take a screenshot of an active window in Gnome by simply pressing "Alt+Print Screen". This no longer works (for me) in Maverick Meerkat. I have to reassign the shortcut to something else, e.g. "Ctrl+Print Screen" still works. xev shows the following then Alt key is pressed: KeyRelease event, serial 33, synthetic NO, window 0x4000001, root 0x15e, subw 0x0, time 44758237, (570,132), root:(571,176), state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
There seems to have been absolutely no attempts at debugging this. Please test this with the 2.32 control-center.
This bug is still in 2.32.
(In reply to comment #2) > This bug is still in 2.32. Then I'd like a few more details on how to reproduce the problem.
In Ubuntu 10.10: Run gnome-keybinding-properties. You will get a table with actions on the left and shortcuts on the right. Try to set a shortcut to Ctrl+Print Screen. It works properly. (It doesn't matter if the action is take screenshot or not, it's the same for all actions.) Then try to set the shortcut to Alt+Print Screen. This doesn't work. It won't set. The shortcut field keeps saying "New shortcut..." instead of Alt+Print.
(In reply to comment #4) > In Ubuntu 10.10: I don't have Ubuntu 10.10... > Run gnome-keybinding-properties. You will get a table with actions on the left > and shortcuts on the right. > > Try to set a shortcut to Ctrl+Print Screen. It works properly. (It doesn't > matter if the action is take screenshot or not, it's the same for all actions.) > > Then try to set the shortcut to Alt+Print Screen. This doesn't work. It won't > set. The shortcut field keeps saying "New shortcut..." instead of Alt+Print. And this worked fine with GNOME 2.32 for me, and still does in GNOME 3. On my keyboard, I get "Alt + SysRq" instead of "Alt+PrintScreen" when capturing the keys, and they work as expected. Please check whether it works any better using a different keymap (such as the very basic "USA" one), and check whether you have things like the magic SysRq key enabled in the kernel (used for debugging).
It works now with Gnome 2.32.1 in Ubuntu 11.04 and the same keyboard settings as before.