Commit b91fbb55 authored by David Edmundson's avatar David Edmundson

[startkde] Fix name of target for autostarting .desktop files

xdg-desktop.target was the name at the time of first being written, but
it was renamed upstream.. I had both on my system from a previous
compilation.

plasma-workspace.target already "Wants" the correctly named one.

Noticed by Benjamin Berg
parent aa8d5aca
......@@ -368,10 +368,10 @@ bool useSystemdBoot()
return true;
}
// xdg-desktop.target is shipped with an upcoming systemd and shows we have a generator
// for creating units out of autostart files
// only enable if that also exists, unless we're forced above
return hasSystemdService(QStringLiteral("xdg-desktop.target"));
// xdg-desktop-autostart.target is shipped with an systemd 246 and provides a generator
// for creating units out of existing autostart files
// only enable our systemd boot if that exists, unless the user has forced the systemd boot above
return hasSystemdService(QStringLiteral("xdg-desktop-autostart.target"));
}
bool startPlasmaSession(bool wayland)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment