0

I want to disable automatic screen lock in Ubuntu 24.04.

In my case it is both annoying and pointless as it is a VM.

I want to do it from CLI as I expect to execute it for each Ubuntu VM that is not headless.

1 Answer 1

1

Using the Gnome Desktop, you can disable automatic screen locking after it blanks with the command:

gsettings set org.gnome.desktop.screensaver lock-enabled false

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.