Unable to set Alt+Print as screenshot keyboard shortcut (laptopt keyboard)

Bug #1174706 reported by mrsirrisrm
44
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Unity
Invalid
Undecided
Unassigned
unity (Ubuntu)
Invalid
Undecided
Unassigned
unity-control-center (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

On 13.04, under System Settings -> Keyboard -> Shortcuts -> Screenshots -> Take a screenshot of a window, I am unable to set Alt + Print as the shortcut. Pressing that combination causes Mod2 + Alt L to be (incorrectly) set.

NB I am able to set 'Print' as the shortcut key for Take full screenshot, it is only in combination with the Alt key that I am unable to set the shortcut. Also, this is on a laptop keyboard (HP G61 laptop), so Print Screen is accessed by 'Fn' key + Home key, so the actual key combination I want to use is 'Fn' + Alt + Home.

My scan codes for the keys, if it helps (sudo /lib/udev/keymap -i input/event4 > ~/keymap.log):

Alt L:
scan code: 0x38 key code: leftalt

Home:
scan code: 0xC7 key code: home

'Fn' + Home:
scan code: 0xB7 key code: sysrq

'Fn' + Alt L + Home
scan code: 0x38 key code: leftalt
scan code: 0x54 key code: sysrq

Ah, just to complicate matters further, 'Fn' + End also gives: scan code: 0x54 key code: sysrq

Further info - I am trying to reset the shortcuts back to the defaults, i.e. they did originally work with Print = full screenshot and Alt Print = window screenshot, I was messing around with trying to use Shutter instead, decided I didn't like it, and now am trying to set the shortcuts back to the defaults.

Further further info, I have a sort of workaround by using CCSM keybindings for Alt+Print bound to gnome-screenshot --window, which I feel is less than ideal (although it at least does what I want!).

Tags: shortcuts
Revision history for this message
mrsirrisrm (m-keane) wrote :
Revision history for this message
Christian Kaps (m-lasnchpad-h) wrote :

I have the same problem with Ubuntu 14.04 on a desktop system.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
pcworld (pcworld) wrote :

Ubuntu 14.04 / Unity: If I try to set Alt+Print, it just goes back to "Disabled" for me.

Workaround:

First, unset Unity's default Alt+Print action:
gsettings set org.gnome.settings-daemon.plugins.media-keys window-screenshot ''

Launch dconf-editor and go to "org.gnome.settings-daemon.plugins.media-keys".
It you want to change one of the default actions, set your action's value to "<Alt>Print".
If you want to change a "Custom Shortcut" you created via Unity's control center, navigate to "org.gnome.settings-daemon.plugins.media-keys.custom-keybindings", and choose the appropriate "custom*" (where * is a number) folder. Set the "binding" key's value to "<Alt>Print".

Andrea Azzarone (azzar1)
Changed in unity:
status: New → Invalid
Changed in unity-control-center (Ubuntu):
status: New → Invalid
Changed in unity (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Invalid
Changed in unity-control-center (Ubuntu):
status: Invalid → Confirmed
Changed in unity (Ubuntu):
importance: Medium → Undecided
Changed in unity-control-center (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Greg Holst (gregory-holst) wrote :

I wanted to set the keyboard shortcut for "Copy a screenshot of a window to clipboard" to Alt+Print but it wouldn't allow me. I could use other combinations however, Ctrl+print, Shift+Print, etc. I disabled the Alt key in Compiz to show the HUD as well so nothing happens when I tap or press Alt, but it still doesn't let me use it in the keyboard shortucts menu.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.