xscreensaver and fullscreen programs

XFCE, Fluxbox, Enlightenment, IceWM, WindowMaker, ION, etc.

xscreensaver and fullscreen programs

Postby pranayama » 24 Sep 2011, 16:28

Hello, daemons!

I finally manage to install FreeBSD on my desktop, with all nasty desktop things I need (flash, skype). All good, with one exception (it exists in everything X based I think) - not all fullscreen programs manage to inhibit the screensaver, and sometimes very annoyingly xscreensaver (what I use for screensaver) blanks the screen in the middle of some movie. I got enough anger and here's little patch in result of this. What the patch does is: when time to blank the screen comes it checks if there's any window with dimensions of the screen and if there is such window - disable blanking for one minute.

For the man patch remove the [FILE].txt[/FILE] extension(the forum attach functionality doesn't seem to like it otherwise :) ).

Cheers p.

P.S. It'll sound bit strange from me, but, for those of you interested in such a screensaver functionality: since this is my first post in the forum I'll suggest not to just apply the patch, but take a look at it yourself, or wait some more known to the community to say its safe (not malicious).
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

[The extension c has been deactivated and can no longer be displayed.]

pranayama
Junior Member
 
Posts: 10
Joined: 24 Sep 2011, 15:50

Postby pranayama » 24 Sep 2011, 18:09

Trying to apply the patch on my Linux laptop found that locking become inconsistent. Updating the patch a bit.
Attachments

[The extension c has been deactivated and can no longer be displayed.]

pranayama
Junior Member
 
Posts: 10
Joined: 24 Sep 2011, 15:50

Postby pranayama » 11 Oct 2011, 19:08

Updating the patch for xscreensaver-5.15. Also adding checks to work properly on KDE4, GNOME2, and XFCE4.
Attachments

[The extension c has been deactivated and can no longer be displayed.]

[The extension txt has been deactivated and can no longer be displayed.]

pranayama
Junior Member
 
Posts: 10
Joined: 24 Sep 2011, 15:50

Postby pranayama » 21 Feb 2012, 21:42

Seems the patch here is not with the latest one I have (fix the forgotten '==' bug which makes the last patch not workable - the screensaver behaviour is not changed). Attaching the latest patch version.
Attachments

[The extension c has been deactivated and can no longer be displayed.]

pranayama
Junior Member
 
Posts: 10
Joined: 24 Sep 2011, 15:50


Return to Other Window Managers

Who is online

Users browsing this forum: No registered users and 0 guests