I think the title is self-explanatory. I would like to open my files from the Windows explorer by default in the web instance of Nextcloud. Currently I can do it by doing a right click, select Nextcloud and “Open in browser.”
Is there a fastest way (keyboard shortcut, or a script I could write, or to put that as the default behavior) ?
Set the default app in Windows that should be used for opening files. This should be done per extension.
If installed and available, NC should use the app that is acivated in NC or an external service that is activated as OnlyOffice.
Have you actually tested this? I’m asking because, at least on Linux it doesn’t work, and tbh I’d be surprised if it did.
But, I don’t know, maybe it actually works on Windows, but then you wouldn’t be able to open any of those file types with local applications anyore (except via right-click “open as”), even the ones outside the Nextcloud folder that aren’t stored on Nextcloud. So even if it would work, configuring it like that would probably not be a good idea for most people
I would just use the Nextcloud files app as your main tool for managing your files, and maybe bookmark the files or folders you use regularly, which should be sufficient for most day-to-day file interactions. For the rest, where you really need to use Windows Explorer, I don’t know, because of better search or filtering options? I guess you’ll just have to live with the fact that it takes three clicks to open a file in the browser, at least for now.
You might also want to check the GitHub issues to see if there is already a feature request for this, and if not, open one. However, I have no idea if that would be possible at all. But one can always ask, i guess… GitHub · Where software is built
Sorry for my misunderstanding.
I can NOT open a file that is seen with the windows file explorer (I have installed the app to connect a virtual drive to NC) in a way that is auto directed to a browser login to the NC instance. Yes, I can right click, but that opens the file also from the virtual drive connection in a browser window, and that is not through a NC login.
The virtual NC drive that works through explorer or an other filemanager on your device, acts with your local PC installed software. That is on all systems.
I do not think that you can route this via an auto browser login to your NC instance. If you want to work with NC add-ons, you have to start with a browser login to your NC.
I am still not sure if we fully understand each other, so let me explain what the right-click menu option in question actually does…
First of all, there is another option in the right-click menu called “Copy internal link”, which, as the name suggests, copies a direct link to the respective file to the clipboard, and when you paste that link into your browser, the same things will happen as if you had clicked on “Open in Browser”.
So here’s what happens when you click on "Open in Browser:
Instead of copying the link to the file in question to your clipboard, it opens it directly in the default browser, and if you’re already logged in to your Nextcloud instance, it immediately takes you to the respective file and opens it in the appropriate app (Text, Collabora, OnlyOffice, etc…).
If you’re not logged in, it will take you to the login page, and after logging in, all of the above will happen.
If Nextcloud can’t handle the file type because there is no corresponding app enabled, it will simply take you to the corresponding location in the Files app and open the right sidebar of the file in question.
I don’t think this is the problem @surfict is trying to solve. They just want an easier way to trigger the “Open in Browser” functionality instead of having to go through the right-click menu.
As I stated, the ‘open in browser’ is not like opening the file through a webbrowser as you do by copy the link.
If have no idea why you want that as default action. And I do not think this routine will be implemented in Windows or Linux for security reasons. What you could do is writing an own script on your machine to do this action as default. I do not know how.
Well, technically you’re right, the file is not handled by the browser. However, from the user’s point of view, this technicality doesn’t make any difference, does it? After all, they just want to open the file in the corresponding Nextcloud web app, in their browser, instead of in a locally installed application, and that’s exactly what happens when they click “Open in Browser”.
Who knows, maybe because for some reason they like Windows Explorer better than Nextcloud Files for browsing their files, but they still want to work with the Nextcloud web apps.
Yes, as I’ve said several times, it’s probably not easily possible, if at all, because file actions in Windows Explorer are handled by the OS, while “Open in Browser” is handled by the Nextcloud client, and tbh I don’t think Windows file actions can be overridden by applications with arbitrary functions, so at least a double-click action would probably not be possible.
What the Nextcloud devs could do, however, is to put the “Open in Browser” function directly to the “root” of the right-click menu instead of in a submenu under “Nextcloud”, which would save users at least one click. But that would clutter up the right-click menu, and I personally hate applications that do that.
Btw, I already suggested to OP to use the Nextcloud Files app in the browser instead of Windows Explorer, which is imho the only sensible thing to do if they mainly work with the Nextcloud browser apps.
My use case is the following : I am fine with opening things with word and excel, but I have one particular thing which I would like to open on my browser : Markdown files. Nextcloud Editor is awesome, and I didn’t find any editor on Windows which has all the feature I am using for editing Markdown files.
To me, Nextcloud files explorer is not as good as Windows explorer, but also it is not connected to everything else I have on my computer. I regularly add/remove things in my cloud from others places in my windows.. I do not wish to have two parallels places to do the same thing. In a daily basis where I do theses actions hundreds of time, it is a real pain.
It would be nice if Nextcloud could have the option to do something similar as Google doc/sheet, just a shortcut to the web version, that is more what I was looking for, but it doesn’t seem to exist. Maybe one day !
Yes, as I’ve said several times, it’s probably not easily possible, if at all, because file actions in Windows Explorer are handled by the OS, while “Open in Browser” is handled by the Nextcloud client, and tbh I don’t think Windows file actions can be overridden by applications with arbitrary functions, so at least a double-click action would probably not be possible.
Isn’t it how it works with Google Drive thought ? You double-click on the the .gdoc file and it opens with the Google Drive app. Then this app redirect to the browser.