View previous topic :: View next topic |
Author |
Message |
ptheborg n00b
Joined: 27 Jun 2002 Posts: 67 Location: Rotterdam, The Netherlands
|
Posted: Thu Nov 28, 2002 2:30 pm Post subject: gkrellm2 autostarted 2 times in kde3.1rc3 |
|
|
Hi everyone,
Is it just me or is there something going on with GTK2 applications in KDE3.1? When shutting down or closing a kde session to log on with another user, KDE automagically saves that gkrellm2 was running (I think).
When logging in again, KDE does start gkrellm2, but 2 times!
With gkrellm everything was ok.
Thanks for any suggestions. _________________ Cheers
.NET is like a pet store written with gotos |
|
Back to top |
|
|
oisch Tux's lil' helper
Joined: 17 Jul 2002 Posts: 130
|
Posted: Thu Nov 28, 2002 5:58 pm Post subject: |
|
|
I have the same problem as you.
But I also noticed that gkrellm has two processes running. maybe kde therefore thinks it's started twice and so starts two instances on the next startup.
Haven't found a solution |
|
Back to top |
|
|
ptheborg n00b
Joined: 27 Jun 2002 Posts: 67 Location: Rotterdam, The Netherlands
|
Posted: Thu Nov 28, 2002 10:49 pm Post subject: |
|
|
yeah, you're right.
Darn, but there has to be a solution.....
Is it possible to tell KDE to close gkrellm2 before closing the current session of rebooting the system. Then you can add gkrellm2 to the Autostart dir...... _________________ Cheers
.NET is like a pet store written with gotos |
|
Back to top |
|
|
puddpunk l33t
Joined: 20 Jul 2002 Posts: 681 Location: New Zealand
|
Posted: Fri Nov 29, 2002 1:04 am Post subject: |
|
|
try to take GKRellm2 out of your autostart directory, so when you logout with gkrellm started, it will start with it next time. |
|
Back to top |
|
|
b_Q Apprentice
Joined: 18 Jun 2002 Posts: 163
|
Posted: Fri Nov 29, 2002 6:21 am Post subject: |
|
|
I save session.
That is how gkrellm2 got started before I
started using following script.
It's not a solution,
it's just my killall_gkrellm2.sh workaround:
Code: |
#!/bin/sh
# make sure it is run after session restoration
# your mileage will vary +/- sleep seconds
sleep 7
while [ 1 ]; do
pidof gkrellm2
if [ $? -eq 1 ]; then
gkrellm2 &
break
else
# I had up to 6 instances...
killall gkrellm2
fi
done
|
chmod ugo+x killall_gkrellm2.sh
cp killall_gkrellm2.sh /home/$USER/.kde3/Autostart _________________ Preudhomme's Law of Window Cleaning:
It's on the other side. |
|
Back to top |
|
|
|