From kde-linux Mon Jan 10 19:49:28 2005 From: Rocky Zhang Date: Mon, 10 Jan 2005 19:49:28 +0000 To: kde-linux Subject: Re: [kde-linux] How can I make my script run when every KDE Message-Id: <1105386568.16429.134.camel () norma ! userful ! ca> X-MARC-Message: https://marc.info/?l=kde-linux&m=110538660418310 On Mon, 2005-01-10 at 12:31, Kevin Krammer wrote: > On Monday 10 January 2005 20:15, Rocky Zhang wrote: > > > Thanks, Kevin. Adding Desktop file to $KDEDIR/share/autostart seems a > > good idea. I added 1 .desktop file there, it seems works. The question > > is that how can I make sure it is first executed (like preload) before > > user launch system services. I have no idea the option > > "X-KDE-autostart-condition" and "X-KDE-autostart-phase" mean. > > I am afraid neither do I. > I'll try to find something in CVS, but I can't make a promise. > > If you are on KDE >= 3.3 you can have things start really early on in KDE's > startup by putting shellscripts into $KDEPREFIX/env/ (or user specific > $KDEHOME/env/) directory. I'm using Fedora Core 3 with KDE (I think it's KDE 3.3), but I can't find $KDEPREFIX. There is no such shell variable when I log in. An alternative solution maybe that modify /etc/X11/xdm/Xsession to add my shell script. But I don't like it because if X11 updated, my script will be lost. Thanks. Rocky ___________________________________________________ This message is from the kde-linux mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde-linux. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.