LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   kaffeine quit on me (https://www.linuxquestions.org/questions/suse-opensuse-60/kaffeine-quit-on-me-504856/)

cueman 11-25-2006 06:37 PM

kaffeine quit on me
 
I've been watching some Sopranos episodes with kaffeine. They are .avi files. All was fine until limewire froze and locked up my laptop, so I had to hard power it down and restart. Now, kaffeine will not load. The icon bounces for 20-30 seconds then just stops. I tried to start it via the command line also, and it won't start that way either. It is not giving me any type of error messages. I can still view the .avi files with xine, mplayer, and noatun. But I always liked kaffeine better.

Any ideas?

Cueman

cueman 11-27-2006 12:52 AM

Uninstalled with yast, then reinstalled. Problem fixed.

Cueman

BDHamp 11-29-2006 11:08 AM

Quote:

Originally Posted by cueman
I can still view the .avi files with xine, mplayer, and noatun. But I always liked kaffeine better.

Any ideas?
Cueman

I see you fixed the problem with the radical solution.

If this happens again, I suspect it's because the kaffeine process is still running. After a recent update to it, I've noticed this tendency myself of kaffeine to get "stuck" and not shut down fully. You're never aware of this until you try to start it again.

If it happens again do:

Code:

ps -e|grep kaffeine*
If the process shows up, then:

Code:

killall kaffeine

or

kill -s 15 <process ID>

I've been having this problem with Firefox after upgrading to 2.0 as well. With it, I have to go nuclear and kill firefox-bin with signal 9. Not sure what's happening there.

cueman 11-29-2006 11:26 AM

Hey thanks for the tip. I also have had this happen with firefox 2.0 since I also recently installed it. A dialog pops up telling me that it is already running. What the heck, I should be able to run as many instances as I want. It also seems to take forever to load. I did manage to install suse 10.2 last night. Firefox 2.0 comes bundled and it seems to behave much better in 10.2.
Thanks again for the tip.

Cueman

cueman 11-29-2006 11:28 AM

Code:

ps -e|grep kaffeine*
By the way, what is this character in this line, after the ps -e ??? Some kind of key combination ? Sorry if it is obvious, I just woke up...

BDHamp 11-29-2006 12:07 PM

Quote:

Originally Posted by cueman
Code:

ps -e|grep kaffeine*
By the way, what is this character in this line, after the ps -e ??? Some kind of key combination ? Sorry if it is obvious, I just woke up...

It's called a pipe. On standard keyboards, it's the same key as the "\" key shifted, i.e. SHIFT-\.

I know you didn't ask, but ...

The pipe "|" allows you to run the output of one command through another command. The ps -e command would normally return all running processes, but you only want to know if a process named a certain thing is running, so you filter that output through "grep" by telling it to look for the string "kaffeine."

I always add "*" wildcards on either end when looking for a process with which I'm not familiar because the process could be named something other than just the program name, e.g. when firefox is running under SuSE when invoked from the desktop, processes named "firefox" and "firefox-bin" will be running. It's the "firefox-bin" process that has been getting frozen on my system.

cueman 11-29-2006 12:37 PM

Thanks, good information. I remember rebooting several times though, and kaffeine still would not load, so I don't think it was still running, unless it was 'restored' somehow on reboot. Thank again for the info

Cueman

riba43 11-29-2006 12:56 PM

It's called a pipe. On standard keyboards, it's the same key as the "\" key shifted, i.e. SHIFT-\.

Hi BDHamp, I also need a help with this "pipe" character.
I cant find a proper combination of keys. I use AltGr + Q to get "\". My keyboard is a slovenian one. Can you help?

BDHamp 11-29-2006 02:49 PM

Quote:

Originally Posted by riba43
Hi BDHamp, I also need a help with this "pipe" character.
I cant find a proper combination of keys. I use AltGr + Q to get "\". My keyboard is a slovenian one. Can you help?

This is a pure guess, since I am not at all familiar with anything other than the standard US keyboard layout.

But try:

AltGr+W to get the pipe. I googled for awhile and found someone with a Slovenian keyboard say that's what worked for him.

BDHamp 11-29-2006 08:02 PM

Quote:

Originally Posted by cueman
Thanks, good information. I remember rebooting several times though, and kaffeine still would not load, so I don't think it was still running, unless it was 'restored' somehow on reboot. Thank again for the info

Just some rambling thoughts...

By default KDE saves a snapshot of itself and processes running under it and reloads it after reboot. I don't know that this is what happened in your case because I almost never reboot my system. (One of the main things I like about Linux is that the vast majority of problems can be fixed without a reboot.) And, I didn't reboot on this, so I don't know if the same thing would have happened there. That *shouldn't* happen because the shutdown should kill the process, with prejudice if necessary, in such a way that it shouldn't reload, but I haven't looked into it deeply enough to know truly what is going on.

Although now that I think of it, I do remember having pan freeze on me once while trying to save a binary and encountering a physical error on the disc. I did have to reboot to kill the process, and it didn't reload. Of course pan is not native to KDE, so that may have had something to do with it.

riba43 11-29-2006 11:19 PM

Thanks BDHamp, thats it. AltG+W. I have been wondering how this "pipe"sign was made and I did not ask, because I think I would look silly. Two years I am learning SuSE Linux ++++ Thanks again.

BDHamp 11-29-2006 11:37 PM

Quote:

Originally Posted by riba43
Thanks BDHamp, thats it. AltG+W. I have been wondering how this "pipe"sign was made and I did not ask, because I think I would look silly. Two years I am learning SuSE Linux ++++ Thanks again.

It's a trite phrase, but a true one. There are no silly questions.

Hell, one of the first questions I asked someone when I started using Linux was how to get a directory listing. The "dir" command wasn't working. What the hell!?!?!? I got quite irritated about it.

And them someone answered, and I felt like a fool momentarily for not having been able to discover this for myself, but the exchange taught me quite a lot, beyond just what the "ls" command does.

It's another thing I like about Linux. We're a community. We help each other. That's the *point*.

Glad my guess was correct.

Happy computing. :-)

riba43 11-30-2006 12:03 AM

Yes that is true. Thanks again


All times are GMT -5. The time now is 07:38 PM.