Skip to content

Instantly share code, notes, and snippets.

@svicknesh
Last active July 1, 2017 12:39
Show Gist options
  • Save svicknesh/b4406c4c12b86c04823ba38bbd1b4934 to your computer and use it in GitHub Desktop.
Save svicknesh/b4406c4c12b86c04823ba38bbd1b4934 to your computer and use it in GitHub Desktop.
#!/bin/bash
#sudo sh -c "TERM=linux setterm -blank X >/dev/tty0"
# where X is number in minutes. If set to 0, screen will disable blanking.
# Turn the screen on and blank it again after 5 minute(s)
sudo sh -c "TERM=linux setterm -blank 5 >/dev/tty0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment