commit 5b27638e9975d7bdeea6f134bd1dfd820c2cd75d
parent 1c4a5766943dfa9ce52fb269e2e7254987ec6983
Author: Hender <hrivera2014@users.noreply.github.com>
Date: Wed, 12 Apr 2023 20:26:21 -0400
Update README.md
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
@@ -1,10 +1,10 @@
-#Original work of:
+# Original work of:
https://ubuntu-mate.community/t/controlling-raspberry-pi-with-tv-remote-using-hdmi-cec/4250
Hello everyone.
-#Description:
+# Description:
I wrote a script that connects to HDMI CEC ( cec-client needed ) and listens for TV Remote key presses. Based on the keys pressed / released (or auto-released; holding down certain keys for too long makes them auto-release) different actions are executed. Some examples:
@@ -21,7 +21,7 @@ Alternatively, you can just install chromium:
These are the keys supported by my TV Remote. You can modify the script for your TV Remote, see Modification below.
-#Installation:
+# Installation:
First you need to install cec-client and xdotool; using terminal:
`sudo apt-get install cec-client xdotool`
@@ -82,7 +82,7 @@ Then add this in the Startup Programs (Menu - System - Control Center - Startup
Restart, try, report :slightly_smiling:
-Modification:
+# Modification:
If you want, you can edit the script to change or add the commands executed on certain button presses.
You can detect the additional buttons that CEC on your TV supports. Kill the running cec-client, run the cec-client in the terminal, and watch for the output while you're pressing all the keys on your TV Remote; using terminal: