Open ComplexPlane opened 2 years ago
Does it also happen with other flatpak based mpv like celluloid? https://flathub.org/apps/details/io.github.celluloid_player.Celluloid
Cursor looks correct on celluloid flatpak for me
Run this and restart flatpak mpv:
sudo flatpak override --env=XCURSOR_SIZE=64 io.mpv.Mpv
.
run this:
gsettings set org.gnome.desktop.interface cursor-size 64
or use accessibility->Cursor size to set
Since, I am using debian testing (bookworm) = gnome+adwaita-theme+xorg+nvidia, and tweaks tool scaling factor to 2.0 change does not change cursor size.
See how this was solved in Signal flatpak: https://github.com/flathub/org.signal.Signal/commit/831398d6b89fc2ae75423ef4ee178898b9d2e908
please check https://github.com/flathub/io.mpv.Mpv/pull/154
please check #154
no, it didn't fix the issue unfortunately.
It is not related to mpv flatpak but freedesktop sdk in general.
I'd suggest reporting this issue to flatpak.
I've found a solution which does work for me.
In my case it was necessary to add Adwaita as the cursor theme additionally to the cursor size mentioned above
flatpak --user override --env=XCURSOR_THEME=Adwaita io.mpv.Mpv
flatpak --user override --env=XCURSOR_SIZE=32 io.mpv.Mpv
btw about cursor sizes (Gnome Accessibility - Mouse pointer size) small (default) = 24, medium = 32, large = 48, larger = 64, largest = 96;
without specifying the theme it won't adjust it for whatever reason.
I have 200% scaling set on Ubuntu 22.04 (Gnome), but the cursor in flatpak MPV looks like it is scaled at 100% (half what it should be). This isn't an issue in mpv from apt (both v0.34.1).