1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

xscreensaver and fullscreen programs

Discussion in 'Other Window Managers' started by pranayama, Sep 24, 2011.

  1. pranayama

    pranayama New Member

    Messages:
    10
    Thanks Received:
    0
    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 .txt 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).
     

    Attached Files:

  2. pranayama

    pranayama New Member

    Messages:
    10
    Thanks Received:
    0
    Trying to apply the patch on my Linux laptop found that locking become inconsistent. Updating the patch a bit.
     

    Attached Files:

  3. pranayama

    pranayama New Member

    Messages:
    10
    Thanks Received:
    0
    Updating the patch for xscreensaver-5.15. Also adding checks to work properly on KDE4, GNOME2, and XFCE4.
     

    Attached Files:

  4. pranayama

    pranayama New Member

    Messages:
    10
    Thanks Received:
    0
    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.
     

    Attached Files: