• cosmicrookie@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I have figured out how to set up a shortcut to suspend my desctop! (yeah rookie here). My issue is, that it wakes up, whenever someone walks past it. Is there a way to define what wakes my PC (more mouse movement, maybe disable the mouse from waking it?)

    • adr1an@programming.devOPM
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      Interesting! After a search, I can say that apparently you need to config the “file” /proc/acpi/wakeup. However, some claimed the change wouldn’t persist (makes sense to me). I wonder if there’s a distro specific setting for this… Else, you’d need to write some script for init.d or systemd…!