[MPlayer-users] Using mplayer as an xscreensaver display program.

Jason A. Smith jazbo at optonline.net
Tue Oct 22 18:46:02 CEST 2002


I have one minor suggestion.  I was able to get mplayer to run
as an xscreensaver display program by simply adding the vroot.h
header file from the xscreensaver/utils directory to the mplayer
sources, then adding:

#include "vroot.h"

to config.h and recompiling mplayer.  Then I just added a line
like this to my .xscreensaver file in the programs section:

 "Title"  mplayer -rootwin -fs -loop 0 movie.avi &>/dev/null \n\

Would the mplayer developers consider adding this to future
versions?  It could at least be added as a configure option
or maybe just be added directly into the sources since it
shouldn't have any other effect on mplayer except allowing it
to draw on a virtual root window with the -rootwin option if
one exists.

~Jason




More information about the MPlayer-users mailing list