Skip to main content
added 5 characters in body
Source Link
quassy
  • 3.5k
  • 2
  • 22
  • 41

lightsOn

There is a litte bash script called lightsOn on GitHub, which is supposed to automatically checkchecks on various apps, including fullscreen Flash and html5 video. (It works for me.)

Bash script managing screensaver and display power management (DPMS) on different conditions (fullscreen videos, specific applications, specific outputs).

To use the program save the file lightsOn.sh in your home directory, make it executable by typing chmod +x ~/lightsOn.sh and run it ~/lightsOn.sh 300 (this will check every 300 seconds = 5 minutes).

If it works you can add the script to startup by adding ~/lightsOn.sh 300 in System Settings > Applications > Startup.


The script detects a variety of apps / usages, you can configure (among other options) detecting certain things right in the shell script:

# Modify these variables if you want this script to detect if MPV, Mplayer,
# VLC, Minitube, Totem or a web browser Flash/HTML5 Video.
mplayer_detection=1
mpv_detection=1
vlc_detection=1
totem_detection=1
firefox_flash_detection=1
firefox_html5_detection=1
chromium_flash_detection=1
chromium_html5_detection=1
chromium_pepper_flash_detection=1
chrome_pepper_flash_detection=1
chrome_html5_detection=1
opera_flash_detection=1
opera_html5_detection=1
yandexBrowser_html5_flash_detection=1
epiphany_html5_detection=1
webkit_flash_detection=1
minitube_detection=1

lightsOn

There is a litte bash script called lightsOn on GitHub, which is supposed to automatically check on various apps, including fullscreen Flash and html5 video.

Bash script managing screensaver and display power management (DPMS) on different conditions (fullscreen videos, specific applications, specific outputs).

To use the program save the file lightsOn.sh in your home directory, make it executable by typing chmod +x ~/lightsOn.sh and run it ~/lightsOn.sh 300 (this will check every 300 seconds = 5 minutes).

If it works you can add the script to startup by adding ~/lightsOn.sh 300 in System Settings > Applications > Startup.


The script detects a variety of apps / usages, you can configure (among other options) detecting certain things right in the shell script:

# Modify these variables if you want this script to detect if MPV, Mplayer,
# VLC, Minitube, Totem or a web browser Flash/HTML5 Video.
mplayer_detection=1
mpv_detection=1
vlc_detection=1
totem_detection=1
firefox_flash_detection=1
firefox_html5_detection=1
chromium_flash_detection=1
chromium_html5_detection=1
chromium_pepper_flash_detection=1
chrome_pepper_flash_detection=1
chrome_html5_detection=1
opera_flash_detection=1
opera_html5_detection=1
yandexBrowser_html5_flash_detection=1
epiphany_html5_detection=1
webkit_flash_detection=1
minitube_detection=1

lightsOn

There is a litte bash script called lightsOn on GitHub, which automatically checks on various apps, including fullscreen Flash and html5 video. (It works for me.)

Bash script managing screensaver and display power management (DPMS) on different conditions (fullscreen videos, specific applications, specific outputs).

To use the program save the file lightsOn.sh in your home directory, make it executable by typing chmod +x ~/lightsOn.sh and run it ~/lightsOn.sh 300 (this will check every 300 seconds = 5 minutes).

If it works you can add the script to startup by adding ~/lightsOn.sh 300 in System Settings > Applications > Startup.


The script detects a variety of apps / usages, you can configure (among other options) detecting certain things right in the shell script:

# Modify these variables if you want this script to detect if MPV, Mplayer,
# VLC, Minitube, Totem or a web browser Flash/HTML5 Video.
mplayer_detection=1
mpv_detection=1
vlc_detection=1
totem_detection=1
firefox_flash_detection=1
firefox_html5_detection=1
chromium_flash_detection=1
chromium_html5_detection=1
chromium_pepper_flash_detection=1
chrome_pepper_flash_detection=1
chrome_html5_detection=1
opera_flash_detection=1
opera_html5_detection=1
yandexBrowser_html5_flash_detection=1
epiphany_html5_detection=1
webkit_flash_detection=1
minitube_detection=1
added 851 characters in body
Source Link
quassy
  • 3.5k
  • 2
  • 22
  • 41

lightsOn

There is a litte bash script called lightsOn on GitHub, which is supposed to automatically check on various apps, including fullscreen Flash and html5 video.

Bash script managing screensaver and display power management (DPMS) on different conditions (fullscreen videos, specific applications, specific outputs).

To use the program save the file lightsOn.sh in your home directory, make it executable by typing chmod +x ~/lightsOn.sh and run it ~/lightsOn.sh 300 (this will check every 300 seconds = 5 minutes).

If it works you can add the script to startup by adding ~/lightsOn.sh 300 in System Settings > Applications > Startup.


The script detects a variety of apps / usages, you can configure (among other options) detecting certain things right in the shell script:

# Modify these variables if you want this script to detect if MPV, Mplayer,
# VLC, Minitube, Totem or a web browser Flash/HTML5 Video.
mplayer_detection=1
mpv_detection=1
vlc_detection=1
totem_detection=1
firefox_flash_detection=1
firefox_html5_detection=1
chromium_flash_detection=1
chromium_html5_detection=1
chromium_pepper_flash_detection=1
chrome_pepper_flash_detection=1
chrome_html5_detection=1
opera_flash_detection=1
opera_html5_detection=1
yandexBrowser_html5_flash_detection=1
epiphany_html5_detection=1
webkit_flash_detection=1
minitube_detection=1

lightsOn

There is a litte bash script called lightsOn on GitHub, which is supposed to automatically check on various apps.

Bash script managing screensaver and display power management (DPMS) on different conditions (fullscreen videos, specific applications, specific outputs).

To use the program save the file lightsOn.sh in your home directory, make it executable by typing chmod +x ~/lightsOn.sh and run it ~/lightsOn.sh 300 (this will check every 300 seconds = 5 minutes).

If it works you can add the script to startup by adding ~/lightsOn.sh 300 in System Settings > Applications > Startup.

lightsOn

There is a litte bash script called lightsOn on GitHub, which is supposed to automatically check on various apps, including fullscreen Flash and html5 video.

Bash script managing screensaver and display power management (DPMS) on different conditions (fullscreen videos, specific applications, specific outputs).

To use the program save the file lightsOn.sh in your home directory, make it executable by typing chmod +x ~/lightsOn.sh and run it ~/lightsOn.sh 300 (this will check every 300 seconds = 5 minutes).

If it works you can add the script to startup by adding ~/lightsOn.sh 300 in System Settings > Applications > Startup.


The script detects a variety of apps / usages, you can configure (among other options) detecting certain things right in the shell script:

# Modify these variables if you want this script to detect if MPV, Mplayer,
# VLC, Minitube, Totem or a web browser Flash/HTML5 Video.
mplayer_detection=1
mpv_detection=1
vlc_detection=1
totem_detection=1
firefox_flash_detection=1
firefox_html5_detection=1
chromium_flash_detection=1
chromium_html5_detection=1
chromium_pepper_flash_detection=1
chrome_pepper_flash_detection=1
chrome_html5_detection=1
opera_flash_detection=1
opera_html5_detection=1
yandexBrowser_html5_flash_detection=1
epiphany_html5_detection=1
webkit_flash_detection=1
minitube_detection=1
Source Link
quassy
  • 3.5k
  • 2
  • 22
  • 41

lightsOn

There is a litte bash script called lightsOn on GitHub, which is supposed to automatically check on various apps.

Bash script managing screensaver and display power management (DPMS) on different conditions (fullscreen videos, specific applications, specific outputs).

To use the program save the file lightsOn.sh in your home directory, make it executable by typing chmod +x ~/lightsOn.sh and run it ~/lightsOn.sh 300 (this will check every 300 seconds = 5 minutes).

If it works you can add the script to startup by adding ~/lightsOn.sh 300 in System Settings > Applications > Startup.