Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#22455 - [gnome-screensaver] - screensaver starts when mplayer playback is active
Attached to Project:
Arch Linux
Opened by John (graysky) - Sunday, 16 January 2011, 09:30 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 08 March 2011, 22:58 GMT
Opened by John (graysky) - Sunday, 16 January 2011, 09:30 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 08 March 2011, 22:58 GMT
|
DetailsDescription: Ever since a recent update, mplayer is no longer able to disable gnome-screensaver and gnome-screensaver will start when mplayer is playing as a result. I have successfully used the following heartbeat command to have mplayer send a "poke" to gnome-screensaver via /usr/bin/gnome-screensaver-command:
Note that this is the recommended way to disable gnome-screensaver (from mplayer's FAQ). $ cat ~/.mplayer/config heartbeat-cmd="/usr/bin/gnome-screensaver-command -p > /dev/null" # for gnome-screensaver I looked at my pacman.log to see what got upgraded, but I'm not sure which of these would affect either mplayer or gnome-screensaver (see list attached to bug report). *Note that I can confirm that this is broken on two different machines. *Note that I can verify that mplayer is sending the hearbeat command. I intentionally placed a typo in the ~/.mplayer/config and I can see that intentional mistake echoed to stdout while mplayer is playing. Starting playback... Movie-Aspect is 1.73:1 - prescaling to correct movie aspect. VO: [vdpau] 1280x720 => 1280x720 Planar YV12 sh: gnome-screensaver-commanD: command not found sh: gnome-screensaver-commanD: command not found sh: gnome-screensaver-commanD: command not found 3% 2% 0.3% 0 0 Additional info: * package version(s): gnome-screensaver 2.30.2-1 * link to discussion thread: https://bbs.archlinux.org/viewtopic.php?pid=878980 * config and/or log files etc. (ATTACHED) Steps to reproduce: 1) Install both gnome-screensaver and mplayer and configure gnome-screensaver to turn on in 1 min of idle 2) Test to make sure gnome-screensaver starts 3) Edit ~/.mplayer/config to contain the line I showed above 4) Start mplayer viewing a file and just sit there waiting. After 1 min, gnome-screensaver should kick in ignoring the hearbeat command! |
This task depends upon
Closed by Jan de Groot (JGC)
Tuesday, 08 March 2011, 22:58 GMT
Reason for closing: Won't fix
Additional comments about closing: Upstream decided to remove the poke feature from gnome-screensaver.
Tuesday, 08 March 2011, 22:58 GMT
Reason for closing: Won't fix
Additional comments about closing: Upstream decided to remove the poke feature from gnome-screensaver.
partial-pacman.log
FS#20773is implemented, mplayer supports that extension and it would work. Unless you are not using our packages.try to pass -stop-xscreensaver to mplayer
If I manually added that to the shell, it does indeed keep the screensaver from starting.
$ mplayer -stop-xscreensaver /path/to/file
...but why does the ~/.mplayer/config heartbeat-cmd stop working all of a sudden? It has been working for years without problems... also, how can one adapt the "-stop-xscreensaver" to go into the config?
this issue is not a packaging one. if you want to debug more,i'll say to check gnome-screensaver bugtracker.
https://bugzilla.gnome.org/show_bug.cgi?id=639680
Can we get the package updated with this fix?
the idea was that you should test that patch and see if is working. If you don't know how, let me know and i'll provide testing packages
Unfortunately, after I restarted X and tested, it did not fix the problem.
EDIT: I just realized that YOU posted that in the gnome project! Wonder=Ionut Biru
<<head smack>>
EDIT: I downgraded all of the packages and found no change :(
Can you attach your .mplayer/config? This doesn't sound very promising:
sh: gnome-screensaver-commanD: command not found
sh: gnome-screensaver-commanD: command not found
sh: gnome-screensaver-commanD: command not found
gs_monitor_simulate_user_activity (GSMonitor *monitor)
{
/* FIXME: reset the xsync timer? */
/* request that the manager unlock -
will pop up a dialog if necessary */
gs_manager_request_unlock (monitor->priv->manager);
}
The feature you want is commented as FIXME.
Here is my ~/.mplayer/config
subfont-autoscale=1
osdlevel=3
nosub=1
heartbeat-cmd="gnome-screensaver-command -p &" # for gnome-screensaver
Looks like the problem lies with gnome-screensaver...