[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
From:       Rocky Zhang <rocky () userful ! com>
Date:       2005-01-10 19:49:28
Message-ID: 1105386568.16429.134.camel () norma ! userful ! ca
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

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