Choose GUI toolkit for LO session

Hello!

While testing LibreOffice 3.5 with GTK3 interface, somebody suggested me to use a special environment variable to choose the toolkit to start LibreOffice with. For example, it was possible to choose GTK2, GTK3 and so on.

Now I cannot remember this variable name and cannot find it anywhere. Could somebody please tell me what variable it was?

Thanks.

SAL_USE_VCLPLUGIN environment variable with values

  • gtk, gtk2, gtk3 (GNOME)
  • kde, kde4 (KDE)
  • gen (generic ie. X11)

If some of the plugins don’t work, activate experimental features in Tools → Options → LibreOffice → General → Enable experimental (unstable features).

There is also OOO_FORCE_DESKTOP variable which implicitly sets corresponding VCL plugin

  • gnome (for GNOME)
  • kde (for KDE)
  • none (for other desktop environments)

Thanks a lot! That’s just what I was looking for! :slight_smile:

Setting variables not working? It can be necessary to install libreoffice-gtk3 (or other depending on what you need).

Especially if you installed LibreOffice from backports (debian-backports for example), then make sure you install the libreoffice-gtk3 package from backports too.