LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-31-2005, 03:11 PM   #1
vinbob
Member
 
Registered: May 2005
Location: Fareham, UK
Distribution: HP-UX 11i, Fedora, Ubuntu, Debian, RHEL, OEL, CentOS
Posts: 75

Rep: Reputation: 17
How can I prevent multiple instances of Mplayer / Kmplayer?


Hi All.

Firstly, I apologise for posting this again but I've had no response in the 'Software' section.


I'm running SuSE 9.3 and my preferred video player is Kmplayer.

Q. How can I stop a new instance of the player opening when launching a file from Konqueror, when the player is already open?

Also as an addition query, can anyone tell me how I can edit context menus?

Any help much appreciated..

Vin.
 
Old 05-31-2005, 04:27 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Instead of posting a new thread, you need to bump your old thread if it hasn't recieved a response in 24 hours. I am not sure how you can prevent multiple instances of mplayer or kplayer, but kaffeine and totem have this feature. Unforunately you will need xine libs installed to use them because they don't use mplayer as a backend.
 
Old 06-01-2005, 08:12 AM   #3
vinbob
Member
 
Registered: May 2005
Location: Fareham, UK
Distribution: HP-UX 11i, Fedora, Ubuntu, Debian, RHEL, OEL, CentOS
Posts: 75

Original Poster
Rep: Reputation: 17
Ah well..

Thanks for your reply reddazz.
I gave up in the end and I'm now using Kaffeine for video.
The thing I had against Kafeeine was that it didn't seem as stable as Mplayer, kept crashing on me. But I've updated Kaffeine now and it seems OK.

Cheers
 
Old 06-01-2005, 08:43 AM   #4
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
You could create a shell script that checks all processes on the machine, and then either starts mplayer if it isn't running already, or returns an error if it IS. Then run the script instead of directly running mplayer.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Preventing multiple instances of MPlayer (GUI) MrPotato Linux - Software 1 08-22-2005 04:02 PM
Mplayer / Kmplayer, how to disable multpile instances vinbob Linux - Software 1 05-31-2005 04:55 AM
SAMBA: Multiple Instances? Matir Linux - Software 0 02-18-2005 10:43 AM
Multiple Instances of MPlayer? Levitate Linux - Software 2 01-13-2005 12:04 PM
Mplayer and Multiple instances Spaz007 Linux - Software 0 09-16-2004 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration