> > I have already set timeouts in Enlightenment for the monitor to go to
> > Standby, Suspend and Off. However:
> > 
> > 1) The timeout sometimes is ignored for no apparent reason.
> > 
> 
> Are you using anything else which might want to control your DPMS
> settings?
No. I do have xautolock and xlockmore installed, but they are not running at 
the moment, and I can verify that by issuing ps aux | grep xauto or ps aux | 
grep xlock

> > I remember I could do that with "xset dpms force standby", but nowadays
> > if I try that, the screen blanks for half a second and immediately goes
> > back to normal. 
> 
> `xset dpms force stanby` works just fine here.
It seems to be working now, for no apparent reason... If if goes back
to the "not working" situation, I'll send another email.

> E uses the same calls xset does internally.
Interesting. 

> > 2.2) Or even better, can I use Enlightenment itself to make the monitor
> > enter standby immediately?
> 
>  - a shell script with `xset dpms force standby` bound to a key?

I wrote this 

#!/bin/sh
enlightenment_remote -lock-desktop

if [ "${1}" == "standby" ]; then
    xset dpms 120 420 540
    sleep 2
    xset dpms force standby
    sleep 545
else if [ "${1}" == "suspend" ]; then
    xset dpms 120 420 480
    sleep 2
    xset dpms force suspend
    sleep 485
fi
fi

# back to default
xset dpms 180 480 600


Seems to work. (Although I have just wrote it and haven't tested it for
the required periods of time). 

Thank you for your attention.
-- 
Software is like sex: it is better when it is free. --Linus Torvalds

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to