Show HN: Prevent your computer sleeping with just a webpage
31–40 of 137 posts
Re: Show HN: Prevent your computer sleeping with just a webpage
#32This is a standard functionality in kde plasma in the system tray.
Re: Show HN: Prevent your computer sleeping with just a webpage
#33On macOS just run `caffeinate` from the terminal (or `man caffeinate` for more info on the options). I know OP copped to “various Caffeine/Amphetamine apps” but said they're often “overkill”. In this case I think a system-provided command is less overkill than a web page that either uses a browser API or plays an empty video.
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.
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
#34https://chrome.google.com/webstore/detail/keep-awake/bijihla...
Re: Show HN: Prevent your computer sleeping with just a webpage
#35Re: Show HN: Prevent your computer sleeping with just a webpage
#36Re: Show HN: Prevent your computer sleeping with just a webpage
#37So 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
#38This is a standard functionality in kde plasma in the system tray.
Re: Show HN: Prevent your computer sleeping with just a webpage
#39Why not just use keep awake? https://chrome.google.com/webstore/detail/keep-awake/bijihla...
Re: Show HN: Prevent your computer sleeping with just a webpage
#40So 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.