Skip to content

A screensaver for GNOME that will turn off and on your TV using HDMI CEC.

License

Notifications You must be signed in to change notification settings

Lamothe/gnome-cec-screensaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

A screensaver for GNOME that will turn on and off your HDMI-CEC enabled devices using a libcec compatible HDMI-CEC adapter. The application hooks into GNOME's screensaver event and detects when it has been activated/deactivated. All HDMI-CEC signals are broadcasted and are not device specific.

Install Prerequisites (Fedora)

sudo dnf install -y git make libcec-devel glibmm2.68-devel gcc-c++

Download, Build and Install

git clone https://github.com/Lamothe/gnome-cec-screensaver.git
cd gnome-cec-screensaver
make install

This will put the binary in the user's bin directory so it can be run on the command line with gnome-cec-screensaver and copy the desktop file into the autostart directory so GNOME will run it at startup.

The application will log to the command line as well as .gnome-cec-screensaver.log in the user's home direcory.

I have only tested this with the USB - CEC Adapter from Pulse-Eight connected to my NVIDIA GPU on Fedora 40.

About

A screensaver for GNOME that will turn off and on your TV using HDMI CEC.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published