I have decided to speed up opening of the LibreOffice and its components by pre-loading it after I log into my system.
This is not a trick for people with low ram machines. Why? It pre-loads LibreOffice on system start and keeps it in the memory so unless you are willing to sacrifice something between 64 – 256 MB of RAM – this how-to is not for You.
Still interested? Great. Do this:
Open terminal and run those commands:
chmod +x ~/.config/autostart/preload_libreoffice.sh
Now copy this:
loffice --nodefault --nologo &
Click on the
mcedit window and press SHIFT + INS(ERT). Content of the clipboard should now be pasted into the mcedit. Now press F2 to invoke saving dialog. Now press F10 to invoke closing dialog.
Close the terminal and open any part of the LibreOffice (writer, calc, draw whatever ails you…) and click Tools > Options from the menu bar. Now in the LibreOffice menu find and click Memory. See the Use for LibreOffice box? Change it’s value to something like 64, 128 or 256. Now OK the Options window and close LibreOffice.
Now reboot Your machine and log into it. Give it some time (15 seconds) to run the script in the background and try opening LibreOffice component… It should start in less then 1 second.