Skip to content

Disable xscreensaver whenever video is running (in a browser or video player)

License

Notifications You must be signed in to change notification settings

adityaravishankar/smart-xscreensaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Disable xscreensaver whenever video is running (in a browser or video player)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages