I have an arch install running xfce and lxdm as my login manager I have installed libreoffice per wiki instructions and configured memory optimizations as follows:
- Reduced the number of Undo steps 20 steps.
- Under Graphics cache, I set Use for LibreOffice to 128 MB.
- I Set Memory per object to 20MB.
- I Checked LibreOffice Quickstarter.
However, It still takes about 45 seconds to load any document, spreadsheet, or presentation after logging in. However when I load a second or third... document, spreadsheet, or presentation they load near instantly. Furthermore, if I open a terminal and type "libreoffice --writer /path/to/doc," I receive no errors or any verbose message. Has anyone encountered this? Any help would be greatly appreciated.
Last edited by forshark (2013-01-16 01:21:48)
This could be as simple as it loads modules as you need them, such as the module for opening documents. If so, there is no way around it, but I may be wrong. The only way to diffidently find out is to browse the sourcecode to see about it's module loading.
It always makes me laugh when people complain and rage over any distro's management ideal, when this is a linux community, and you could always make your own distro and experience the pains yourself.
Possibly, but how due I trace what libreoffice is doing at load time?
I use LXDE/openbox, and there's no option for quickstarter under memory on my system.
typical loadtime for me at first time is 15-20 seconds, and later starts are lightningfast.
Try disabling quickstarter to see if it makes any difference.
Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them
Ok, I have solved libreoffice's unacceptable behavior on my machine by:
appending "/etc/hosts" with the following:
127.0.0.1 $HOSTNAME localhost $HOSTNAME.(none)
with $HOSTNAME actually spelled out
ex "127.0.0.1 archden localhost archden.(none)"
With this miracle cure your libreoffice installation will fall within an acceptable standard of behavior.
PS. praying libreoffice is far more glorious in this respect.