On Mon, 2005-01-10 at 12:55, Kevin Krammer wrote: > On Monday 10 January 2005 20:49, Rocky Zhang wrote: > > 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. > > Sorry that was just a shortcut to write about the installation prefix you or > your packager used. > You can easily determine it by running kde-config > #> kde-config --prefix > > Maybe it is /usr/env > > Cheers, > Kevin Thanks Kevin. Yes it is /usr/env. But there is no such /usr/env there, so create it and copy my script to this directory. It seems work fine as I expected. Thanks a lot, you guys. Have a good day! 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.