On 2023-03-17 21:18, Gunnar Hjalmarsson wrote:
I made some tests with Kubuntu 23.04, and the problem seems to be
with the im-config file /etc/xdg/autostart/im-launch.desktop. I see
this line in the syslog:
2023-03-17T18:46:15.452477+01:00 gunnar-kubuntu-lunar-230317
systemd[865]:
/run/user/1000/systemd/generator.late/app-im\x2dlaunch@autostart.service:14:
Ignoring unknown escape sequences: "if [ "x\$XDG_SESSION_TYPE" =
"xwayland" ] ; then exec env IM_CONFIG_CHECK_ENV=1 im-launch true;
fi"
How are those escapes added??
Anyway, it works for me in a wayland session if I drop the condition
from the Exec line in /etc/xdg/autostart/im-launch.desktop so it
looks like this:
Exec=sh -c 'exec env IM_CONFIG_CHECK_ENV=1 im-launch true'
But that's not what we want, is it? Suggestions for a proper way to
address this issue are most welcome.
On Ubuntu 23.04 I see the issue in Plasma (Wayland) but not in Ubuntu
(Wayland). Is there some buggy systemd feature, which takes over XDG
autostart files, and which KDE/Plasma makes use of while GNOME does not?
@Jun Nogata: Can you please edit /etc/xdg/autostart/im-launch.desktop as
shown above and let us know if it helps in your case.
--
Gunnar