Pucur / Close-Screensaver-Redshift-when-VLC-opened-Script

This repo is about to making the movie watching experience to the maximum level when you watching on any linux system.

Home Page:http://pucur.tk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello!

This is my first GitHub project ever, and now all the code was changed, now it works smoothly.

Features:

  • Open/close screensaver when VLC is running/not running.
  • Open/close redshift when VLC is running/not running.
  • Optional: If you have mirrored your screen with your TV, and you wish to turn off the monitor screen, when you watching the movie on the TV screen, you could turn off when you configure it.

It should works all UNIX-like system

Packages needed:

  • pip install psutil

  • pip install pathlib

  • pip install time

  • pip install os

  • pip install schedule

  • apt-get install screen

  • apt-get install redshift-gtk (for redshift)

  • apt-get install xscreensaver xscreensaver-data-extra xscreensaver-gl-extra (for screensaver)

crontab -e as your user, or add to startup

@reboot python /path/to/xscrred-on-vlc-off.py >/dev/null 2>&1

If has any question, feel free to send me a message.

Happy Movie Times!

About

This repo is about to making the movie watching experience to the maximum level when you watching on any linux system.

http://pucur.tk


Languages

Language:Python 95.6%Language:Shell 4.4%