You are not logged in.
Pages: 1
Hi guys !
I haven't found a solution about this problem yet and i'm disappointed because mplayer is a great video player, imo the best for linux . I don't understand with mplayer doesn't implemented
this feature . Isn't something essential for video players ?
The issue with the screensaver is very annoying . I have tried to put the command heartbeat-cmd="gnome-screensaver-command -p"
in the config of mplayer but it doesn't seem to work . Is there any easy way without using scripts to disable it while using mplayer ?
I don't want to use totem because i'm havng issue with avi files , after some time playng a movie everything and frames become slower and i have to click again on the progress bar for the
movie to continue playing with normal rate .
Thanks for your help !
Offline
mplayer implement it (-stop-xscreensaver), your screensaver don't implement it, so you are directing you disappointment to the wrong program.
And if you are disappointed, ask your money back.
But, if you are really disappointed not only bitching around, why not write the needed code? In this case to the gnome-screensaver.
EDIT http://xkcd.com/196/
EDIT2 and are you sure its dont work? https://bugzilla.gnome.org/show_bug.cgi?id=552209
EDIT3 to make sure of my point (I dont need it, because you already googled and know all I has said including the solutions of your problems, because its discussed a lot) If a program dont work, you fix it, you dont change all the others programs to work around the problem of it.
Last edited by kazuo (2010-06-10 09:38:05)
Offline
.mplayer/config
[default]
heartbeat-cmd="qdbus org.freedesktop.ScreenSaver /ScreenSaver org.freedesktop.ScreenSaver.SimulateUserActivity"zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)
Offline
It doesn't seem to work ! The screensaver appears and the screen becomes black . But thanks for your help
Offline
http://bbs.archlinux.org/viewtopic.php? … 27#p632727
based on those and watching dbus-monitor. both are equal
heartbeat-cmd="gnome-screensaver-command -p"
or
heartbeat-cmd="dbus-send --session --dest=org.gnome.ScreenSaver --type=method_call /org/gnome/ScreenSaver org.gnome.ScreenSaver.SimulateUserActivity"Last edited by wonder (2010-06-10 14:41:37)
Give what you have. To someone, it may be better than you dare to think.
Offline
I use GNOME and mplayer too. I remember having this problem. But maybe you will like my solution. ![]()
I disabled GNOME screensaver. I setup X to turn off the monitor after 10 minutes of inactivity ("DPMS"), and mplayer works correctly with DPMS just fine.
It's been a good setup for me. I don't need to watch a screensaver. I'd rather just save some electricity. ![]()
Offline
Thanks for your suggestion drcouzelis , i'' try it out . Do i need any additional settings in mplayer config file ?
Offline
You might want to try out caffeine: it inhibits all sort of screensavers / screen blankings when activated.
Check this topic to know how to start and stop caffeine together with mplayer: it works pefectly! ![]()
Cheers,
Last edited by rent0n (2010-06-10 16:14:00)
rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686
Offline
Thanks for your suggestion but i think the suggestion of drcouzelis seems easier ![]()
But it seems the DPMS doesn't work . I have set the offtime in xorg and dpms but it doesn't work . What might be the issue ?
Offline
Does it work with xset? Here's what I'm running in ~/.xinitrc:
xset s off dpms 0 0 240(to switch the screen off after 4 minutes.)
Offline
I had the same problem, but I found a solution for myself. That is what I added to my ~./mplayer/config:
stop-xscreensaver=1
and now my screensaver is not starting while I play a movie.
Hope that will help.
Offline
This is for xscreensaver but for gnome screensaver it's doesn't work . I'll just use totem or mplayer with disabled screensaver . Thanks again
Offline
I have gnome-screensaver and mplayer doesn't turn on when playing a file with mplayer. All I have is:
stop-xscreensaver=yesin ~/.mplayer/config
Offline
Small hack that works with the gnome-screensaver, is to send key events periodically (for example the Ctrl key).
This could be achieved by invoking mplayer with:
mplayer -heartbeat-cmd "xdotool key ctrl"Or by adding the line to a configuration file:
heartbeat-cmd="xdotool key ctrl"You would need to install the xdotool package.
Offline
Did nepherte's suggestion work for you?
Offline
you don't have to add any fixes for mplayer to disable gnome-screemsaver.
in 2.30.2 has been enabled the mit-ext extension and mplayer is using that
Give what you have. To someone, it may be better than you dare to think.
Offline
you don't have to add any fixes for mplayer to disable gnome-screemsaver.
in 2.30.2 has been enabled the mit-ext extension and mplayer is using that
You are right. Mplayer's -stop-xscreensaver option works properly with gnome-screensaver.
Offline
Pages: 1