[Bug 65791] Re: DPMS timeout restored incorrectly on login
John Dong
john.dong at gmail.com
Tue Nov 28 21:09:32 UTC 2006
A horrific workaround I'm currently using is a python script in the
background that checks DPMS periodically and resets it if it's an
unexpected value....
jdong at jdong-laptop:~$ cat /usr/local/bin/dpmswatch
#!/usr/bin/python
import os
import time
while True:
st=os.popen('xset -q | grep Standby').read()[:-1].strip()
if st != "Standby: 120 Suspend: 120 Off: 120":
print "Bad DPMS:",st
os.system('xset dpms 120 120 120')
time.sleep(10)
jdong at jdong-laptop:~$ cat .kde/Autostart/displayconfig-restore
#!/bin/bash
python /usr/local/bin/dpmswatch &
--
DPMS timeout restored incorrectly on login
https://launchpad.net/bugs/65791
More information about the kubuntu-bugs
mailing list