Showing a file in the file manager
aleksei.lissitsin at gmail.com
Thu Sep 22 09:51:31 PDT 2011
On Thu, Sep 22, 2011 at 4:09 PM, Kevin Krammer <kevin.krammer at gmx.at> wrote:
> 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.
This could be a nice approach. The D-Bus service file for FileManager1
could then just (be installed by and) call xdg-open to start the right
file manager if none is running.
Of course, this might not be the expected behavior in some cases. For
more controlled behavior one might need to implement FileManager1
interface by some kind of "xdg_open for D-Bus" or assume that
DE-specific preferred application systems start to have control on
which applications can register which interfaces (or at least control
over D-Bus service files).
More information about the xdg