Find the answer to your Linux question:
Results 1 to 2 of 2
Dear All Can anyone please prescribe a software for fedora which can periodically activate the monitor and will ensure that monitor does not goes to sleep or suspend or any ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2012
    Posts
    1

    auto activation of monitor


    Dear All

    Can anyone please prescribe a software for fedora which can periodically activate the monitor and will ensure that monitor does not goes to sleep or suspend or any shell command which can be made part of script. Later the script can be invoke every 15 min to activate the monitor.


    Regards

  2. #2
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    Do you want to prevent the monitor from sleeping at all? This is usually the X-server that puts it to sleep, and they can be overridden using the xset protocol. You can see all of the options by reading the man page:

    Code:
    man xset
    I created a script that disables all of the acpi power-saving options. You only need to run it once. I used it when purposely trying to drain a laptop battery.

    Code:
    #!/bin/bash
    
    xset s noblank
    xset s noexpose
    xset dpms 0 0 0
    xset -dpms
    If you want to run a script with different commands, at a given interval, run it as a cron job.
    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •