Is it possible to lock from terminal?

I’m not sure if this is a naive question. I couldn’t find the answer searching online or in the user guide. I’m able to shutdown and restart from the terminal using shutdown and I’d love to be able to lock (as well as suspend and logout) from the terminal too. Can anyone point me in the right direction?

It seems I have xdg-screensaver available and I can use that to lock. It’s embarrassing to have found the solution after having just posted the question!

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.