Skip to content

systemd boot compatible Exec line in im-launch.desktop

Gunnar Hjalmarsson requested to merge (removed):systemd-fix into devel

im-launch.desktop is autostarted, and the Exec line has up to now contained a condition so /usr/bin/im-launch has only been started in wayland sessions.

However, as from KDE Plasma 5.25 systemd boot is enabled by default, and that feature fails to parse the previous Exec line in im-launch.desktop. An example consequence is that fcitx5 is not started automatically at login to a KDE Plasma (Wayland) or Kubuntu (Wayland) session.

This commit fixes the issue by moving the mentioned condition from im-launch.desktop to the top of /usr/bin/im-launch, resulting in an Exec line simple enough for systemd boot to parse.

Bug: https://bugs.kde.org/show_bug.cgi?id=455252
Bug-Debian: https://bugs.debian.org/1033097

Edited by Gunnar Hjalmarsson

Merge request reports

Loading