Created
July 22, 2017 02:15
-
-
Save lee2sman/302d985ad0d2fc5fc683d1d951594047 to your computer and use it in GitHub Desktop.
Use to keep ChipOS from going to sleep
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Forces ChipOS to stay on (no sleep) | |
# Particularly useful when running Piratebox to keep from turning off when screen sleeps | |
# Don't forget to sudo chmod +x nosleep.sh | |
# to run at startup, add this to end of .bashrc | |
# path/to/nosleep.sh & | |
# might need to force terminal at start instead of gui | |
export XAUTHORITY=/home/chip/.Xauthority | |
export DISPLAY=:0 | |
xset s off | |
xset -dpms | |
xset s noblank |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment