Skip to content

Instantly share code, notes, and snippets.

@arawup
Last active October 22, 2023 05:32
Show Gist options
  • Save arawup/52384aaa7559d6b92f58d0d99d2776a5 to your computer and use it in GitHub Desktop.
Save arawup/52384aaa7559d6b92f58d0d99d2776a5 to your computer and use it in GitHub Desktop.
Blender Flatpak thumbnailer fix
#we makes a symlink to the flatpak binaries
#because even if i changed the thumbnailer exec path to the flatpak;
#it will still attempt to fetch blender from usr/bin
#OS: pop os/ubuntu/debian
sudo ln ~/.local/share/flatpak/app/org.blender.Blender/current/active/files/blender/blender-thumbnailer /usr/bin
sudo ln ~/.local/share/flatpak/app/org.blender.Blender/current/active/files/blender/blender /usr/bin
echo "[Thumbnailer Entry]
TryExec=./usr/bin/blender-thumbnailer
Exec=./usr/bin/blender-thumbnailer %i %o
MimeType=application/x-blender;" | sudo tee /usr/share/thumbnailers/blender.thumbnailer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment