Automating Program Start / Stop

David Hopkins hopkins81 at gmail.com
Mon May 15 14:09:23 UTC 2006


I think this is a flaw in KDE that you can't start programs upon login
as easily as you can in windows (just drag the program to Start->All
Programs->startup)

On 13/05/06, Dana J. Laude <kc9aae at bresnan.net> wrote:
> On Friday 12 May 2006 11:52, Tez wrote:
>
> <snip>
> > You could put a simple script in ~/.kde/Autostart
> > like:
> >
> > #Sample Script
> > /path/to/app & pid=$!
> > sleep 14400
> > kill $pid
> > $0
> >
> > That would start & stop a app for you.
> > (if my math is right 14400 seconds is 4 hours)
>
> You're close. ;)  I did it this way:
>
> #!/bin/bash
> cd /home/username/wdisplay
> ./GoWeather.sh & pid=$
> sleep 14400
> kill $pid
> $0
>
> We'll see if it restarts in 4 hours,.
>
> Thanks to everyone for their suggestions!
>
> Dana
>
>
> --
> kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>




More information about the kubuntu-users mailing list