Cinnamon: Can't set Alt + Printscreen key binding in keyboard shortcuts setting

Created on 6 Dec 2017  路  13Comments  路  Source: linuxmint/cinnamon

```

  • Cinnamon version: 3.6.1-1
  • Distribution - Antergos (Arc Linux) 64 bit
    ```

Issue
Can't capture Alt + Printscreen key in keyboard binding. The result is always Alt_L key captured: https://i.imgur.com/eI7KYBt.png

Steps to reproduce
1) Start Menu -> Keyboard -> Shortcuts
2) Try assign Alt + Printscreen keybinding for any command.
3) The result is always Alt_L when pressed Alt + Printscreen.

Expected behaviour
Alt + Printscreen keybinding should be captured or registered successfully.

Other information
The workaround is by using dconf editor to modify the shortcut key directly.

For example, to set Alt + Printscreen shortcut for "Copy a screenshot of a window to clipboard" command:
1) Go to /org/cinnamon/desktop/keybindings/media-keys/window-screenshot-clip from dconf editor.
2) Set the value to ['<Alt>Print'].

BUG

Most helpful comment

Hello, everybody.

Here is another workaround. While in _shortcut capture mode_, press and hold Print, then press and hold Alt, then let go of Print and then let go of Alt. That will (most likely) correctly register the Alt + Print keyboard shortcut.

All 13 comments

Reproducible on Cinnamon 3.8.8 on Xubuntu 18.10 64-bit as of 2019-Feb-21.

Hello, everybody.

Here is another workaround. While in _shortcut capture mode_, press and hold Print, then press and hold Alt, then let go of Print and then let go of Alt. That will (most likely) correctly register the Alt + Print keyboard shortcut.

Reproducible on Linux Mint 19.2 Cinnamon 4.2.4, including the @Odyseus' workaround as of 2019-10-15.

It might be of use to note that the Ctrl+Alt L that one sees actually means: control key plus the right-hand alt key. (See https://github.com/linuxmint/cinnamon/issues/9020.)

Also: reproducible on Mint 19.3 Cinnamon (Cinnamon 4.4.8).

Sorry to add nothing of substance, but is there a prospect of getting this bug - which is fifteen months old, and seemingly trival (in one sense) - but considerably irritating, fixed, please? EDIT: But, ah, is this an _Ubuntu_ bug? See the issue I mention below.

I'm also experiencing the issue on Debian Sid, Cinnamon 4.2.4 (held back due to bugs in other packages) ca. 2020-02-11, so this at least isn't exclusive to Ubuntu and Mint (although Debian is their parent, so it might still be a Debian issue).

This issue isn't exclusive to certain distro, this is cinnamon's bug. I reported the issue on Antergos and now I'm using Manjaro with cinnamon v4.4.8 which still has same issue.

Hello! Does Mint 20 remove this irritation, please? I note that #5718 is a similar bug report. See also perhaps #7045 and even #4999. Perhaps it would be good to open a 'meta-bug' issue for the taking of screenshots.

Actually in fresh installation of 19.3 this May, this issue was gone for me.

//edit: my mistake, the problem is still there.

ihalda: oh. I still have the problem. I wonder why? I have my keyboard language set to British . .

Oh, sorry, my mistake - turns out I just didn't change the pre-defined action.

Correction: it still captures Alt+PrtSc as Alt_L :(

yay, problem still present, it is almost two and a half years. Workaround didn't work for me either. Any hints where to check to solve this?, at least to try a pull request or something.

I have found that bringing up problems when the team is testing betas of new releases gets the problems noticed. On the other hand, it can get you shouted at, because beta bugs reports - the one's here on GitHub, at least - are meant to concern only regressions as against problems of the I-can't-believe-it's-not-fixed-yet type. I don't volunteer to bring up the matter in that way! (Nor can I conform to the if-you-don't-like-it-then-fix-it-yourself ethos/injunction. For, I don't have that level of programming ability. And approximately as often as one hears that injunction in the Linux world, one hears also that '(mere) bug reports are welcome'.)

Certainly it would be nice where one able, in a mature operating system, to not use the Print key directly to take screenshots (or what have you) - for, it is too easy to hit that key accidentally - but to use it in combination with some other key.

Was this page helpful?
0 / 5 - 0 ratings