How can I lock AND blank the screen from the keyboard in 14.04?

7,637

Open System Settings and navigate to Keyboard -> Shortcuts. Open the "System" section, click on "Lock screen" and press Backspace. This will disable the system lock screen shortcut.

enter image description here

Now click the + button. A dialog will pop up asking for your input. Add a custom name and put:

gnome-screensaver-command -la  

in the "command" field.

enter image description here

Click "Apply". Now click "disabled" next to the shortcut you just created and press the key combination you want to use to lock and blank the screen.

enter image description here

You're done!

Share:
7,637

Related videos on Youtube

web.learner
Author by

web.learner

Updated on September 18, 2022

Comments

  • web.learner
    web.learner over 1 year

    In older versions of Ubuntu when you pressed Ctrl+Alt+L it would lock and blank the screen (start the screensaver). In 14.04 it just locks the screen.

    How can I get it to lock AND blank the screen?