This is what runs at startup of xfce, its calling feh2's desktop file which I shared above
~/.local/bin/imagesfeh
#!/bin/bash
sleep 0.3 && xdg-mime default userapp-feh2-TGKEF3.desktop image/jpeg image/jpg image/png image/avif image/webp
~/.local/bin/imagesnomacs
#!/bin/bash
if [ "$XDG_CURRENT_DESKTOP" = "X-Cinnamon" ]; then
xdg-mime default nomacs.desktop image/png image/jpeg image/webp image/avif &
fi
Comment too long. Click here to view the full text.