Feature #755
idle.sh: Check for logins and windows
Status: | Closed | Start date: | 01/30/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | 08/31/2011 | |
Assignee: | - | % Done: | 100% |
|
Category: | Other | Spent time: | 1.00 hour | |
Target version: | 7.1 | Estimated time: | 0.50 hour |
Description
As recommended at [[http://www.mythtv.org/wiki/ACPI_Wakeup]], it would be helpful for the idle.sh script to also check for logins. I made the necessary modifications to idle.sh (attached) and also added a check for common windows (xterm and Firefox) as examples for individuals to tailor.
An additional script (xwin_find.sh, attached) is required to locate the windows.
These changes allow the machine to prevent shutdown if the user is actively using the machine outside of MythTV. Are there any maintenance activities that depend on idle.sh which might be prevented from running? I checked mythbackup and it's fine.
Associated revisions
linhes-scripts: Add login check to idle.sh. Ref #755
linhes-scripts: Fix typo in idle.sh Ref #755
linhes-scripts: Add the window check to idle.sh. Closes #755
History
Updated by mihanson over 13 years ago
- Due date changed from 01/10/2011 to 08/31/2011
- Estimated time set to 0.50
- Status changed from New to In Progress
Updated by mihanson over 13 years ago
- % Done changed from 0 to 100
- Status changed from In Progress to Closed
Applied in changeset 631f3dc4b6c2de23cbdf151aad88cbbb824039be.