Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 973 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 973 Bytes

smart-xscreensaver

Simple script to deactivate XScreenSaver while video (or audio) is running (in a browser or video player)

Features

  • Works for browser video as well as apps like VLC
  • Will allow XScreenSaver if video is paused
  • Will work on windowed or full screen mode
  • Should detect change in XScreenSaver timeout and adjust polling interval to minimize unnecessary running

Installation

  1. Download smart-xscreensaver
sudo wget https://raw.githubusercontent.com/adityaravishankar/smart-xscreensaver/master/smart-xscreensaver -O /usr/local/bin/smart-xscreensaver
  1. Make smart-xscreensaver executable
sudo chmod +x /usr/local/bin/smart-xscreensaver
  1. Load smart-xscreensaver on boot using your OS startup application editor.

License

Copyright (c) 2017 Aditya Ravi Shankar

Released under the MIT License.