webextension_local_filesystem_links icon indicating copy to clipboard operation
webextension_local_filesystem_links copied to clipboard

error : undefined - Reveal not working on Ubuntu (missing file manager)

Open ffrouin opened this issue 6 years ago • 1 comments

Hello,

I'm using firefox 60.0.1+build2-0ubuntu0.14.04.1 (Ubuntu 14.04) and your plugin.

When plugin detects local link object it shows a little folder on the right, but when I click on it, there is a message textbox that appears a few seconds telling me "error : undefined".

Then, I don't know how to link your plugin with the local binary used for file management (thunar in my case). How should I proceed in order your plugin to call a specific file manager binary ?

Thanks, Best Regards, Freddy.

ffrouin avatar Sep 10 '18 09:09 ffrouin

There is no way to add other file managers at the moment.

Only nautilus and dolphin are supported for revealing files in file manager. Open is always xdg-open on Linux.

Maybe we could add an options file fileexplorer.json to the native app so users could add other file managers. The format could be like the filexeplorers object:

{
    "open": "xdg-open",
    "reveal": {
      "cmd": "thunar",
      "arg": "--select "
    }
}

If that file is present in the install location then we're using that file explorer instead of the defaults.

A work-around until this feature is added would be to add a symbolic link for nautilus to the file explorer you'd like to use. Something like sudo ln -s /bin/nautilus /usr/bin/thunar should work (not tested).

AWolf81 avatar Aug 07 '19 06:08 AWolf81