Hello, I'm trying to lock my notebook whenever the screen lid is closed. I tried to combine
ACPI sleep/resume is working fine, but when the notebook is resumed, lock is not executed, and I'm back at the shell prompt. I'm using 10.2.
Is there a way to execute lock (or any other command) after an ACPI resume?
/usr/bin/lock -vpn
with ACPI control, by adding the lock command to /etc/rc.resume. ACPI sleep/resume is working fine, but when the notebook is resumed, lock is not executed, and I'm back at the shell prompt. I'm using 10.2.
Is there a way to execute lock (or any other command) after an ACPI resume?