Moon-0xff / gnome-mpris-label

A music related GNOME extension.
GNU General Public License v3.0
51 stars 10 forks source link

how can i change binding to the scroll up and down to next and previous track if i dont want volume control #49

Closed slaygun closed 1 year ago

Moon-0xff commented 1 year ago

Currently isn't possible to rebind the scroll up/down actions.

The mouse scroll doesn't returns a simple click event that we can detect and use to activate the various actions, instead it returns a value and that value, and how often is returned varies widely from one device to the next.
So we can't translate easily between these events and click actions.

But for sure we want to add this in the future, no plans to do it soon though.

slaygun commented 1 year ago

oh got it. btw what is a thumb tip button action and inner thumb button action? just need to figure out how to go to prev and next track

Moon-0xff commented 1 year ago

Some mice have two extra side buttons where your thumb rests (if you use your mouse right handed), Like this one.

If you lack the extra buttons and don't want to rebind others the best solution would be to assign a keyboard shortcut:
Settings -> Keyboard Shortcuts -> Previous Track / Next Track

Note that gnome isn't aware of the player selection in the extension, I think the first spawned player is always the one with the controls.

slaygun commented 1 year ago

oh got it. thanks dude

Moon-0xff commented 1 year ago

Glad to help!