Template Management from Dual Boot System

When a text document is associated with a template, stored in XML I assume somewhere and viewed through the File->Properties, is the template name just stored and concatenated with the template path stored under Options? Or, does it store the entire path along with the name making it entirely useless in dual-boot Linux/Windoz systems?

I have a dual-boot arrangement between Linux/doz and wonder if I can manage a single template, sourced by each system using the option LibreOffice±Paths. Occasionally I boot into windoz to do other related work and it would be nice if I can launch the same version of LibreOffice, pointing to the same documents and templates. Is this supported?

This is only a guess from observation.

Tools>Options, LibreOffice>Paths records a number of paths for various contexts. The ones in Templates category are used when you File>New>Templates or otherwise manage templates. LO builds a merge list of templates found in all the designated directories. You choose one in the dialog and it becomes the template base for the new document.

From poking in the XML, I saw that the full path to the template is recorded there. This is necessary to be sure to reference the correct template. Imagine you have two templates with the same name in different directories. If you keep only the filename, you create an ambiguity. Worse, you can modify the template path list. What would happen if you remove the directory you extracted the template from? So for safety the full path is there.

However, this full path is not written down iin absolute form but in relative form. The anchor point is the location of the document.

Consequently, if your dual boot does not change your file system architecture radically (i.e. the “essential” directories are mounted), it should work.

Usually, needed ancillary files end up in ~/.config/libreoffice/4/user/ and its numerous subdirectories.

If you manage to have directory ~ used for the user home directory in both OSes, this will be seemless. Otherwise, add a symlink on one side (or both) and have a try.

To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer) or comment the relevant answer.

I just gave this a go and it seems to work. Going to mark this solved, even though you have to be very, very careful managing links and moving things around later…