Skip to content
disable RaspberryPi HDMI after xscreensaver
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin remove lintian / boilerplate warnings from copyright Dec 1, 2013
debian move into top-level as it is not mandatory for debian Dec 2, 2013
.gitignore Initial commit Nov 29, 2013
Makefile make service less chatty, document, add support for duration_s delay … Dec 1, 2013

xscreensaver-pi-hdmi(1) -- disable RaspberryPi HDMI after xscreensaver


xscreensaver-pi-hdmi [delay_s]


Raspberry Pi requires some special command execution to physically turn on / off HDMI ports. This utility cooperates with xscreensaver to physically turn off and on the HDMI output when necessary.

dpkg -S $(which tvservice)
libraspberrypi-bin: /usr/bin/tvservice

Based on scripts in a forum post, but packaged for debian / raspbian.
by simonmcc » Mon Sep 30, 2013 7:49 am

For the impatient:

# direct control of HDMI / framebuffer needs special permissions
sudo adduser $USER video

In your ~/.xsession file:

# start xscreensaver
xscreensaver &

# start xscreensaver status monitor
xscreensaver-pi-hdmi &


Initial inspiration from simonmcc » Mon Sep 30, 2013 7:49 am
Bash implementation and Debian packaging by Robert Ames


The project is hosted at Issues and pull requests should be directed there.

It is an open question as to whether there is a better place to put this "fix" ie: integrate directly into xscreensaver or where it makes the most sense to completely "terminate" HDMI output to allow external monitors to sleep. Architectual suggestions and pointers are welcome.

You can’t perform that action at this time.