LOo 3.5.1.2 upgrade in Ubuntu Natty does not 'see' old templates

My new LOo 3.5.1.2 (Build ID: 350m1(Build:102) auto-upgraded under Ubuntu Natty (via Update Manager) from the earlier 3.4.5 version.

The suite works well overall, but I do miss my old (custom) templates which the new version's template manager does not see.
(I also miss the Recent Documents list, but that's another story).

In the old version the templates were (and still appear to be) stored in ~/.libreoffice/3/user/template, whereas
in the new version I see them in ~/.config/libreoffice/3/user/template.

Tools/Options/Paths shows TWO Template paths:
one is /usr/lib/libreoffice/program/../share/template/common (which I cannot find on my machine and have therefore hidden), whereas
the other is ~/.config/libreoffice/3/user/template.

If I want to work on templates via File/Templates/Edit, LOo offers to Open from the selection of templates I have in the new ~/.config/libreoffice/3/user/template path.
But if I want to Organize, all I get is a message box titled "LibreOffice 3.5" stating 'templates already exists'.
When I close that, I see the Template Management dialog with the currently open docs in the Document pane but an empty Templates pane.

This does not feel OK. Any advice on how I might set things straight?
TIA

john

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My new LOo 3.5.1.2 (Build ID: 350m1(Build:102) auto-upgraded under

Ubuntu Natty (via Update Manager) from the earlier 3.4.5 version.

The suite works well overall, but I do miss my old (custom) templates

which the new version's template manager does not see.

(I also miss the Recent Documents list, but that's another story). [...]

The bug was filed some time ago in Ubuntu, it's now considered "opinion"
:(. See:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/950794

- From the upstream bug report:
"IMHO this package [fix] will never provided. We have too few developers
to do all necessary work. Sorry for such situation. Please, move this
file (but not delete meanwhile) and configure LibreOffice from scratch
(anew)."

Here is some more information about the profile directory:
http://user.services.openoffice.org/en/forum/viewtopic.php?t=12426

Cheers,

Fabian Rodriguez
http://wiki.documentfoundation.org/User:MagicFab

- --
- --
Fabián Rodríguez

Hi Fabian,

I've been using Ubuntu for 3+ years. A few years ago I had some issues with the Ubuntu OpenOffice packages. It might not have been their fault since I had non-repo versions installed when I did an upgrade. To fix that problem, I did a complete uninstall of the Ubuntu version and installed the official OpenOffice version. Ever since then I've used only the official OpenOffice version before LibreOffice came along, and the official LibreOffice version from http://www.libreoffice.org/. they aren't as pretty, but functionality has been very good. I've been running 3.5.2 on Ubuntu 11.10 and also 12.04 Beta 2 without any issues. And the recent documents function works perfectly fine in the LibreOffice version in Ubuntu 11.10 and 12.04 Beta 2. Here is how I do my install: (This is for the 64 bit version.)

Download LibO_3.5.2_Linux_x86-64_install-deb_en-US.tar.gz to the desktop.
Right click on it and extract it to the desktop. This will give you the folder LibO_3.5.2rc2_Linux_x86-64_install-deb_en-US
Run the following terminal commands to install it:
1. sudo apt-get remove libreoffice*.*
2. sudo dpkg -i ~/Desktop/LibO_3.5.2rc2_Linux_x86-64_install-deb_en-US/DEBS/*.deb
3. sudo dpkg -i ~/Desktop/LibO_3.5.2rc2_Linux_x86-64_install-deb_en-US/DEBS/desktop-integration/libreoffice3.5-debian-menus_3.5-202_all.deb

If you need help for the 32 bit version, please let me know.

Don

You only could have done that if you install a ppa (Personal Package
Archive):
http://packages.ubuntu.com/natty/libreoffice
[Package: libreoffice (1:3.3.2-1ubuntu4) [universe]]

I recommend that you file a bug report with whichever ppa author you got
the update from.
...

Hi Don

I imagine that your instructions for instalation via libreoffice.org 64
bits can be used for 32 bits only changing the name of archive. Is it
correct?

thanks

eduardo mundin

Hi Eduardo,

Exactly.

32 Bit Version:
Download LibO_3.5.2_Linux_x86_install-deb_en-US.tar.gz to the desktop.
Right click on it and extract it to the desktop. This will give you the folder LibO_3.5.2rc2_Linux_x86_install-deb_en-US .
sudo apt-get remove libreoffice*.*
sudo dpkg -i ~/Desktop/LibO_3.5.2rc2_Linux_x86_install-deb_en-US/DEBS/*.deb
sudo dpkg -i ~/Desktop/LibO_3.5.2rc2_Linux_x86_install-deb_en-US/DEBS/desktop-integration/libreoffice3.5-debian-menus_3.5-202_all.deb

One thing I should add is that once you have the install done, if you are using Ubuntu with Unity, you will need to place your launcher buttons back into the Launcher bar. Simply click on the dash button, type libre into the search bar, and then drag the applications over which you want. Or you can open the programs, the launcher will appear in the launcher bar, and you can right click and select to keep it in the launcher.

Don

It is unnecessary to remove the Ubuntu/distro version of LO. That
version *and* the standard LO version(s) reside nicely on the same
machine, and can be run simultaneously. I currenly have open &
working, at the same time: LO 3.3.4, LO 3.4.6, LO 3.5.1.2, (U)LO
3.3.4, OOo 3.4.0, and OOo-Dev3:

$ locate bootstraprc
/opt/libreoffice/program/bootstraprc
/opt/libreoffice3.4/program/bootstraprc
/opt/libreoffice3.5/program/bootstraprc
/opt/ooo-dev3/program/bootstraprc
/opt/openoffice.org3/program/bootstraprc
/usr/lib/libreoffice/program/bootstraprc

The only bits you need to watch out for is where the user
configuration files are placed. In order to not have one write over
the other, I simply modify the bootsraprc file *before first run* so
that each have their own user config/profile files. Example:

For LO 3.3:
$ gksu gedit /opt/libreoffice/program/bootstraprc
and change
UserInstallation=$SYSUSERCONFIG/.libreoffice/3
to
UserInstallation=$SYSUSERCONFIG/.libreoffice3.3/3

For LO 3.4:
$ gksu gedit /opt/libreoffice3.4/program/bootstraprc

to
UserInstallation=$SYSUSERCONFIG/.libreoffice3.4/3

For LO 3.5:
$ gksu gedit /opt/libreoffice3.5/program/bootstraprc

to
UserInstallation=$SYSUSERCONFIG/libreoffice3.5/3

Create menu items to each (example:
'/opt/libreoffice3.5/program/soffice'), and that's it. The
Ubuntu/distro version will keep it's profile at ~/.libreoffice/3/user
(or ~/.config/libreoffice/3/user in the case of the 3.5 versions), the
others will name & put the profile as you've intsructed in the
bootstraprc file.

...

Thank you NoOp. I appreciate the information. The bad experience I had was about 2 years ago with OpenOffice. I had updated that to a new version. Several months later Ubuntu had an upgrade, and they had the same version of Open Office I had upgraded to. I didn't think anything about it. When I went to use Calc, I had some of the strangest behaviors. For any formula, it always gave the wrong answers, even for very obvious ones, such as 2+2, or 2*25. The only way I got things working properly again was to uninstall OpenOffice completely, then I reinstalled the application directly from OpenOffice.

Don

...

The only bits you need to watch out for is where the user
configuration files are placed. In order to not have one write over
the other, I simply modify the bootsraprc file *before first run* so
that each have their own user config/profile files. Example:

For LO 3.3:
$ gksu gedit /opt/libreoffice/program/bootstraprc
and change
UserInstallation=$SYSUSERCONFIG/.libreoffice/3
to
UserInstallation=$SYSUSERCONFIG/.libreoffice3.3/3

For LO 3.4:
$ gksu gedit /opt/libreoffice3.4/program/bootstraprc

to
UserInstallation=$SYSUSERCONFIG/.libreoffice3.4/3

For LO 3.5:
$ gksu gedit /opt/libreoffice3.5/program/bootstraprc

to
UserInstallation=$SYSUSERCONFIG/libreoffice3.5/3

Create menu items to each (example:
'/opt/libreoffice3.5/program/soffice'), and that's it. The
Ubuntu/distro version will keep it's profile at ~/.libreoffice/3/user
(or ~/.config/libreoffice/3/user in the case of the 3.5 versions), the
others will name& put the profile as you've intsructed in the
bootstraprc file.

...

Thank you NoOp. I appreciate the information. The bad experience I had
was about 2 years ago with OpenOffice. I had updated that to a new
version. Several months later Ubuntu had an upgrade, and they had the
same version of Open Office I had upgraded to. I didn't think anything
about it. When I went to use Calc, I had some of the strangest
behaviors. For any formula, it always gave the wrong answers, even for
very obvious ones, such as 2+2, or 2*25. The only way I got things
working properly again was to uninstall OpenOffice completely, then I
reinstalled the application directly from OpenOffice.

Don

Ah. That is most likely of the two sharing the same profile
(~/.openoffice.org/3/user). That is why I ensure that the standard
install profiles are different from the distro version. For OOo 3.4
(standard) my bootstraprc file is modified to:
UserInstallation=$SYSUSERCONFIG/.openoffice.org3.4/3
That kept it completely separate from the distro ~/.openoffice.org/3/.

Note: the advantage of keeping (U)OOo installed (at the time) was that
(U)OOo used the go-oo version, so it used gstreamer for multimedia. The
standard versions of OOo did not & so you had to install the ancient
Java Media Format (JMF) & that was a royal PITA. The advantage of
keeping all of these installed on my system is that I can easily compare
differences between versions, including putting windows of each
side-by-side.

Thank you again. I'm sure you are correct. When I did the Ubuntu upgrade back then I didn't know enough to know there might be a conflict or anything like that. It was really, really strange to see the results I was getting with simple formulas. None of them gave the correct answer.