celluloid-player / celluloid

A simple GTK+ frontend for mpv
https://celluloid-player.github.io
GNU General Public License v3.0
1.09k stars 88 forks source link

FR: use arrow up/down buttons for Volume like VLC #917

Closed firefoxlover closed 6 months ago

firefoxlover commented 6 months ago

currently they are simply duplicating the arrow left/right buttons.

is there a way to remap them?

this would be the internal volume, so related to https://github.com/celluloid-player/celluloid/issues/753

gnome-mpv commented 6 months ago

currently they are simply duplicating the arrow left/right buttons.

They're not exactly the same. Up/down arrows seek in 1-minute steps while left/right arrow seek in 5-second steps.

is there a way to remap them?

Yes, you can create an input.conf and load it in the preferences dialog.

firefoxlover commented 6 months ago

Thanks a lot!

andyzukunft commented 5 months ago

Hey @firefoxlover I am interested in the same shortcut. Can you share your input.conf with the volume change?

firefoxlover commented 4 months ago
cat ~/.var/app/io.github.celluloid_player.Celluloid/config/celluloid/input.conf <<EOF
# Arrow keys control volume
UP add volume 1
DOWN add volume -1

# Mouse click on center pause/play
MOUSE_BTN0 cycle pause

EOF

Then load this file through the Celluloid settings.