[MPlayer-users] running mplayer as background process ? ENGLISH

D Richard Felker III dalias at aerifal.cx
Fri Feb 7 04:34:25 CET 2003


On Thu, Feb 06, 2003 at 02:29:47PM -0800, Jason Bishop wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> 
> this may not be exactly what your looking for, but it works for me.
> 
> % history
>   537  Xvfb -screen 0 1024x768x16 :1 &
>   538  export DISPLAY=:1
>   539  xterm -e ~/pkg/bin/gmplayer -ao alsa9 /tmp/Chauffe2.mp3 &
> 
> xterm should exit when you quit mplayer, so the only thing left laying
> around is Xvfb and you can reuse that (and if you give it small resolution
> it shouldn't take up much space).

This is immensely wasteful! You should really "man screen" or just
redirect mplayer's stdin from /dev/null.

Rich



More information about the MPlayer-users mailing list