Attaching a Nextcloud account to Nautilus via WebDAV in Ubuntu 16.04

  1. Go to your Nextcloud account security settings using a browser. Create a new app password.
  2. Open Nautilus and select Connect to Server from the left sidebar.
  3. Enter

    substituting YOUR-DOMAIN.TLD/PATH and YOUR-USERNAME as needed. If your server is not using https, substitute davs:// with dav://. (Also, shame on you.)

  4. Enter your username and app password (created at step 1, above) when prompted.

How to delete unwanted dav mount from Nautilus sidebar (Places) in Ubuntu 16.04

I had previously linked a Nextcloud account somehow (possibly through Online Accounts in Gnome’s Control Center) so that it was present in Nautilus, and there was no GUI means to remove it.

What I did to finally make it go away was to first open Seahorse and the Login keyring therein, and delete all keys related to the account. I then deleted ~/.config/goa-1.0/accounts.conf.

My accounts.conf only had the unwanted account in it, so you need to edit it instead of deleting it if yours has other accounts that you wish to preserve.

Deleting the keys (in Seahorse) may not be necessary, but didn’t hurt either.