You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, December 29th 2005, 5:14am

[Kmplayer] in single instance mode

It'll be really a nice feature to have an option in the preferences (and in the command line) of choosing if kmplayer should run in a single instance mode or in a multiple instance mode.
Until the implementation of this option you can use the simple script I've wrote to check if kmplayer is running, and if so through dcop send a file/url/etc. to the running instance.
You can use it instead of kmplayer command. :)
The file name I use is: kmplayer-wrapper
You can name it as you wish, put it in a dir from the PATH variable (for example /usr/bin) and make it executable...
PhobosK has attached the following file:
  • kmplayer-wrappe. (280 Byte - 136 times downloaded - latest: Apr 24th 2011, 11:05pm)