Reply To: [SOLVED]What is the best way to have auto-suspend into antiX ?

Forum › Forums › General › Tips and Tricks › [SOLVED]What is the best way to have auto-suspend into antiX ? › Reply To: [SOLVED]What is the best way to have auto-suspend into antiX ?

#21364
oops
Member

    …

    `#suspend after 15 min
    xautolock -time 15 -locker “sudo pm-suspend” &`

    # into my ~/.desktop-session/startup
    # to get a locked screen after waking up your computer from suspend to RAM ... I finally also used i3lock:
    xautolock -time 15 -locker "i3lock -c 000000 && echo 'mem > /sys/power/state' && sudo pm-suspend" &
    • This reply was modified 7 years, 4 months ago by oops.