My issue is that moving the mouse alone is not enough to close the shield. On a media centre machine the last thing you want is having to reach for the keyboard or try and drag upwards. The extensions don't seem to be kept updated with the latest versions of Gnome and the workarounds to do that are scary.
My approach was to disable blanking in Gnome and then fall back to using X11 DPMS to switch off the monitor.
- Disable gnome screen blanking. This stops the shield but means the monitor remains permanently on (fixed by DPMS below):
gsettings set org.gnome.desktop.session idle-delay 0
- Disable gnome power plugin (this plugin will always disable the DPMS timeouts you set below)
gsettings set org.gnome.settings-daemon.plugins.power active false
- Activate DPMS by adding these lines to /etc/X11/xorg.conf (create if it doesn't already exist). The different power saving modes no longer apply to LCD screens. Time is in minutes.
Section "ServerLayout"
Identifier "Default Layout"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "10"
EndSection