Customize Folder Displayed by Files Icon

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:


Nextcloud version (eg, 12.0.2): 17.0
Operating system and version (eg, Ubuntu 17.04): 18.04.3
Apache or nginx version (eg, Apache 2.4.25): 2.4.29
PHP version (eg, 7.1): 7.2

The issue you are facing:
I need to change the default ‘home’ folder displayed by the Files icon.

All of my users do all of their work in a single folder named ‘Shared’. I want them to perceive that as their home folder. I understand that it is a bad idea to change the real home folder by symlinking user home folders to one common folder.

  • Changing the ‘Files’ icon in the app bar to send them to Shared would be good.
  • Changing the default folder displayed when they first login would be almost as good.

If the only way to do this is to edit the shipped .php files, I’m willing to do that, and would appreciate any pointers to where I find the relevant code.

Is this the first time you’ve seen this error? (Y/N): n.a.

Steps to replicate it:

  1. n.a.

The output of your Nextcloud log in Admin > Logging:


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____: