Change keyboard shortcuts
Added by Keith Edmunds almost 4 years ago
Is it possible to change keyboard shortcuts?
If not, is that planned?
Thanks.
Replies (4)
RE: Change keyboard shortcuts - Added by Keith Edmunds almost 4 years ago
It's very quiet here. Am I asking my question in the wrong place? (The irony of asking that question has not escaped me).
If I want to change the shortcut keys used, is my only option to dive into the source, change there and recompile?
Thank you,
Keith
RE: Change keyboard shortcuts - Added by Thomas Lange almost 4 years ago
If I want to change the shortcut keys used, is my only option to dive into the source, change there and recompile?
Yes, unfortunately this is the only way to change the keyboard shortcuts.
What's wrong with the defaults though? Why do you want to change them?
RE: Change keyboard shortcuts - Added by Keith Edmunds almost 4 years ago
I'm looking at possibly using Audacious as a music player for a live show. I want to be able to add or reorder tracks without the risk of interrupting what's playing.
Right now, it's too easy to do that. For example, if I double-click on a search result track to add it to the playlist, it immediately plays. I have to remember to right-click and "Add to playlist" - and at some point, I won't remember. If I click and drag to move a track in the playlist, but accidentally double-click, same problem. The ONLY time I want a track to play is when I select it (one click), then hit return.
If there's an easy way of stopping the other ways of making a track play, even if it involves editing the source, I'd be interested in knowing more.
RE: Change keyboard shortcuts - Added by Thomas Lange almost 4 years ago
You can connect the activated signal of the tree view to "action_add_to_playlist" instead of "action_play".
There is no difference between double-click and hitting return though, both activate the item. I hope that helps you anyway.
Qt version: https://github.com/audacious-media-player/audacious-plugins/blob/0217cd1b3585334e687f4b694af57271854fd845/src/search-tool-qt/search-tool-qt.cc#L257
GTK version: https://github.com/audacious-media-player/audacious-plugins/blob/0217cd1b3585334e687f4b694af57271854fd845/src/search-tool/search-tool.cc#L337