Hot answers tagged


There exists /etc/pm/sleep.d folder which is frequently used for running scripts upon suspend/resume. The typical form is this: #!/bin/bash case "$1" in suspend) # executed on suspend ;; resume) # executed on resume ;; *) ;; esac I would suggest you set for suspend option writing the time of ...


Remove the installation media when prompted.


This is not possible. If your computer is in sleep or suspend mode your program is frozen and can't run any code. If your program is running your computer is active.

Only top voted, non community-wiki answers of a minimum length are eligible