Showing a file in the file manager
jannis at xfce.org
Thu Sep 22 04:42:09 PDT 2011
On Thu, 22 Sep 2011 02:07:11 -0500
Federico Mena Quintero <federico at gnome.org> wrote:
> On Thu, 2011-09-22 at 03:06 +0300, Aleksei Lissitsin wrote:
> > Was there any update/agreement on the issue?
> Yes on the agreement. And sorry! I totally forgot to post an update
> about this to the list.
> This is the tentative patchset we have for Nautilus:
> It's still under review/discussion, but you can see the D-Bus stuff in
> > Will there be added --select parameter to xdg-open or
> > the users will have to use DBus directly?
> Frankly I'd prefer it if people used D-Bus directly (you can always do
> "dbus-send blah blah" from the command line).
> This sounds like the right time to implement xdg-open as a D-Bus
> method itself in the FileManager1 service. Then, xdg-open(1) could
> try calling that method, and if it's not available, then xdg-open
> would do its usual thing. (Maybe that *is* the way things work right
> now; I haven't read the xdg-open sources closely.)
IMHO that's a bad idea. Bypassing DE-specific checks and forwarding
straight to the FileManager1 service means that, on a multi-user system
with multiple file managers installed, people may easily end up
launching file managers other than the one they expect to see.
The same problem occurs if applications start using the FileManager1
service for opening folders directly (and other features that we might
add to the interface in the future). Let's say a GNOME application does
that and both, Nautilus and Thunar are installed. Which one is going to
pop up? Is there any solution to this?
More information about the xdg