← Back to team overview

touch-packages team mailing list archive

[Bug 1174706] Re: Unable to set Alt+Print as screenshot keyboard shortcut (laptopt keyboard)

 

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".

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/1174706

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

Status in Unity:
  New
Status in “unity” package in Ubuntu:
  Confirmed

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!).

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1174706/+subscriptions