pycousin / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 0 forks source link

GUI option to disable xscreensaver #327

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi Kevin,

Since mplayer already supports disabling the xscreensaver and constantly
have watching a movie interrupted by the screensaver as a great annoyance
why not provide this as a configurable option under settings?

Of course you can add "-stop-xscreensaver" to Extra Options to MPlayer but
a common user would not have the knowledge to do that.

Regards,
Michael

Original issue reported on code.google.com by data...@gmail.com on 26 Nov 2009 at 7:55

GoogleCodeExporter commented 8 years ago
I see it is characterized as a defect but I have not been able to change this to
improvement.

Original comment by data...@gmail.com on 26 Nov 2009 at 7:57

GoogleCodeExporter commented 8 years ago
gnome-mplayer disables gnome-power-manager or gnome-screensaver depending on 
which
version you have installed. If you need extra options please add them to the 
command
line, I believe mplayer by default should disable xscreensaver.

Original comment by kdeko...@gmail.com on 26 Nov 2009 at 9:27

GoogleCodeExporter commented 8 years ago
I have added a compile time option to gnome-mplayer --with-gpm=no set this and 
it
will use the XScreenSaver extension to inhibit the screensaver.

Original comment by kdeko...@gmail.com on 2 Dec 2009 at 9:35

GoogleCodeExporter commented 8 years ago

Original comment by kdeko...@gmail.com on 2 Dec 2009 at 9:36

GoogleCodeExporter commented 8 years ago
Now I know why it did not disable screensaver automatically. The reason is I am 
using
XFCE4 as a desktop manager which does not use either gnome-power-manager or
gnome-screensaver. Could this not be tested at runtime to avoid using compile 
time
options? Prepackaged distroes most likely will not have this disabled per 
default.

Original comment by data...@gmail.com on 3 Dec 2009 at 1:29

GoogleCodeExporter commented 8 years ago
I'm working on making it runtime effective, but I need to do some more work

Original comment by kdeko...@gmail.com on 3 Dec 2009 at 3:08

GoogleCodeExporter commented 8 years ago
Let me know if you need some testing.

Original comment by data...@gmail.com on 3 Dec 2009 at 9:03

GoogleCodeExporter commented 8 years ago
Ok, SVN has been updated (Option is under Edit->Preferences Interface

Original comment by kdeko...@gmail.com on 4 Dec 2009 at 3:32

GoogleCodeExporter commented 8 years ago
Hi Kevin. Just tried SVN. The new option does not prevent screensaver from 
starting.
Testing with -stop-xscreensaver as extra option to MPlayer have no effect 
either. Any
suggestions?

$ dpkg -s xscreensaver
Package: xscreensaver
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 2180
Maintainer: Jose Luis Rivas <ghostbar@debian.org>
Architecture: amd64
Version: 5.10-3
Depends: libatk1.0-0 (>= 1.20.0), libc6 (>= 2.3), libcairo2 (>= 1.2.4),
libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.2.1), libglade2-0 (>= 1:2.6.1),
libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.8.0), libice6 (>= 1:1.0.0), 
libpam0g (>=
0.99.7.1), libpango1.0-0 (>= 1.14.0), libsm6, libx11-6, libxext6, libxinerama1,
libxml2 (>= 2.7.4), libxmu6, libxpm4, libxrandr2 (>= 2:1.2.0), libxrender1, 
libxt6,
libxxf86misc1, libxxf86vm1, xscreensaver-data

Original comment by data...@gmail.com on 5 Dec 2009 at 7:19

GoogleCodeExporter commented 8 years ago
Well if mplayer doesn't stop it, it sounds like a potential bug in your 
screensaver
application. I don't have xscreensaver installed on my machine, so I can't 
really
test it.

Original comment by kdeko...@gmail.com on 5 Dec 2009 at 8:17

GoogleCodeExporter commented 8 years ago
I have solved the issue, well sort of:-)

I believe your assumption is correct that xscreensaver is having a bug. I was 
able to
make it work using this option: -heartbeat-cmd "xscreensaver-command 
-deactivate".
According to the mplayer documentation this is only to be used if the API for 
the
screensaver application is not supporting the proper X API.

Conclusion: Drop xscreensaver and change to gnome-screensaver instead, this 
just works:-)

Sorry for having you make futile work:-\

Original comment by data...@gmail.com on 5 Dec 2009 at 10:27