Mailinglist Archive: opensuse-kde (156 mails)
| < Previous | Next > |
Re: [opensuse-kde] KOrganiser Reminder Daemon
- From: "K. Elo" <maillists@xxxxxx>
- Date: Tue, 11 Mar 2008 21:01:48 +0200
- Message-id: <200803112101.49232.maillists@xxxxxx>
Hi,
Oddball wrote (11.3.2008):
A simple workaround: create a script in ~/.kde/Autostart, which kills
the korgac after KDE is up and running.
--- cut here ---
#!/bin/bash
#
# Kill korgac daemon
#
#
# Wait 2 mins. to be sure that all processes are up und running
sleep 2m
i=0
while true
do
ps -e | grep korgac &> /dev/null
if [[ $? == 0 ]]
then
kill $(ps -e | awk '/korgac/ { print $1 }') 2> /dev/null
break
fi
i=i+1
if [[ i == 100 ]]
then
# We don't want to create an infite loop
# -> quit after 500 seconds
# (Only if korgac is not started [and killed])
break
fi
sleep 5
done
--- cut here ---
Kind regards,
Kimmo
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-kde+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kde+help@xxxxxxxxxxxx
Oddball wrote (11.3.2008):
This about one of the oldest bugs around.
One of the reasons i am glad to be of KDE3.
Every starup the damn thing wrestles its way into the systray,
and every time i have to shut it down manualy... ;)
I am curious, if there will be reactions on it.
A simple workaround: create a script in ~/.kde/Autostart, which kills
the korgac after KDE is up and running.
--- cut here ---
#!/bin/bash
#
# Kill korgac daemon
#
#
# Wait 2 mins. to be sure that all processes are up und running
sleep 2m
i=0
while true
do
ps -e | grep korgac &> /dev/null
if [[ $? == 0 ]]
then
kill $(ps -e | awk '/korgac/ { print $1 }') 2> /dev/null
break
fi
i=i+1
if [[ i == 100 ]]
then
# We don't want to create an infite loop
# -> quit after 500 seconds
# (Only if korgac is not started [and killed])
break
fi
sleep 5
done
--- cut here ---
Kind regards,
Kimmo
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-kde+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kde+help@xxxxxxxxxxxx
| < Previous | Next > |