Error for ibus autostart whenever the package is updated.

After every update to ibus, I get the following error messages at boot:


> sudo journalctl -b | grep -B 1 GLib-GObject-CRITICAL

Nov 04 09:15:00 Mobile-PC mate-session[1801]: WARNING: Could not parse desktop file /etc/xdg/autostart/ibus-autostart.desktop: Key file does not have key “Name” in group “Desktop Entry”
Nov 04 09:15:00 Mobile-PC mate-session[1801]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x564d076905e0 finalized while still in-construction
Nov 04 09:15:00 Mobile-PC mate-session[1801]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.

I’m running MATE, so maybe this doesn’t happen in KDE. After an update, the autostart file “/etc/xdg/autostart/ibus-autostart.desktop” looks like this:


[Desktop Entry]
_Name=IBus
_GenericName=IBus Daemon
_Comment=Start IBus daemon
Exec=ibus-autostart
Icon=ibus-setup
Terminal=false
Type=Application
Categories=System;Utility;
StartupNotify=false
NoDisplay=true
X-GNOME-Autostart-Phase=Applications
X-GNOME-AutoRestart=false
X-GNOME-Autostart-Notify=false
X-KDE-autostart-after=panel
X-KDE-StartupNotify=false

The error disappears when I delete the leading underscore, “_”, in lines 2-4. Is this a problem with the ibus package, or with MATE?

Thanks,
Gene

Interesting, those underscores are in the file /etc/xdg/autostart/ibus-autostart.desktop contained in the package rpm in the repo. I filed bug https://bugzilla.opensuse.org/show_bug.cgi?id=1178447.

Gene