Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 68256

Summary: Patch to use mplayer via xscreensaver
Product: Gentoo Linux Reporter: Vitaly <va>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED WONTFIX    
Severity: enhancement Keywords: EBUILD
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to mplayer-1.0_pre5 to allow use mplayer as xscreensaver hack
patch to mplayer-1.0_pre5-r4.ebuild, add option 'xscreensaver' to enable mplayer-1.0_pre5-xscreensaver.patch patch

Description Vitaly 2004-10-20 02:53:10 UTC
This patch allow to use mplayer as xscreensaver hack. You will have possibility to use your favourite movie as screen saver.

XScreenSaver allow to use any program that can play on the *virtual* root window as its hack. MPlayer know nothing about *virtual* root, it can render to the *real* root only. This patch allow to play on the *virtual* root if it's detected, and on the *real* root if not.

For example, add this hack to your ~/.xscreensaver
mplayer -really-quiet -fs -rootwin -nosound -hardframedrop /usr/local/video/terminator_3.avi
and enjoy :-)

Reproducible: Always
Steps to Reproduce:
Comment 1 Vitaly 2004-10-20 02:55:03 UTC
Created attachment 42238 [details, diff]
patch to mplayer-1.0_pre5 to allow use mplayer as xscreensaver hack
Comment 2 Vitaly 2004-10-20 02:58:06 UTC
Created attachment 42239 [details, diff]
patch to mplayer-1.0_pre5-r4.ebuild, add option 'xscreensaver' to enable mplayer-1.0_pre5-xscreensaver.patch patch
Comment 3 Joe McCann (RETIRED) gentoo-dev 2004-10-20 04:59:39 UTC
heh, might be something to do if you are bored. I doubt this will get accepted as it is pretty hackish.
Comment 4 Chris White (RETIRED) gentoo-dev 2004-11-10 19:46:58 UTC
I'm gonna go with joe on this one...

It's hack-ish X11 coding, which I reallllyyyy don't want to mix with MPlayer with
that, expecially if things get attempted to be stable marked later.