✏️ 正在编辑: powerbtn
路径:
/usr/share/doc/acpid/examples/powerbtn
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
# /etc/acpi/events/powerbtn # This is called when the user presses the power button and calls # /etc/acpi/powerbtn.sh for further processing. # Optionally you can specify the placeholder %e. It will pass # through the whole kernel event message to the program you've # specified. # We need to react on "button power.*" and "button/power.*" because # of kernel changes. event=button[ /]power action=/etc/acpi/powerbtn.sh
💾 保存文件
← 返回文件管理器