cancel
Showing results for 
Search instead for 
Did you mean: 

Do I need a browser protocol handler with nuxeo-drive ?

acn_
Confirmed Champ
Confirmed Champ

I'm testing nuxeo-drive with nuxeo 6.0 on ubuntu.

I'd like to make use of the "edit with nuxeo-drive" button in the browser. I think I need a protocol handler for firefox but I did not found any downloadable protocol for browsers.

I tried to declare it directly in firefox with these commands:

network.protocol-handler.app.nxdrive = /path/to/ndrive %s
network.protocol-handler.expose.nxdrive = false
network.protocol-handler.external.nxdrive = true
network.protocol-handler.expose-all = true

When I try to edit a *.odt file, Libreoffice can't be launched.

Any hint? Thanks

1 ACCEPTED ANSWER

Bauke_Roo
Star Contributor
Star Contributor

Hi acn and ataillefer,

I think it would be better to create a protocol handler in ubuntu itself.

Steps to do so:

Create a new file

sudo touch /usr/share/applications/nxdrive-handler.desktop

With the following text:

[Desktop Entry]
Name=Nuxeo Drive Protocol Handler
GenericName=Nuxeo Drive Handler
Comment=Handle NXdrive URL
Exec=ndrive %u
Terminal=false
Type=Application
MimeType=x-scheme-handler/nxdrive

Then refresh the desktop database:

sudo update-desktop-database

Hope you can use this, Bauke Roo

View answer in original post

6 REPLIES 6

ataillefer_
Star Contributor
Star Contributor

Hi,

Yes we didn't implement the nxdrive protocol handler registration for Linux yet (Linux is not our priority target at the moment), but it works on Windows and OS X.

Made a quick try to register it manually with your commands but with no success. If you find a way we would be glad to integrate it!

Thanks.

PS: I wonder if protocol registration is not easier on Chrome, maybe using some JS?

Thank you for the info. I'll let you know if I manage to have it working.

It is automatically registered at nuxeo Drive startup by Python code that sets the right keys in the Windows registry.

Bauke_Roo
Star Contributor
Star Contributor

Hi acn and ataillefer,

I think it would be better to create a protocol handler in ubuntu itself.

Steps to do so:

Create a new file

sudo touch /usr/share/applications/nxdrive-handler.desktop

With the following text:

[Desktop Entry]
Name=Nuxeo Drive Protocol Handler
GenericName=Nuxeo Drive Handler
Comment=Handle NXdrive URL
Exec=ndrive %u
Terminal=false
Type=Application
MimeType=x-scheme-handler/nxdrive

Then refresh the desktop database:

sudo update-desktop-database

Hope you can use this, Bauke Roo

Hi,

Thanks, I've updated [USERDOC/Nuxeo Drive](https

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.