Commit Graph

6 Commits

Author SHA1 Message Date
pennae
df6c714d82 libreoffice: kill private dbus instance on exit
if the libreoffice wrapper doesn't find a dbus instance in the
environment it starts one, but then neglects to clean it up. over time
this can litter the system with orphaned dbus instances. kill the daemon
as well instead of just removing the socket directory.
2021-04-22 23:03:02 +02:00
Martin Milata
c95bfd235b libreoffice: wrapper: add hunspell dirs to DICPATH
LibreOffice doesn't know where to look for hunspell dictionaries on
NixOS but we can use the DICPATH env var to point to them. Now
spellchecking with system dictionaries works.

Note that some of these dictionaries are built from LibreOffice repos -
this is preferable to building them as part of LO as other applications
can use them.
2020-02-18 14:55:03 +01:00
Michael Raskin
b8ed97001e libreoffice: wrapper: fallback to /tmp if /run is not usable 2019-03-23 12:16:53 +01:00
Michael Raskin
1f52bfb67c libreoffice: wrapper: do not set SAL_USE_VCLPLUGIN for now 2018-05-02 22:52:51 +02:00
Michael Raskin
e471376982 libreoffice: wrapper: apparently session bus for DBus is enough, and adding a local system bus when a session bus is present makes things worse 2018-04-15 08:33:42 +02:00
Michael Raskin
95a819c002 libreoffice: wrap to set JAVA_HOME, SAL_USE_VCLPLUGIN and DBus session if not set 2018-03-27 19:30:09 +02:00