From kde-linux Mon Jan 10 19:55:57 2005 From: Kevin Krammer Date: Mon, 10 Jan 2005 19:55:57 +0000 To: kde-linux Subject: Re: [kde-linux] How can I make my script run when every KDE session Message-Id: <200501102055.57226.kevin.krammer () gmx ! at> X-MARC-Message: https://marc.info/?l=kde-linux&m=110538702604794 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 -- Kevin Krammer Qt/KDE Developer, Debian User www.mrunix.de - German Unix/Linux programming forum www.qtforum.org - Qt programming forum ___________________________________________________ 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.