linuxmint / linuxmint/cinnamon
BUG - custom playerctl Keyboard Shortcut stops working after restart
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.6k
- Forks
- 915
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 3
Description
Distribution
Mint 22.1
Package version
Cinnamon 6.4.8
Graphics hardware in use
Nvidia RTX 4070 Ti SUPER
Frequency
Quite often
Bug description
I use playerctl for audacious on my mediakeys as I ONLY want them to ever affect audacious.
It all works fine - until I restart: Then the play-pause functionality stops working and is only "play" (cannot toggle).
It starts working again when I just "re-apply" (changing nothing) the shortcut.
Steps to reproduce
- requires audacious and playerctl apps (in this scenario)
- remove play and pause mediakey shortcuts from sound and media default shortcuts
- assign "playerctl -p "audacious" play-pause" as a custom keyboard shortcut assigned to mediakey play/pause (I do not have separate physical keys for play and pause)
- verify it is working on audacious
- restart
- verify that the shortcut no longer can pause/play toggle - only play (restarts song)
- verify that that simply re-assigning (not changing anything) the previous shortcut will restore play-pause functionality.
Expected behavior
Expected behavior would be that this last step (re-assigning each boot) is not necessary.
Additional information
No response
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 by tracing Cinnamon's custom keyboard shortcut handling across restart and session restoration, then reproduce the issue with Audacious and playerctl -p "audacious" play-pause using the listed steps. Done means the custom media-key shortcut still toggles play and pause after restarting, without reassigning it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, linux
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100