Showing a file in the file manager
PCMan
pcman.tw at gmail.com
Thu May 19 21:06:28 PDT 2011
DBus is a nice idea.
Different file managers can expose a common dbus interface.
There are some common operations among different file managers.
Currently these are what I can think of.
File operations:
move, copy, delete, trash, untrash, mkdir, chmod
UI operations:
select file in window
open folder (this can be better than using mime-type handlers for folders IMO)
show properties of selected files
Is it possible to standardize these common operations?
If developers of dolphin, nautilus, and thunar are interested in this,
I'll be happy to do similar things in LXDE.
On Fri, May 20, 2011 at 8:24 AM, Bastien Nocera <hadess at hadess.net> wrote:
> On Thu, 2011-05-19 at 14:15 -0500, Federico Mena Quintero wrote:
>> 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?
>
> Could we not standardise on a D-Bus interface for that instead of a
> horrible hack of a shell script?
>
> _______________________________________________
> xdg mailing list
> xdg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xdg
>
More information about the xdg
mailing list