Ask Your Question

Choose GUI toolkit for LO session [closed]

asked 2012-06-03 20:56:17 +0200

v_2e gravatar image

updated 2015-10-16 04:28:31 +0200

Alex Kemp gravatar image


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?


edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-16 04:28:46.139002

1 Answer

Sort by » oldest newest most voted

answered 2012-06-04 00:16:21 +0200

luyu gravatar image

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)
edit flag offensive delete link more



Thanks a lot! That's just what I was looking for! :)

v_2e gravatar imagev_2e ( 2012-06-04 15:24:41 +0200 )edit

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.

weleoka gravatar imageweleoka ( 2019-11-07 13:18:16 +0200 )edit

Question Tools

1 follower


Asked: 2012-06-03 20:56:17 +0200

Seen: 7,102 times

Last updated: Jun 04 '12