Hi, everyone,

We are starting to add a command "Show in file manager" to apps that let
you open files (text editor, image viewer, word processor, etc.).  This
is similar to the command that Firefox has in the right-click menu in
its Downloads list.

In Gnome you can do

        nautilus file:///foo/bar.txt

and it will open a window to show the "foo" directory, with the
"bar.txt" file selected.

>From [1] I can see that KDE wants you to do

        dolphin --select file:///foo/bar.txt

And I don't know what other desktop environments use to do the same
task.

Currently xdg-open doesn't support this.  Should we just add an
--in-file-manager option so that you can do

        xdg-open --in-file-manager file:///blah.txt

What do you think?

[1]
https://projects.kde.org/projects/kde/kdebase/kde-baseapps/repository/revisions/master/entry/dolphin/src/main.cpp#L73

  Federico

_______________________________________________
xdg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to