Fix slow Libreoffice

Since the corresponding information is buried in a couple of long threads, here’s a quick summary of how to make LibreOffice reasonably fast in Qubes. Use it, if you experience high CPU usage when using LibreOffice and/or LibreOffice to be extremely slow, lag when scrolling, etc.

launch LibreOffice like that:
SAL_USE_VCLPLUGIN=gen libreoffice

Furthermore, in LibreOffice, Tools → Options → View

  • Disable hardware acceleration
  • Disable anti-aliasing
  • Enable “Use Skia for all rendering”
  • Enable "Force Skia software rendering”
6 Likes

kf5 works better than gen. The rest doesn’t matter.

At least on my 4.2.4 system.

1 Like

Never had issues in LibreOffice even on modest old hardware. Will try this if I do though.

1 Like

Also --nologo:

Aliases:

alias libreoffice='SAL_USE_VCLPLUGIN=gen libreoffice --nologo'
alias lo='SAL_USE_VCLPLUGIN=gen libreoffice --nologo'

Is there a way to save these settings somehow in /etc/ so it works for every VM?

1 Like