Re: autostart confusion

2014-11-07 Thread Thiago Macieira
On Friday 07 November 2014 21:44:30 Thomas Lübking wrote: > $XDG_CONFIG_DIRS/autostart/*.desktop is supposed to be started AFTER the > session is initialized, what is different from > ~/.config/plasma-workspace/env/ (etc.) which is supposed to be run BEFORE > the session starts, ie. you'd export se

Re: autostart confusion

2014-11-07 Thread Jeremy Whiting
Thomas, Yep, I see what $XDG_CONFIG_DIRS/autostart/*.desktop is for, my only question is that if there are non .desktop files in there too, we are showing them in the autostart kcm, yet we aren't autostarting them :) I really need to get the kcm patch ready for review, not showing those scripts an

Re: autostart confusion

2014-11-07 Thread Thomas Lübking
On Freitag, 7. November 2014 21:28:15 CEST, Jeremy Whiting wrote: The way I see it this should be documented well, and the kcm needs to be adjusted to not show scripts from ~/.config/autostart since kinit wont be starting those. http://standards.freedesktop.org/autostart-spec/autostart-spec-la

Re: autostart confusion

2014-11-07 Thread Jeremy Whiting
Ok, from a bit more testing yesterday evening it seems all scripts put into ~/.config/plasma-workspace/env/ work fine for startup, and in ~/.config/plasma-workspace/shutdown/ for shutdown. These are correctly shown in the kcm and are sourced at startup and shutdown. With that solution there's proba

Re: autostart confusion

2014-11-07 Thread Ingo Klöcker
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 l

Re: autostart confusion

2014-11-06 Thread Jeremy Whiting
Answering myself in case anyone is interested in the cause and possible solutions. I discussed this with Luca this evening and problem cause and possible solutions are on the plasma-devel list. On Thu, Nov 6, 2014 at 10:01 PM, Jeremy Whiting wrote: > Hey all, > > In kdelibs4 times one used to be

autostart confusion

2014-11-06 Thread Jeremy Whiting
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 script