How to lock screen on suspend?

I found a work around this problem which works when suspending via:

  • command line
  • closing the laptop lid
  • suspend via indicator app or mate-menu

The work around is to install xss-lock and add it two the start applications:

xss-lock -- mate-screensaver-command --lock
3 Likes