I can turn off the monitor and lock the screen manually with cinnamon-screensaver-command -l && xset dpms force off
.
However, if I try to put that command as a custom shortcut in Keyboard->shortcuts, the monitor doesn't turn off, and if I switch the order then nothing happens.
How can I get a shortcut to fire both commands?
cinnamon-screensaver-command -l & xset dpms force off
andgnome-screensaver-command -l && xset dpms force off
.Ctrl+Alt+L