Skip to content

ristretto can't open image file from trash

Hello!

I just built git master on Ubuntu 20.04.1 LTS.

I found that if I try to open image file from trash by double-clicking it or via context-menu "Open with", it doesn't display the said file and instead displays the blank ristretto window.

Gnome image viewer (eog) can open image file from trash (context-menu "Open with") without any issue.

Interestingly, from commandline ristretto opens the same file without any issue:

$ src/ristretto 'trash:///FILE'

I tried with both thunar and nautilus but the issue remained.