This (trapping xset) has already been done. https://launchpad.net/distros/ubuntu/+source/kde-guidance/+bug/65791/comments/10 It seems what is changing the setting is not using xset. -- DPMS timeout restored incorrectly on login https://launchpad.net/bugs/65791