Skip to content

kenta-ja8/hibernate-and-resume

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Hibernate and Resume

  • auto hibernate by cron
    • the notification appear before hibernate

      hibernate-and-resume-notification

  • auto resume at 7:00

Install

  • edit sudoers
    > sudo visudo
    {user} ALL=NOPASSWD: /usr/bin/rtcwake
    
  • set hibernate time and script in cron
    > crontab -e
    0 22 * * * export DISPLAY=:0.0 && /xxxxx/hibernate-and-resume/hibernate-and-resume.py
    

My Environment

  • Manjaro (Xfce)
  • Python3.9

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages