2023-07-15 17:15:38 +00:00
|
|
|
diff --git a/kcms/krdb/krdb.cpp b/kcms/krdb/krdb.cpp
|
|
|
|
index 46363ddcb..d787f9993 100644
|
|
|
|
--- a/kcms/krdb/krdb.cpp
|
|
|
|
+++ b/kcms/krdb/krdb.cpp
|
|
|
|
@@ -468,7 +468,7 @@ void runRdb(unsigned int flags)
|
|
|
|
proc.execute();
|
|
|
|
|
|
|
|
// Needed for applications that don't set their own cursor.
|
|
|
|
- QProcess::execute(QStringLiteral("xsetroot"), {QStringLiteral("-cursor_name"), QStringLiteral("left_ptr")});
|
|
|
|
+ QProcess::execute(QStringLiteral(NIXPKGS_XSETROOT), {QStringLiteral("-cursor_name"), QStringLiteral("left_ptr")});
|
|
|
|
|
|
|
|
applyGtkStyles(1);
|
|
|
|
applyGtkStyles(2);
|
2020-12-25 13:55:36 +00:00
|
|
|
diff --git a/startkde/plasma-session/startup.cpp b/startkde/plasma-session/startup.cpp
|
2023-07-15 17:15:38 +00:00
|
|
|
index ffec07ebf..11e70fef8 100644
|
2020-12-25 13:55:36 +00:00
|
|
|
--- a/startkde/plasma-session/startup.cpp
|
|
|
|
+++ b/startkde/plasma-session/startup.cpp
|
2023-07-15 17:15:38 +00:00
|
|
|
@@ -176,7 +176,7 @@ Startup::Startup(QObject *parent)
|
2022-03-30 09:31:56 +00:00
|
|
|
}
|
2020-12-25 13:55:36 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
// Keep for KF5; remove in KF6 (KInit will be gone then)
|
2020-12-25 13:55:36 +00:00
|
|
|
- QProcess::execute(QStringLiteral(CMAKE_INSTALL_FULL_LIBEXECDIR_KF5 "/start_kdeinit_wrapper"), QStringList());
|
|
|
|
+ QProcess::execute(QStringLiteral(NIXPKGS_START_KDEINIT_WRAPPER), QStringList());
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
KJob *phase1 = nullptr;
|
|
|
|
m_lock.reset(new QEventLoopLocker);
|
|
|
|
diff --git a/startkde/startplasma-wayland.cpp b/startkde/startplasma-wayland.cpp
|
2023-07-15 17:15:38 +00:00
|
|
|
index 04875c358..5822af37c 100644
|
2022-03-30 09:31:56 +00:00
|
|
|
--- a/startkde/startplasma-wayland.cpp
|
|
|
|
+++ b/startkde/startplasma-wayland.cpp
|
2023-07-15 17:15:38 +00:00
|
|
|
@@ -89,7 +89,7 @@ int main(int argc, char **argv)
|
2022-03-30 09:31:56 +00:00
|
|
|
out << "startplasma-wayland: Shutting down...\n";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
// Keep for KF5; remove in KF6 (KInit will be gone then)
|
2020-04-24 23:36:52 +00:00
|
|
|
- runSync(QStringLiteral("kdeinit5_shutdown"), {});
|
|
|
|
+ runSync(QStringLiteral(NIXPKGS_KDEINIT5_SHUTDOWN), {});
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
out << "startplasmacompositor: Shutting down...\n";
|
|
|
|
cleanupPlasmaEnvironment(oldSystemdEnvironment);
|
2020-04-24 23:36:52 +00:00
|
|
|
diff --git a/startkde/startplasma-x11.cpp b/startkde/startplasma-x11.cpp
|
2023-07-15 17:15:38 +00:00
|
|
|
index 8e82e29c3..1ed176706 100644
|
2020-04-24 23:36:52 +00:00
|
|
|
--- a/startkde/startplasma-x11.cpp
|
|
|
|
+++ b/startkde/startplasma-x11.cpp
|
2023-07-15 17:15:38 +00:00
|
|
|
@@ -87,7 +87,7 @@ int main(int argc, char **argv)
|
2020-04-24 23:36:52 +00:00
|
|
|
out << "startkde: Shutting down...\n";
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
// Keep for KF5; remove in KF6 (KInit will be gone then)
|
2020-04-24 23:36:52 +00:00
|
|
|
- runSync(QStringLiteral("kdeinit5_shutdown"), {});
|
|
|
|
+ runSync(QStringLiteral(NIXPKGS_KDEINIT5_SHUTDOWN), {});
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
cleanupPlasmaEnvironment(oldSystemdEnvironment);
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
diff --git a/startkde/startplasma.cpp b/startkde/startplasma.cpp
|
2023-07-15 17:15:38 +00:00
|
|
|
index b0158c97d..c8f7fe223 100644
|
2020-04-24 23:36:52 +00:00
|
|
|
--- a/startkde/startplasma.cpp
|
|
|
|
+++ b/startkde/startplasma.cpp
|
2023-07-15 17:15:38 +00:00
|
|
|
@@ -50,7 +50,7 @@ void sigtermHandler(int signalNumber)
|
2020-04-24 23:36:52 +00:00
|
|
|
void messageBox(const QString &text)
|
|
|
|
{
|
|
|
|
out << text;
|
|
|
|
- runSync(QStringLiteral("xmessage"), {QStringLiteral("-geometry"), QStringLiteral("500x100"), text});
|
|
|
|
+ runSync(QStringLiteral(NIXPKGS_XMESSAGE), {QStringLiteral("-geometry"), QStringLiteral("500x100"), text});
|
|
|
|
}
|
|
|
|
|
2021-03-19 17:17:44 +00:00
|
|
|
QStringList allServices(const QLatin1String &prefix)
|
2023-07-15 17:15:38 +00:00
|
|
|
@@ -484,7 +484,7 @@ QProcess *setupKSplash()
|
2020-04-24 23:36:52 +00:00
|
|
|
if (ksplashCfg.readEntry("Engine", QStringLiteral("KSplashQML")) == QLatin1String("KSplashQML")) {
|
|
|
|
p = new QProcess;
|
2022-03-30 09:31:56 +00:00
|
|
|
p->setProcessChannelMode(QProcess::ForwardedChannels);
|
2021-03-19 17:17:44 +00:00
|
|
|
- p->start(QStringLiteral("ksplashqml"), {ksplashCfg.readEntry("Theme", QStringLiteral("Breeze"))});
|
|
|
|
+ p->start(QStringLiteral(CMAKE_INSTALL_FULL_BINDIR "/ksplashqml"), {ksplashCfg.readEntry("Theme", QStringLiteral("Breeze"))});
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
return p;
|