You can also use the following command line parameter to override the user profile directory: soffice -env:UserInstallation=file:///tmp/foobar -->
soffice -env:UserInstallation=file:///tmp/foobar