Re: Only one instance of mPlayer/VLC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dotan Cohen wrote:
> The stepmother is now enjoying her first few hours on Fedora. One
> thing that she cannot program herself to do is to close any open
> instance of mplayer or vlc before clicking on another file. I'm no
> good at bash, and I need this working for her _today_, so I'm kindly
> asking the Fedora community if anyone has a wrapper script for
> mplayer/vlc that checks if there is a running instance, and if so
> closes it before opening a new instance. Basically, she needs the
> appearance that the new file is 'replacing' the old file in the open
> program. Sorry for the bother, and thanks in advance.

pkill mplayer; mplayer <file>

-- 
Mark Knoop


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux