celluloid icon indicating copy to clipboard operation
celluloid copied to clipboard

deadzonesize=1.0 osc option

Open SoiledBrush opened this issue 4 years ago • 3 comments

Hi, i need that option so that gui shows up only when i hover it with mouse. Is there any way to make celluloid use osc.conf?

SoiledBrush avatar Jan 04 '21 08:01 SoiledBrush

There's no way to make Celluloid use osc.conf directly, but there's the GSettings key /io/github/celluloid-player/celluloid/controls-dead-zone-size that does something similar (you can access it with dconf-editor). However, the behavior is inconsistent with mpv right now. In Celluloid, the deadzone covers the entire video, so with 1.0, the controls won't be shown at all. Instead, you need to set it to something like 0.9 to get the behavior you want. I'll fix this in the future.

Another thing you can do is to disable Celluloid controls and use mpv's OSC instead. You can do this by setting the options osc and script-opts=osc-deadzonesize=1 in your config file. You can then press Ctrl+H to hide Celluloid's controls.

gnome-mpv avatar Jan 04 '21 10:01 gnome-mpv

Thanks, that`s what i needed.

SoiledBrush avatar Jan 04 '21 21:01 SoiledBrush

Sorry, about the second option. Celluloid controls can`t be hidden in the fullscreen mode.

SoiledBrush avatar Jan 04 '21 21:01 SoiledBrush