Skip to content

rstefko/xscreensaver-pi-hdmi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

SYNOPSIS

xscreensaver-pi-hdmi [delay_s]

DESCRIPTION

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. In this implementation vcgencmd is used to turn monitor off.

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

Based on scripts in a forum post, but packaged for debian / raspbian.

http://www.raspberrypi.org/phpBB3/viewtopic.php?t=56944&p=429723
by simonmcc » Mon Sep 30, 2013 7:49 am

To build and install:

git clone http://github.com/rstefko/xscreensaver-pi-hdmi
cd xscreensaver-pi-hdmi
dpkg-buildpackage
cd ..
sudo dpkg -i ./xscreensaver-pi-hdmi_*.deb

Add permissions:

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

In your ~/.config/lxsession/LXDE-pi/autostart file:

@xscreensaver -no-splash
@xscreensaver-pi-hdmi

AUTHOR

Initial inspiration from simonmcc » Mon Sep 30, 2013 7:49 am
(http://www.raspberrypi.org/phpBB3/viewtopic.php?t=56944&p=429723)
Bash implementation and Debian packaging by Robert Ames [email protected]

REPORTING BUGS

The project is hosted at https://github.com/ramses0/xscreensaver-pi-hdmi/ 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.

About

disable RaspberryPi HDMI after xscreensaver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 75.6%
  • Makefile 24.4%