If you run `exo-open trash:` from the command line, it defers to gnome-open and nautilus is opened (assuming that gnome-open and nautilus are installed). What should happen is that Thunar should be tried first, since it supports the trash: URI.
Created attachment 1743 adds specific trash: URI support This is a patch created from the libexo-0.3.4 tarball that adds support for sending URIs that start with "trash:" to Thunar. It also applies cleanly to libexo svn trunk, r27291.
(In reply to comment #1) > Created an attachment (id=1743) [details] > adds specific trash: URI support > > This is a patch created from the libexo-0.3.4 tarball that adds support for > sending URIs that start with "trash:" to Thunar. It also applies cleanly to > libexo svn trunk, r27291. From the looks of that patch that should also catch "trash:///" which is for instance what the Places panel item tries to open, and while Thunar opens it just fine, exo-open chokes on it.
(In reply to comment #2) > (In reply to comment #1) > > Created an attachment (id=1743) [details] [details] > > adds specific trash: URI support > > > > This is a patch created from the libexo-0.3.4 tarball that adds support for > > sending URIs that start with "trash:" to Thunar. It also applies cleanly to > > libexo svn trunk, r27291. > > From the looks of that patch that should also catch "trash:///" which is for > instance what the Places panel item tries to open, and while Thunar opens it > just fine, exo-open chokes on it. That's odd. I have xfce4-places 1.1.0 installed and on my panel, and I can click on the "Trash" icon just fine. It would be nice if this patch was included in the final Xfce 4.6 release, although I don't know if this is considered a feature enhancement and thus ineligible at this time.
(In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > > > Created an attachment (id=1743) [details] [details] [details] > > > adds specific trash: URI support > > > > > > This is a patch created from the libexo-0.3.4 tarball that adds support for > > > sending URIs that start with "trash:" to Thunar. It also applies cleanly to > > > libexo svn trunk, r27291. > > > > From the looks of that patch that should also catch "trash:///" which is for > > instance what the Places panel item tries to open, and while Thunar opens it > > just fine, exo-open chokes on it. > > That's odd. I have xfce4-places 1.1.0 installed and on my panel, and I can > click on the "Trash" icon just fine. To clarify, the Places currently uses Thunar directly. Which means trash works perfectly fine. My point was about a request to use exo-open instead of hardcoding Thunar, which is not possible while this bug is present.