autostart confusion

Ingo Klöcker kloecker at kde.org
Fri Nov 7 20:24:08 GMT 2014


On Thursday 06 November 2014 22:01:13 Jeremy Whiting wrote:
> Hey all,
> 
> In kdelibs4 times one used to be able to put any script into
> ~/.kde/Autostart/ make it executable and when startkde ran it would
> launch those scripts. In kf5/plasma next time ~/.config/autostart
> should be able to do likewise, but doesn't seem to. On one hand the
> autostart kcm shows scripts there under a Scripts header and lets you
> choose whether they should be ran at startup, or shutdown, or Pre-KDE
> startup, yet they are never launched.
> 
> I took a look at the kinit klauncher autostart code and it only ever
> looked for .desktop files under these autostart paths, even in my
> clone of kdelibs it never looked for anything without a .desktop
> extension. How did launching of non .desktop file stuff ever work?

Hmm. I've always put shell scripts that should be run on each start in 
~/.kde/env. (IIRC all *.sh files in this folder are source'd by KDE 
start script.)

What's the kf5-equivalent for this folder?


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20141107/f6847eaf/attachment.sig>


More information about the kde-core-devel mailing list