launch autostart apps in ksmserver using KRun, not QProcess

Authored by lunakl on Apr 13 2017, 10:02 AM.

Description

launch autostart apps in ksmserver using KRun, not QProcess

The "move" (copy in fact) of the autostart code from klauncher simply
switched to QProcess. This resulted in a number of problems, as the incorrect
handling of .desktop file command if it had placeholders (worked around
already), kdeinit is no longer used (not sure how much that matters nowadays)
and finally QProcess simply eats all stdout/stderr of all such processes
(which, when daemonized, can lead even to the processes getting SIGPIPE'd).
If the application to start is a KService, simply launch it as such.
BUG: 369391
BUG: 370528

Details

Committed
lunaklApr 13 2017, 10:02 AM
Parents
R120:ea9489f32a6c: [lnf] Honor the new noModifierGrab in TabBox
Branches
Unknown
Tags
Unknown