linuxmint / linuxmint/cinnamon

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

Open
#7,124 31 comments 18 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

 * 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'].

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Cinnamon keyboard shortcuts settings opened through Start Menu > Keyboard > Shortcuts, and reproduce the Alt + Printscreen binding attempt. Compare the captured Alt_L result with the dconf entry at /org/cinnamon/desktop/keybindings/media-keys/window-screenshot-clip; done means the UI registers the combined shortcut instead of only Alt_L.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.