/screen_caffeine

Debian-based Linux distributions possess no facility to disable the screensaver while watching video. This gem uses the "xte" command from the "xautomation" Debian package to move the mouse one pixel per minute, which resets the screensaver's timer and prevents it from activating.

Primary LanguageRubyMIT LicenseMIT

screen_caffeine Overview

Debian-based Linux distributions possess no facility to disable the screensaver while watching video. This gem uses the "xte" command from the "xautomation" Debian package to move the mouse one pixel per minute, which resets the screensaver's timer and prevents it from activating.