Mouse wheel scroll in mpv video area causes sound volume change. It has caused video jump (forward / back) in the past. Video jump is now possible when mouse hover over small area at the bottom of the mpv but I would like to restore old behaviour. Is it please possible to make mpv use old configuration forever ?
TW 64b.: change in controlling mpv using mouse wheel
Archived thread 2491170 from openSUSE and SUSE Linux Enterprise. Markdown source: openSUSE_and_SUSE_Linux_Enterprise/thread_2491170_TW_64b._change_in_controlling_mpv_using_mouse_whee.md
https://defkey.com/mpv-media-player-shortcuts. mpv is extremely customizable. The input controls are in the ~/.config/mpv/input.conf file. https://www.linuxfordevices.com/tutorials/linux/customize-mpv-player has custom examples for the mouse and other keyboard controls. Jump around 60% down from the top of the page.
Really complex customization is possible since mpv allows scripts to be tied to keys too.
TheFu said: https://defkey.com/mpv-media-player-shortcuts. mpv is extremely customizable.
The input controls are in the ~/.config/mpv/input.conf file. https://www.linuxfordevices.com/tutorials/linux/customize-mpv-player has custom examples for the mouse and other keyboard controls. Jump around 60% down from the top of the page.
Really complex customization is possible since mpv allows scripts to be tied to keys too.
Thank you this has solved the problem:``` maketopsite@maketopsite:~> cat ~/.config/mpv/input.conf
mpv keybindings
#
Location of user-defined bindings: ~/.config/mpv/input.conf
#
Lines starting with # are comments. Use SHARP to assign the # key.
Copy this file and uncomment and edit the bindings you want to change.
#
List of commands and further details: DOCS/man/input.rst
List of special keys: --input-keylist
Keybindings testing mode: mpv --input-test --force-window --idle
#
Use 'ignore' to unbind a key fully (e.g. 'ctrl+a ignore').
#
Strings need to be quoted and escaped:
KEY show-text "This is a single backslash: \\ and a quote: \" !"
#
You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with
the modifiers Shift, Ctrl, Alt and Meta (may not work on the terminal).
#
The default keybindings are hardcoded into the mpv binary.
You can disable them completely with: --no-input-default-bindings
Developer note:
On compilation, this file is baked into the mpv binary, and all lines are
uncommented (unless '#' is followed by a space) - thus this file defines the
default key bindings.
If this is enabled, treat all the following bindings as default.
#default-bindings start
Mouse wheels, touchpad or other input devices that have axes
if the input devices supports precise scrolling it will also scale the
numeric value accordingly
[B]WHEEL_UP seek 10 # seek 10 seconds forward WHEEL_DOWN seek -10 # seek 10 seconds backward[/B] maketopsite@maketopsite:~>