diff --git a/startkde/plasma-session/startup.cpp b/startkde/plasma-session/startup.cpp index 67476c920..759974e91 100644 --- a/startkde/plasma-session/startup.cpp +++ b/startkde/plasma-session/startup.cpp @@ -215,13 +215,14 @@ Startup::Startup(QObject *parent): kdedProcessEnv.insert(QStringLiteral("KDED_STARTED_BY_KDEINIT"), QStringLiteral("1")); const QVector sequence = { - new StartProcessJob(QStringLiteral("kcminit_startup"), {}), - new StartServiceJob(QStringLiteral("kded5"), {}, QStringLiteral("org.kde.kded5"), kdedProcessEnv), +// new StartProcessJob(QStringLiteral("kcminit_startup"), {}), +// new StartServiceJob(QStringLiteral("kded5"), {}, QStringLiteral("org.kde.kded5"), kdedProcessEnv), new StartServiceJob(QStringLiteral("ksmserver"), QCoreApplication::instance()->arguments().mid(1), QStringLiteral("org.kde.ksmserver")), - new StartupPhase0(autostart, this), - phase1 = new StartupPhase1(autostart, this), - new RestoreSessionJob(), - new StartupPhase2(autostart, this), +// new StartupPhase0(autostart, this), +// phase1 = new StartupPhase1(autostart, this), +// new RestoreSessionJob(), +// new StartupPhase2(autostart, this), + new StartServiceJob(QStringLiteral("kwrite"), {}, QString()) }; KJob* last = nullptr; for(KJob* job : sequence) { @@ -444,6 +445,12 @@ void StartServiceJob::start() qCWarning(PLASMA_SESSION) << "error starting process" << m_process->program() << m_process->arguments(); emitResult(); } + + if (m_serviceId.isEmpty()) { + qDebug() << "done"; + emitResult(); + } + } StartProcessJob::StartProcessJob(const QString &process, const QStringList &args, const QProcessEnvironment &additionalEnv)