Showing a file in the file manager
Jannis Pohlmann
jannis at xfce.org
Fri May 20 13:34:44 PDT 2011
On Fri, 20 May 2011 22:30:21 +0200
Stef Bon <stefbon at gmail.com> wrote:
> 2011/5/20 Kevin Krammer <kevin.krammer at gmx.at>:
> > On Friday, 2011-05-20, Federico Mena Quintero wrote:
> >
> >> Ummm, which preferences? For example, xdg-open does some
> >> heuristics to determine which desktop environment is running, and
> >> then it just calls gnome-open, kfmclient, exo-open, etc. as
> >> appropriate.
> >>
> >> (Yeah, it's kind of ugly. This D-Bus stuff would indeed make
> >> things much easier.)
> >
> > Please excuse me for being slighlty offtopic, but being one of the
> > initiators of the xdg-utils scripts I have to voice my agreement
> > with this assessment.
> >
> > These scripts where intended as a quick work around until a more
> > apporpriate solution like standardzed interfaces could be provided.
> >
> > Unfortunately this never happened for various reasons, so any move
> > into that direction is highly appreciated.
>
> Ok, but is it really required to do this via dbus?
>
> Isn't it required that for example dolphin is running to "recieve" the
> dbus signal
> for the opening the url?
Not if it is activatable over D-Bus. E.g. on Xfce, if the desktop
application requests a file operation, the file manager is activated
over D-Bus and runs in the background. Only the file operation dialog
is presented to the user.
- Jannis
More information about the xdg
mailing list