I use my desktop as a file server for music which plays on my Sonos system. Now, after the computer hasn't been in use for time X, it will go to standby/sleep mode and thus, the music will stop. Now I was wondering if there's a way to prevent the computer from going to sleep if let's say a particular bandwith in egress direction is active on eth0?
So that I can keep my sleep settings if the computer is not being used (and no music is playing).
Asked
Active
Viewed 1,072 times
1
stdcerr
- 1,050
- 5
- 19
- 36
-
Change the power settings from system settings. Change the `suspend when inactive` option values to `Don't suspend` – George Udosen Mar 18 '17 at 18:05
-
I want to keep my sleep settings if the computer is not being used! – stdcerr Mar 18 '17 at 18:06
1 Answers
0
This has been answered here...
Is there any way to make Ubuntu not to suspend while a download in progress?
Its a program I wrote to sort out the exact same problem and more. In my case I was serving to Kodi and DLNA devices videos, pictures and music; also when doing backups to another server.
It also solves the problem of running a program unattended over a period of time.
Launchpad link here:
DanglingPointer
- 1,023
- 11
- 22