I am in need to lock my screen with a bash command. The commands below will provide a blank screen, however the desktop is brought back without a password prompt. Is there a better way to do this? Also, is there a setting to offer a password prompt on hibernation resume?
!
gnome-screensaver-command --lock
gnome-screensaver-command -l