! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
exo-open does not support sending trash: URIs to Thunar
Status:
RESOLVED: FIXED

Comments

Description Mark Lee 2008-07-15 06:37:51 CEST
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.
Comment 1 Mark Lee 2008-07-15 07:24:21 CEST
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.
Comment 2 Christian Dywan 2008-10-20 17:26:36 CEST
(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.
Comment 3 Mark Lee 2008-10-20 17:47:22 CEST
(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.
Comment 4 Christian Dywan 2008-11-19 09:33:46 CET
(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.

Bug #4227

Reported by:
Mark Lee
Reported on: 2008-07-15
Last modified on: 2009-10-09

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information