Commit graph

14 commits

Author SHA1 Message Date
Ivailo Monev
27b83e2023 libs: drop unused and redundant bits
if the reboot/poweroff is not interactive it may silently fail

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-22 09:15:46 +02:00
Ivailo Monev
6f288381c1 ksmserver: drop legacy session support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-20 09:14:40 +03:00
Ivailo Monev
5d2fc37272 ksmserver: prepare for klauncher changes
doubles as performance optimization by reusing the already created
interface (klauncherSignals member)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-08 05:49:36 +02:00
Ivailo Monev
fcbec5f0cc generic: adjust to solid power manager changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-01 23:54:21 +02:00
Ivailo Monev
d3da8b90b8 generic: remove redundant QT_CLEAN_NAMESPACE definitions
Katie's namespace is always clean, if there is a namespace issue perhaps
it is not cause of it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-15 02:07:21 +02:00
Ivailo Monev
7fc137c6f2 ksmserver: move process launching code to startup source file
note that connecting to signals after the process is started (which is also
auto-deleted) as was done in KSMServer::launchWM() could result in a race

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-15 01:28:27 +02:00
Ivailo Monev
465db03878 ksmserver: do not attempt to run programs from autostart directory
the spec does not mention that programs should be placed there, only
.desktop files (which klauncher already handles). for reference:
https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-04 09:07:50 +02:00
Ivailo Monev
881a427576 generic: rework startup to no create a shell script
by the time ksplash gets the X11 events for startup phases the startup
process is (and should be) done, especially after the display
configuration is done and the monitor is ready to output thus ksplash
does not really indicate much

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-03 11:29:28 +02:00
Ivailo Monev
ad4753db4a ksmserver: start kded service in autostart zero phase
org.kde.kded service is now not started by kdeinit4 (the program that owns
org.kde.klauncher) nor by KDateTime (indirectly by KSystemTimeZones) and
that was the assumption in KSMServer. note that there is no emission for
kded phase done from ksmserver which ksplash checks for

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-25 01:46:10 +03:00
Ivailo Monev
87ec7d5735 libs: reimplement KDisplayManager
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-27 22:28:07 +03:00
Ivailo Monev
af45159765 generic: replace forward declarations with headers inclusions
this was done with namefsck script from Katie, solves namespace issues

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-05 02:36:36 +00:00
Ivailo Monev
f1cfe7bdba generic: replace KProcess with QProcess where feasable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-30 16:22:26 +00:00
Ivailo Monev
840c8a25cc generic: make changes required for building against katie 2015-08-12 13:11:16 +03:00
Ivailo Monev
a7fd791926 initial import 2014-11-13 19:30:51 +02:00