hmm.. in 2021 I found a solution for the #X220 mic mute button in Manjaro Linux. https://wittamore.fr/articles/2021/Coupure-microphone-X220.html
As #acpi is installed by default in #Ghostbsd I thought I could do something similar, but there doesn't seem to be an event handler script that I could edit, ex. /etc/acpi/handler.sh. acpi_listen seems to be absent too.
EDIT: Double Duh! /etc/devd - more on this when I've solved it
As #acpi is installed by default in #Ghostbsd I thought I could do something similar, but there doesn't seem to be an event handler script that I could edit, ex. /etc/acpi/handler.sh. acpi_listen seems to be absent too.
EDIT: Double Duh! /etc/devd - more on this when I've solved it