Smarter Screen saver

Daniel Stone daniel at fooishbar.org
Tue Sep 20 09:53:56 CDT 2005


On Tue, 2005-09-20 at 13:39 +0100, Stephen Shirley wrote:
> Andy Fitzsimon wrote:
> > Right there with you mate.
> > 
> > totem + gnome-screensaver should talk
> > 
> > how easy is it to sniff totems current behaviour ?  if it is then
> > gnome-screensaver has no excuse.
> 
> The proper way to do this is to have apps such as totem notify
> gnome-screensaver that it should not engage when a movie is playing.
> That's fairly simple to do (and i'd be surprised if it hasn't been done).

Actually, it's not really easy to do at all, especially if you want to
do it properly, and not just a gnome-screen-saver-specific hack.
There's a reason why mplayer has a non-trivial amount of code dedicated
to faking key events to itself when a movie is playing.




More information about the ubuntu-devel mailing list