mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 17:35:50 +03:00
[GH-ISSUE #693] Function keys not working #1346
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#1346
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kirk781 on GitHub (Mar 20, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/693
Does the keymaps.toml file not accept function keys as acceptable shortcut alternatives? I tried entering it but the program threw an error each time. It won't accept it's equivalent keycodes or keysym values from xev either.
ncspot , one of another terminal programs this app derives inspiration from works properly with keys like F3. Basically what I wanted to do was to go search bar [for songs] and then return to library view without using C-q for returning first. If I could map Library and Queue views to Function keys, then such an issue wouldn't arise [ncspot does such by default but it lacks Spotify Connect most notably, which tilted me towards this alternative].
OS: Void Linux
DE:LxQt
Version: spotify_player 0.20.4
@aome510 commented on GitHub (Mar 21, 2025):
should be working:
github.com/aome510/spotify-player@78edb10e15/spotify_player/src/key.rs (L40-L51)I haven't really used the function keys so I'm not sure if they are incorrectly parsed 🤔
@kirk781 commented on GitHub (Mar 22, 2025):
Thank you, it works like a charm. I was putting in capital keycodes since many apps including ncspot used to take that as input. It never came to my mind to try the smaller character.