Menu

How to disable Power manager in a desktop

Hardware
alynur
2026-07-23
2026-07-28
  • alynur

    alynur - 2026-07-23

    Hello Peppermint people, this is a problem I've run into since installing Peppermint Trixie on my desktop computers. I do not want my desktop to go to sleep, turn off or anything. I want it to be on as I leave it no matter how long I'm away. I have tried everything in the power manager to no avail. What else can I do?

     
  • alynur

    alynur - 2026-07-24

    I found this command in Brave search
    "sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target"
    I'll run it and see what happens.

     
  • Peppermint OS

    Peppermint OS - 2026-07-25

    That may fix the issue because when these targets are masked, any request sent to the kernel to enter a sleep state will be explicitly rejected, forcing the OS to stay powered on 24/7

     
  • alynur

    alynur - 2026-07-28

    Okay, so I finally had a chance to leave my computer on after running the above mentioned commands, no go. Computer screen went to sleep again. What else can I try?

     

Log in to post a comment.