Showing a file in the file manager

Kevin Krammer kevin.krammer at gmx.at
Thu Sep 22 06:40:54 PDT 2011


On Thursday, 2011-09-22, Bastien Nocera wrote:
> On Thu, 2011-09-22 at 15:09 +0200, Kevin Krammer wrote:
> > On Thursday, 2011-09-22, Jannis Pohlmann wrote:
> > > 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?
> > 
> > As long as none of the file managers installs a D-Bus service file for
> > the given interface there shouldn't be any problem.
> > The call will either go to an already running file manager, which we can
> > then savely assume to be the correct one, or fail.
> 
> Which is absolutely useless for GNOME 3.x as nautilus (our file manager)
> doesn't run by default.

I was just addressing Jannis' concern that the wrong file manager would be 
started, which will not be the case.

xdg-open will still need to start the fm program depending on DE, but can then 
delegate the opening/selecting via D-Bus.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/xdg/attachments/20110922/f5f6098e/attachment.pgp>


More information about the xdg mailing list