Showing a file in the file manager

Stef Bon stefbon at gmail.com
Fri May 20 02:07:33 PDT 2011


Hi,

please some more info.

The option you suggest does not open an image for example in the
default imageviewer, but as file (as any other) in dolphin?

And for my info, where does xdg-utils store the preferences?? I see
xdg-settings, but no .xdg or something simular in my homedir.

Stef



2011/5/19 Federico Mena Quintero <federico at ximian.com>:
> 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
> xdg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xdg
>


More information about the xdg mailing list