[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-linux
Subject:    Re: [kde-linux] How can I make my script run when every KDE session
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2005-01-10 19:31:19
Message-ID: 200501102031.20353.kevin.krammer () gmx ! at
[Download RAW message or body]

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.
All scripts there are sourced by the startkde script even before KDE itself 
starts, so putting KDE programs there won't be a good idea.

Maybe you could give us an example which program you'd like to start or what 
it is intended to do?

Cheers,
Kevin
-- 
Kevin Krammer <kevin.krammer@gmx.at>
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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic