- cec-ctl
- python3
- python-evdev
sudo make install
sudo make enable-services
# or
sudo make install-and-enablesudo make remove# Turn on the TV and switch to PC
cec-toolbox on
# Turn off the TV
cec-toolbox off
# Get current PC's input
cec-toolbox get-input
# Switch to current input
cec-toolbox notice-me
# Switch to HDMI 3
cec-toolbox input 3
# configure as playback device
# (done automatically for on/off commands)
cec-toolbox configure
# run input daemon manually (systemd service preferred)
cec-toolbox daemonAUR package: cec-toolbox-git