Re: Script to wakeup monitor with speakers for cron mp3 alarm

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

 



On Fri, 2018-08-24 at 02:41 +0000, None via users wrote:
> Dear Fellow Fedora users,
> 
> I had a script called upon by cron which played music at a certain
> time, for example
> 
> 30 08 * * 1-5 ~/.dalarm
> 
> And .dalarm had
> 
> #!/bin/sh
> 
> /usr/bin/xterm -e
> /usr/bin/mplayer -really-quiet -shuffle -playlist ~/.playlist
> 
> It worked, but I did have speakers, now. I do not have external
> speakers, but a monitor with speakers, if there is no activity with
> the mouse, the speakers are not heard and while the script does work,
> the monitor is not active, it is on, but inactive.  I am using KDE
> and I do not know which screensaver is working, the screen blanks and
> the monitor goes to sleep.  How can I wake up the screen/monitor so I
> can hear the alarm playing.  I remember trying
> $ xset dpms off
> Or similar and turn off screen blankinh, but that does not work
> anymore.  How do I figure out a way to get it working?

Not sure if this will still work on a KDE setup, but maybe:

/bin/xscreensaver-command -deactivate

I found that works to fully wake up the screen when coming out of
suspend so that I don't have to touch anything to get the screen back.


-- 
Doug H.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/DPE62LMYPDSI73RAWEB2QYKXOGPJYF3M/



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux