FG
💻 Software

run command automatically right after wake up from standby ("sleep")?

Fresh5 days ago
Mar 15, 20262018 views
Confidence Score0%
0%

Problem

How can I run a command automatically every time my systems wakes up from standby ("sleep")? I am using Kubuntu. (still 9.10 but I'll migrate soon to 10.4) As the window manger is locked right after wake up it would suffice if the command is executed every time after unlocking the screen.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: run command automatically right after wake up from standby ("sleep")?

Low Risk

Using ACPI, you can configure scripts to run as certain events are triggered by the laptop. I used to run a script to reload errant network drivers after a restored from sleep. No idea if you have ACPI on your machine, or if you are using acpid, but…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment