linuxmint / linuxmint/cinnamon
Can't set Alt + Printscreen key binding in keyboard shortcuts setting
Nobody has claimed this yet.
- 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
- Start Menu -> Keyboard -> Shortcuts
- Try assign
Alt + Printscreenkeybinding for any command. - The result is always
Alt_Lwhen pressedAlt + 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:
- Go to
/org/cinnamon/desktop/keybindings/media-keys/window-screenshot-clipfrom dconf editor. - Set the value to
['<Alt>Print'].
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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