Running a script when laptop wakes from RAM suspension
In KDE it is easy to have the machine run a script on login. How can I
have the machine run a script whenever it wakes from RAM suspension? Thanks. Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -- kubuntu-users mailing list kubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users |
Running a script when laptop wakes from RAM suspension
Dotan Cohen wrote:
> In KDE it is easy to have the machine run a script on login. How can I > have the machine run a script whenever it wakes from RAM suspension? > Thanks. > > Dotan Cohen > > http://what-is-what.com > http://gibberish.co.il > א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת > > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > Put the script in /etc/acpi/suspend.d/ and follow the way its done--- the higher the number the later your script will run so it's best to number it 99-yourscript.sh so any networking or other services are started.... Make sure to sudo chmod a+x it or it won't run. There are directories for resume and start as well... -- kubuntu-users mailing list kubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users |
| All times are GMT. The time now is 12:31 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.