Arch Linux LibreOffice Fresh 无法启动

ArchLinux LibreOfficeFresh unable to start

我的系统:

- ArchLinux
- LibreOfficeFresh 5.0.2-3
- Xorg116
- Catalyst Graphics Drivers

问题:

LibreOfficeFresh is unable to start since I have installed catalyst, so since i switched
from MESA to catalyst.

错误说明:

[tekkkz@thinkpad ~]$ libreoffice 

(soffice:1022): GLib-GObject-CRITICAL **: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed

(soffice:1022): GLib-GObject-WARNING **: gtype.c:4268: type id '0' is invalid

(soffice:1022): GLib-GObject-WARNING **: can't peek value table for type '<invalid>' which is not currently referenced
Application Error

有人知道如何让我的 LibreOffice 重新工作吗?

感谢您的帮助, Tekkkz

这似乎是 GTK 主题的问题(最近在 GTK2/3 之间发生了变化)。尝试更改主题并查看它是否再次开始工作(它对我有用)。

这是我今天升级时看到的消息

(18/24) upgrading libreoffice-fresh                     [##############################] 100%
> LibreOffice now uses highly experimental gtk3 vcl by default
> on some desktops. To use stable gtk2 vcl uncomment
> it in /etc/profile.d/libreoffice-fresh.{sh,csh}

所以你可以试试,取消注释行 export SAL_USE_VCLPLUGIN=gtk 并重新登录,如果你不想注销,你必须在终端和 运行 libreoffice 中手动导出变量导出变量后立即从该终端。

export SAL_USE_VCLPLUGIN=gtk
soffice

我这样做了,现在就可以了