Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gkrellm2 autostarted 2 times in kde3.1rc3
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ptheborg
n00b
n00b


Joined: 27 Jun 2002
Posts: 67
Location: Rotterdam, The Netherlands

PostPosted: Thu Nov 28, 2002 2:30 pm    Post subject: gkrellm2 autostarted 2 times in kde3.1rc3 Reply with quote

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
View user's profile Send private message
oisch
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2002
Posts: 130

PostPosted: Thu Nov 28, 2002 5:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
ptheborg
n00b
n00b


Joined: 27 Jun 2002
Posts: 67
Location: Rotterdam, The Netherlands

PostPosted: Thu Nov 28, 2002 10:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
puddpunk
l33t
l33t


Joined: 20 Jul 2002
Posts: 681
Location: New Zealand

PostPosted: Fri Nov 29, 2002 1:04 am    Post subject: Reply with quote

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
View user's profile Send private message
b_Q
Apprentice
Apprentice


Joined: 18 Jun 2002
Posts: 163

PostPosted: Fri Nov 29, 2002 6:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum