gnome-screensaver-command --lockThis is useful in the context of remapping keyboard shortcuts. For some reason, lots of internet searches come up with the equivalent X-based command for locking the screen.
Sunday, June 10, 2012
Lock Screen Command in Gnome/Cinnamon
The correct lock screen command in Gnome (and hence Cinnamon) is: