Re: mplayer, dpms problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





on 11/09/2006 06:25 PM Antonio Olivares wrote:
$ mplayer dvd:// -alang en -stop-xscreensaver worked till the movie finished. In Fedora Core 5 and the new inclusion of
gnome-screensaver, this also worked.  However, with
Core 6, mplayer plays the movie but dpms kicks in and
blanks the screen.  How can I tell dpms not to kick in
and allow mplayer to play the complete movie without
blanking the screen?

I've found the shell script (don't remember the source already), modified it a bit and it kinda works for me.

#!/bin/bash
(exec "$@")&
PID=$(jobs -p)
( while [ -d /proc/$PID ] &>/dev/null ; do
    sleep 500s
    gnome-screensaver-command --poke &>/dev/null
done
)&
wait $PID

I have it under ~/bin/noss name
in order to run mplayer you do

$ noss mplayer


You can put an alias into ~/.bashrc (or whatever you got there)

--
regards,
Oleksandr Korneta

/The nice thing about standards is that there are so many to choose from./

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux