Skip to content

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

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks