Bug ID | 1178447 |
---|---|
Summary | /etc/xdg/autostart/ibus-autostart.desktop contains extraneous underscore characters |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | x86-64 |
OS | openSUSE Tumbleweed |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Usability |
Assignee | screening-team-bugs@suse.de |
Reporter | genes1122@gmail.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
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 downloaded the package from https://software.opensuse.org/package/ibus, and drilled down to the /etc/xdg/autostart/ibus-autostart.desktop file in the package. It's contents are as folllows: [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 Running desktop-file-validate on the file results in: > desktop-file-validate /etc/xdg/autostart/ibus-autostart.desktop ibus-autostart.desktop: error: file contains key "_Name" in group "Desktop Entry", but key names must contain only the characters A-Za-z0-9- (they may have a "[LOCALE]" postfix) ibus-autostart.desktop: error: file contains key "_GenericName" in group "Desktop Entry", but key names must contain only the characters A-Za-z0-9- (they may have a "[LOCALE]" postfix) ibus-autostart.desktop: error: file contains key "_Comment" in group "Desktop Entry", but key names must contain only the characters A-Za-z0-9- (they may have a "[LOCALE]" postfix) ibus-autostart.desktop: hint: value "System;Utility;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu ibus-autostart.desktop: error: required key "Name" in group "Desktop Entry" is not present Removing the leading underscores from lines 2-4 in /etc/xdg/autostart/ibus-autostart.desktop gets rid of the boot and desktop-file-validate errors. Why are those underscores in the package file? Shouldn't they be removed? Gene