b8ea xscreensaver and fullscreen programs - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Window Managers > Other Window Managers

Other Window Managers XFCE, Fluxbox, Enlightenment, IceWM, WindowMaker, ION, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old September 24th, 2011, 17:28
pranayama pranayama is offline
Junior Member
 
Join Date: Sep 2011
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default xscreensaver and fullscreen programs

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
File Type: c patch-driver_xscreensaver.c (2.7 KB, 12 views)
File Type: txt patch-driver_xscreensaver.man.txt (745 Bytes, 7 views)

Last edited by DutchDaemon; September 25th, 2011 at 03:08.
Reply With Quote
  #2  
Old September 24th, 2011, 19:09
pranayama pranayama is offline
Junior Member
 
Join Date: Sep 2011
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Trying to apply the patch on my Linux laptop found that locking become inconsistent. Updating the patch a bit.
Attached Files
File Type: c patch-driver_xscreensaver.c (3.2 KB, 6 views)
Reply With Quote
  #3  
Old October 11th, 2011, 20:08
pranayama pranayama is offline
Junior Member
 
Join Date: Sep 2011
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Updating the patch for xscreensaver-5.15. Also adding checks to work properly on KDE4, GNOME2, and XFCE4.
Attached Files
File Type: c patch-driver_xscreensaver.c (3.6 KB, 13 views)
File Type: txt patch-driver_xscreensaver.man.txt (894 Bytes, 12 views)
Reply With Quote
  #4  
Old February 21st, 2012, 22:42
pranayama pranayama is offline
Junior Member
 
Join Date: Sep 2011
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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
File Type: c patch-driver_xscreensaver.c (3.6 KB, 9 views)

Last edited by DutchDaemon; February 22nd, 2012 at 01:19.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disturbing security bug in XScreenSaver or careless system administration? jrm Installation and Maintenance of FreeBSD Ports or Packages 2 July 10th, 2011 21:28
Upgrading xscreensaver lyuts Installation and Maintenance of FreeBSD Ports or Packages 11 October 23rd, 2010 08:12
xscreensaver fails to install rloc Installation and Maintenance of FreeBSD Ports or Packages 2 October 21st, 2010 23:18
I can't fullscreen with mplayer. fender0107401 Multimedia 4 May 4th, 2009 17:49
mplayer cannot go fullscreen azzura- Multimedia 10 December 25th, 2008 15:59


All times are GMT +1. The time now is 03:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0