TaskScreensaver

Task Description

Temporarily disable the screensaver. Applications used for media presentations may want to disable the screensaver while the presentation is in progress.

Analysis

Instead of explicitly telling the screensaver to be disabled an alternative strategy is to disable DPMS in the X server. Some (most?) screensavers follow the DPMS setting.

Existing solutions

dcop kdesktop KScreensaverIface enable 0

xset s 0

See also the script mentioned on http://forum.linspire.com/viewtopic.php?p=491273#491273

Proposed Solution

See xdg-screensaver in the xdg-utils directory of the Portland CVS module.

See the SuspendScreensaving method in DAPI, part of the Portland CVS module.

Known Problems

Disabling the screensaver has as disadvantage that the application can forget to turn it back on (e.g. when it crashes). Instead of disabling the screensaver altogether a better solution may be to offer a way to delay activation of the screensaver with a defined amount of time.