Re: Autostart desktop entries
On Friday 05 August 2005 19:52, Nathan Toone wrote:[color=blue]
> OK - I've tried to figure this out on my own, and I think that I have don=[/color]
e so. =
> However, it raises a question.
> I wanted to make use of the "X-KDE-autostart-condition" entry in a .deskt=[/color]
> file. However, I found that if the .desktop file is placed in =[/color]
> $KDEHOME/Autostart, this entry is basically ignored. When the file is pl=[/color]
> in $KDEHOME/share/autostart, it is not ignored.
> I finally figured out the difference was that $KDEHOME/share/autostart wa=[/color]
> used by kinit, while $KDEHOME/Autostart was used by kdesktop. =[/color]
> Is there a reason why the entries started by kdesktop don't honor the =[/color]
> X-KDE-autostart-condition setting when it is starting up entries in =[/color]
> $KDEHOME/Autostart? It caused a lot of confusion for me because I had ju=[/color]
> thought that $KDEHOME/Autostart was where all "autostarted" entries went =[/color]
> didn't know previously about two different mechanisms of autostarting...)[/color]
Well, one is the system autostart, for desktop files installed by KDE or di=
stributions or ISVs
whereas the other one is for the user - so it needs to be simple. Users jus=
desktop files, or shell scripts, into their Autostart folder and they get s=
no complex X-KDE-autostart-* settings there.
> I think that anything autostarted - whether by kinit or kdesktop should h=[/color]
> the X-KDE-autostart-* settings. =[/color]
It's almost impossible, since then there could be inter-dependencies betwee=
two mechanisms when using X-KDE-autostart-after... [then there should be on=
ly one, =
but I don't think so, they have different purposes].
David Faure, [email]firstname.lastname@example.org[/email], sponsored by Trolltech to work on KDE,
Konqueror ([url]http://www.konqueror.org[/url]), and KOffice ([url]http://www.koffice.org[/url]).
>> Visit [url]http://mail.kde.org/mailman/listinfo/kde-devel#unsub[/url] to unsubscrib=[/color][/color]