Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68256 - Patch to use mplayer via xscreensaver
Summary: Patch to use mplayer via xscreensaver
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-10-20 02:53 UTC by Vitaly
Modified: 2004-11-10 19:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to mplayer-1.0_pre5 to allow use mplayer as xscreensaver hack (mplayer-1.0_pre5-xscreensaver.patch,6.75 KB, patch)
2004-10-20 02:55 UTC, Vitaly
Details | Diff
patch to mplayer-1.0_pre5-r4.ebuild, add option 'xscreensaver' to enable mplayer-1.0_pre5-xscreensaver.patch patch (mplayer-1.0_pre5-r4.ebuild.patch,1.43 KB, patch)
2004-10-20 02:58 UTC, Vitaly
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.