From 011dd6c4cb80753c38e8269b87a89c54843f46ad Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Thu, 2 May 2024 17:27:26 +0200 Subject: [PATCH] Extend 'How the "Edit locally" functionality works' text. Signed-off-by: Camila Ayres --- doc/faq.rst | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/doc/faq.rst b/doc/faq.rst index 92fa9ebfc194..b91573dadb81 100644 --- a/doc/faq.rst +++ b/doc/faq.rst @@ -1,15 +1,40 @@ FAQ === -How the "Edit locally" functionality works when running the desktop client AppImage ------------------------------------------------------------------------------------ +How the "Edit locally" functionality works +------------------------------------------ +This functionality depends on the desktop client ability to register the mime to handle the nc:// scheme. That is the handler used by the server to open a file locally. This will allow the desktop client to open a document with the local editor when you click on the option "Edit locally" in your Nextcloud instance. -This functionality depends on the desktop client ability to register the mime to handle the nc:// scheme. That is the handler used by the server to open a file locally. +.. note:: + Without properly registering the mime, independent of the browser and distro being used, the desktop client will fail to open a document with the local editor when you click on the option "Edit locally" in your Nextcloud instance. + + The browser will warn you of the failure: "Failed to launch 'nc://...' because the scheme does not have a registered handler." -We use AppImage due to its universal compatibility but to take full advantage of the desktop client features you will need a third part software to integrate the AppImage in your system. -We have tested `AppImageLauncher `_ and alternatively there is `Go AppImage `_. +How to enable it +^^^^^^^^^^^^^^^^^ -Without it, independent of the browser and distro being used, the desktop client will fail to open a document with the local editor when you click on the option "Edit locally" in your Nextcloud instance. +In order to do that, you need to install the desktop client with the MSI installer on Windows or use a third party software to integrate the AppImage in your system on Linux. + +On Linux +^^^^^^^^ + +We use AppImage due to its universal compatibility but to take full advantage of the desktop client features you will need a third part software to integrate the AppImage in your system: we have tested `AppImageLauncher `_ and alternatively there is `Go AppImage `_. + +On Windows +^^^^^^^^^^ + +The MSI installer will alter your system registry to register the mime to handle the nc:// scheme. + +Alternatively, you can manually register the mime to handle the nc:// scheme: + +1. Save the following content to a .reg file: +``` +Windows Registry Editor Version 5.00 + +[HKEY_CLASSES_ROOT\nc\shell\open\command] +@="\"C:\\Program Files\\Nextcloud\\nextcloud.exe\" \"%1\"" +``` +2. Double click on the .reg file to import it into the registry. See https://nextcloud.com/blog/nextcloud-office-release-solves-document-compatibility-overhauls-knowledge-management/ for more information.