thunar fails to open trash://
I came across this issue the following way: On a Manjaro system with XFCE I installed plank and its trash docklet. When clicking on the trash docklet, dolphin would open (if installed), not thunar, even though thunar was selected as the handler for inode/directory in the settings. If dolphine was not installed, nothing would open. gio info trash:// confirms that its standard content type is inode/directory. gio mime inode/directory confirms that the standard application is thunar.desktop, listing also catfish and (if installed) dolphin as recommended applications. However, gio open trash:// would only launch doplhin, if installed, if not it would spit out an error message that no application for the content type "inode/directory" could be found.
After comparing the dolphin's application file with thunar.desktop I realized the the first one had a %u parameter in the Exec statement, whereas the latter one had %F. So I manually changed this line into 'Exec thunar %u' in thunar.desktop, and voilà, magically thunar now opens the trash (both via gio open trash:// and via plank's trash docklet). Is this a viable solution, if not bug fix, or is there a reason for the %F, and replacing it with %u will break something else?
BTW, it appears that catfish is subject to the same issue.
It appears others have come across that issue before, but without a solution: https://forum.manjaro.org/t/plank-thrash-docklet-is-not-working/113115
Maybe this one is also related (but it's pretty old anyway): https://bugs.launchpad.net/plank/+bug/1610183