Use Google Chrome as a Screensaver

You can use `Google Chrome`’s `–kiosk` mode to create a full-screen screensaver of sorts. This might be good if you have a webpage or intranet page you’d like to display. Here’s how I did it for a windows computer:

Create a file such as `c:\screensaver.bat` and add the following code. Replace with your location of `chrome.exe`

@echo off
taskkill /im chrome.exe
start /wait “” “C:\Documents and Settings\Google\Chrome\Application\chrome.exe” –kiosk http://www.mysite.com
rem ## run any command here you’d like after the “screensaver” finishes ##

Next, set that to run as a scheduled task after the computer has been idle for 5 minutes (or however long you choose).

You can then listen with jQuery / javascript to close the page when the mouse moves. Here is code that closes the page when the mouse moves more than 20 pixels. You could also bind it to a keyboard event.





hello


Related Posts:

This entry was posted in Software, Tech Tips, Web Development and tagged , , , , , , , , . Bookmark the permalink.

4 Responses to Use Google Chrome as a Screensaver

Leave a Reply

Your email address will not be published. Required fields are marked *