acpi_listen(8)
π acpi_listen β bestie's guide to the ACPI event listener π
okay so this is acpi_listen from section 8 (System Manager's Manual, the system-admin corner of the manual-verse), and it's genuinely one of my fave lil tools because it's so simple and does exactly one thing beautifully. no cap.
β¨ NAME β¨
acpi_listen β an ACPI event listener π§
like, it listens. that's the job. that's the whole job.
πΈ SYNOPSIS πΈ
acpi_listen [options]
that's it bestie, that's the entire vibe π¦
π DESCRIPTION π
so. acpid is the system-wide ACPI event catcher β the big one, the main character, the one actually holding it down for the whole system. π
acpi_listen is a simple, shell-friendly tool that connects to acpid and listens for events. when an event happens, acpi_listen prints it on stdout. that's it. no drama, no config files, just vibes and event output. β¨
if you've ever wanted to see what your laptop is yelling at the kernel about (lid closed, power button, that one weird key), this is the tool. iykyk.
π OPTIONS π
-c,--countevents β receive up to a maximum number of ACPI events, then exit. so like, "okay bestie, give me3events and then we're done" β it bails after that many. π-s,--socketfilefilename β this changes the name of the UNIX domain socket whichacpidopens. default is/var/run/acpid.socket. π§-t,--timeseconds β listen for the specified time in seconds, before exiting. a lil timer, a lil commitment, and then it's out. β-v,--versionβ print version information and exit. π-h,--helpβ show help and exit. π«Ά
π FILES π
/var/run/acpid.socket
the socket. the connection point. the whole reason this works. π₯
π BUGS π
there are no known bugs. literally flawless, we love to see it. πβ¨
to file bug reports, see AUTHORS below. (yes, actually β that's where it points you. iconic.)
π SEE ALSO π
go say hi to the parent process, she's doing great π
π¦ AUTHORS π¦
- Ted Felix (www.tedfelix.com)
- Tim Hockin
<thockin@hockin.org> - Luca Capello
<luca@pca.it>
the trio. the legends. the ones who made this happen. πΈ
no notes, no cap β every flag above does exactly what it says, so go ahead and run it and watch the events roll in π
and that's the whole page bestie π β this one's from the System Manager's Manual, dated Nov 2003, which is giving vintage-but-still-slaying energy fr fr. periodt. πβ¨
π¦ where this page comes from
- alpine 3.22: acpid-doc 2.0.34-r6 Β· GPL-2.0-or-later
- alpine 3.23: acpid-doc 2.0.34-r7 Β· GPL-2.0-or-later
- alpine 3.24: acpid-doc 2.0.34-r8 Β· GPL-2.0-or-later
- arch rolling: acpid 2.0.34-2 Β· GPL
- centos-stream 10: acpid 2.0.34-10.el10 Β· GPL-2.0-or-later
- centos-stream 9: acpid 2.0.32-7.el9 Β· GPLv2+
- debian bookworm: acpid 1:2.0.33-2+b1 Β· GPL-2.0-only
- debian trixie: acpid 1:2.0.34-1+b1 Β· GPL-2.0-only
- fedora 43: acpid 2.0.34-14.fc43 Β· GPL-2.0-or-later
- fedora 44: acpid 2.0.34-16.fc44 Β· GPL-2.0-or-later
- nixos 26.05: acpid 2.0.34
- nixpkgs unstable: acpid 2.0.34
- opensuse-leap 16.0: acpid 2.0.34-bp160.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: acpid 2.0.34-bp160.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: acpid 2.0.34-bp160.1.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: acpid 2.0.34-bp160.1.1 Β· GPL-2.0-or-later
- ubuntu jammy: acpid 1:2.0.33-1ubuntu1 Β· GPL-2.0-only
- ubuntu noble: acpid 1:2.0.34-1ubuntu2 Β· GPL-2.0-only
- ubuntu resolute: acpid 1:2.0.34-1ubuntu3 Β· GPL-2.0-only
- ubuntu stonking: acpid 1:2.0.34-1ubuntu3 Β· GPL-2.0-only
- Copyright (c) 2003 Sun Microsystems
- Copyright (c) 2004 Tim Hockin (thockin@hockin.org)
- (C) 2003 - Gismo / Luca Capello <luca.pca.it> http://luca.pca.it
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms