What to do with autostart scripts? (kinit / ksmserver problem)

David Faure faure at kde.org
Tue Aug 19 19:48:04 UTC 2014


On Wednesday 09 July 2014 14:24:37 Luca Beltrame wrote:
> Hello,
> 
> commit f913e251fe66e22606c380a8cc0ddc8c69e3c07d in plasma-workspace removed
> autostart support in ksmserver because it caused .desktop files to be
> autostarted twice (one for kinit, and one for ksmserver).
> 
> I just noticed that it causes a regression in behavior from 4.x times, as
> user scripts (like adding ssh-agents etc.) are no longer run (because kinit
> only runs .desktop files).
> 
> So, this needs to be either communicated to the users or handled differently
> (yes, I don't want to wade through possible complaints in the forums ;)
> 
> My high (uniformed) level opinion on the possible scenarios:
> 
> - Re-enable autostart for everything but desktop files in ksmserver;
> - Add support for scripts in kinit (does it even make sense?);
> - Drop autostart scripts, tell users to make .desktop files
> 
> What do the gurus say on this?

I'd pick option 1 - do it all in ksmserver.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list