CEC-CLIENT(1)
π NAME π
cec-client β the CEC connection client utility, aka your lil bestie that talks to your TV over HDMI-CEC π¦
β¨ DESCRIPTION β¨
okay so picture this: you wanna talk to your TV, your soundbar, your whole HDMI-CEC squad, and you wanna do it from a terminal like the main character you are. That's cec-client. It's a General Commands Manual girlie and she's ready π
Here's the whole vibe, synopsis-style:
cec-client {-h|--help|-l|--list-devices|[COM PORT]}
π parameters:
-h,--helpβ shows this help text. iconic, self-explanatory, we love a queen who explains herself π-l,--list-devicesβ lists all the devices on this system. go off, inventory β¨-t,--type {p|r|t|a}β the device type to use. and get this, you can use more than one. no cap, multiple types at once π-p,--port {int}β the HDMI port to use as active source. pick your port, claim your throne π-b,--base {int}β the logical address of the device that this adapter is connected to π«Ά-f,--log-file {file}β writes all libCEC log messages to a file. receipts, bestie π-sf,--short-log-file {file}β writes all libCEC log messages without timestamps and log levels to a file. same receipts, just the short version βοΈ-d,--log-level {level}β sets the log level. seecectypes.hfor values π-s,--single-commandβ execute a single command and exit. does not power on devices on startup and power them off on exit. one and done, in and out, no strings π[COM PORT]β the com port to connect to. and if no COM port is given, the client tries to connect to the first device that is detected. it'll find someone, it always does π
lowkey important: typehorhelpand press enter after starting the client to display all the available commands. yes, after. read the room, then read the commands π
k that's the whole thing, you ate that. This was the cec-client page from the General Commands Manual, filed under User Commands, dated January 2012 β yeah she's vintage, she's still serving tho πΈβ¨ bye bestie, go control some HDMI π
π¦ where this page comes from
- debian bookworm: cec-utils 6.0.2-5 Β· GPL-2.0-or-later
- debian trixie: cec-utils 7.0.0-1+b1 Β· GPL-2.0-or-later
- ubuntu jammy: cec-utils 6.0.2-1ubuntu2 Β· GPL-2.0-or-later
- ubuntu noble: cec-utils 6.0.2-1ubuntu6 Β· GPL-2.0-or-later
- ubuntu questing: cec-utils 7.0.0-1
- ubuntu resolute: cec-utils 7.1.1-2 Β· GPL-2.0-or-later
- ubuntu stonking: cec-utils 7.1.1-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms