Created attachment 1879 Use exo-open instead of thunar Currently Thunar is hardcoded to open directories. The way to go would be to use exo-open, maybe in the long term via exo API. This is particularly relevent once bug 4445 is done which allows exo-open to use a different file manager.
Unfortunately, I hit an issue with the trash. Specifically, "exo-open trash:///" throws an error for me on 4.4, and opens Nautilus for squisher on 4.6. I haven't looked into why yet.
Yes indeed, I only noticed this after writing the patch. See bug 4227. I'm not sure if this is considered an actual bug, with regard to 4.6, though, considering that the File Manager preference feature was too late for 4.6 feature freeze.
See svn r6154: "Try exo_url_show before directly calling Thunar."