Show HN: Prevent your computer sleeping with just a webpage
41–50 of 137 posts
Re: Show HN: Prevent your computer sleeping with just a webpage
#42That seems huge for the task.
Re: Show HN: Prevent your computer sleeping with just a webpage
#43Earlier quoted context omitted.
Does this stay on indefinitely? I don’t like using the command line to enable settings that I only need for an hour or so. I often forget to turn them off. I like that OP’s site turns keeps my machine awake while it’s open, and I can just close the tab when I want my machine to behave normally.
> Does this stay on indefinitely? If you want. If you don’t, use the `-t` flag for it to turn off after a set number of seconds or `-w` to do so after a specific process ends.
Re: Show HN: Prevent your computer sleeping with just a webpage
#44Why not just use keep awake? https://chrome.google.com/webstore/detail/keep-awake/bijihla...
Also, I assume this is a pet project of the author. They had a need, and found a way to solve it. They probably had fun, and learned some things along the way. Often, that’s kind of the whole point of a weekend project.
Even if there is another established solution, ‘Why not just … some other thing’ isn’t great feedback. Discovering people’s ideas and projects is one of the beautiful things about HN.
This is a perfect example. I didn’t even know the Screen Wake Lock API existed, so I learned something new!
Re: Show HN: Prevent your computer sleeping with just a webpage
#45So I like this and I'm trying it out, it seemingly works OK. However, the GREEN background is very annoying. I don't need the whole webpage to be green for me to know it's on and working. I can't minimize the browser (firefox) because then it apparently doesn't work. So I'm left with a very big green screen sitting in the corner of my eye. Wondering too the effect of that in terms of screen color burnout (if that's e…
Can't you have a separate, tiny window?
Re: Show HN: Prevent your computer sleeping with just a webpage
#46Re: Show HN: Prevent your computer sleeping with just a webpage
#47Does it really need to be 12 Kb of obfuscated JS+CSS? That seems huge for the task.
Re: Show HN: Prevent your computer sleeping with just a webpage
#48So I like this and I'm trying it out, it seemingly works OK. However, the GREEN background is very annoying. I don't need the whole webpage to be green for me to know it's on and working. I can't minimize the browser (firefox) because then it apparently doesn't work. So I'm left with a very big green screen sitting in the corner of my eye. Wondering too the effect of that in terms of screen color burnout (if that's e…
Lots of ways to attack that, host it yourself, change it with chrome dev tools, a bookmarklet that alters the css, user scripts for css overrides like greasemonkey popularized back in the early days of the web. Hope this helps you get the color you'd like :)
Re: Show HN: Prevent your computer sleeping with just a webpage
#49So 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.
Additionally, something to tell me whether my PC will go to sleep or not if left alone. OP's problem happens to me every so often that I need to make sure the PC is indeed going to sleep before heading out.
I'm not sure about linux or Mac though