So i get annoyed that my computer doesn't go to sleep sometimes because some website is playing a video. Is there a simple way to tell Linux/Gnome/Chrome to ignore videos and go to sleep anyway? I don't watch long videos on this computer so I hate to come back into my office and find my screen never locked because some website played a video i wasn't even watching.
Show HN: Prevent your computer sleeping with just a webpage
111–120 of 137 posts
Re: Show HN: Prevent your computer sleeping with just a webpage
#112Re: Show HN: Prevent your computer sleeping with just a webpage
#113Earlier quoted context omitted.
There's a checkbox "Manually block sleep and screen locking" and you just check that.
Where in the system tray is it? Do we need to click the battery icon or something? Maybe because I'm on a pretty old version (5.18.6), I don't see that checkbox anywhere I looked.
Re: Show HN: Prevent your computer sleeping with just a webpage
#114Thanks for sharing this. I've seen it on some recipe websites recently and was wondering how it worked. I would recommend making the links (eg to the Mozilla page) use a different color or underlined.
I didn’t even know this was a feature of my browser. Say for example I write a shopping list based on the recipe web page, then go to the supermarket to buy the ingredients, leaving the tab open because I will need the instructions tomorrow for the cooking. Now my computer will be forced on during the rest of day based on the choice of the website owner?! Wtf. What if I leave the tablet open after finishing cooking, Is there any timeout on this thing or will that differ depending on each website?
Honestly this feature is really badly thought through. It should be a feature of the OS and not up to random web sites without even asking for permission.
Putting my most cynical hat on you could imagine advertisers enabling this on every website so you are more likely to be exposed to their ads.
Re: Show HN: Prevent your computer sleeping with just a webpage
#115Earlier quoted context omitted.
Where in the system tray is it? Do we need to click the battery icon or something? Maybe because I'm on a pretty old version (5.18.6), I don't see that checkbox anywhere I looked.
Yes, it's in the battery applet. I'm pretty sure it's been there for a long time, but I think it was named differently before ("disable power management" maybe?)
Re: Show HN: Prevent your computer sleeping with just a webpage
#116So i get annoyed that my computer doesn't go to sleep sometimes because some website is playing a video. Is there a simple way to tell Linux/Gnome/Chrome to ignore videos and go to sleep anyway? I don't watch long videos on this computer so I hate to come back into my office and find my screen never locked because some website played a video i wasn't even watching.
Re: Show HN: Prevent your computer sleeping with just a webpage
#117Earlier quoted context omitted.
it's gotten to the point now where laptop manufacturers tell you not to put sleeping/hibernating laptop into a bag at all due to amount of heat they still generate even while sleeping [0]. Only those that are fully shut down should be placed in a bag (according to them). [0] https://www.dell.com/community/XPS/FAQ-Modern-Standby/td-p/7... Previous HN discussion: https://news.ycombinator.com/item?id=28639952
I miss hibernation. Real, write the contents of RAM to disk and shut-off completely type of hibernation.
Re: Show HN: Prevent your computer sleeping with just a webpage
#118So i get annoyed that my computer doesn't go to sleep sometimes because some website is playing a video. Is there a simple way to tell Linux/Gnome/Chrome to ignore videos and go to sleep anyway? I don't watch long videos on this computer so I hate to come back into my office and find my screen never locked because some website played a video i wasn't even watching.
Re: Show HN: Prevent your computer sleeping with just a webpage
#119If you absolutely want to prevent a Mac from not only going to sleep, but restarting for any reason at all (say, to install important security updates, which are usually forced on the user with no choice), there aren't many good ways. The only thing I've found that really works reliably is to open MS Word, create a new document, add some random characters to it, and then leave without ever saving. Word will prevent t…
Re: Show HN: Prevent your computer sleeping with just a webpage
#120 alias decafe='killall caffeinate'
alias cafe='caffeinate -id'
which allows me to just '$ cafe' to keep it awake and '$ decafe' to stop it.