How to to prevent the screen from turning off when locked with gnome-shell on Ubuntu 18.04

This annoys me a lot, as whenever I lock the screen, my big screen turns off and it is an old slow screen that takes a few seconds to turn on again.

To disable this behavior, do the following:

  1. Download this extension: https://www.dropbox.com/s/5owr2bxhbijdino/no-screen-blank%40example.com.zip?dl=1
  2. Extract the file and edit the metadata.json file, adding “3.28” to the list of supported shell-version
  3. Place the folder inside ~/.local/share/gnome-shell/extensions/
  4. Open gnome-tweaks (install it first by apt install gnome-tweaks if you don’t have it already)
  5. Go to Extensions and turn “No screen blank” extension on.
  6. Enjoy!

Note: I have uploaded the modified version to support Gnome 3.28 here.

Tested on Ubuntu 18.04 with Gnome 3.28.

Thanks go to the anonymous developer here, who did quite a good job!

About SoCRaT

Research Support and Infrastructure Engineer, OSS & Linux Geek
This entry was posted in Linux and tagged , , , , , , . Bookmark the permalink.

2 Responses to How to to prevent the screen from turning off when locked with gnome-shell on Ubuntu 18.04

  1. Rusti says:

    Thank you! I’ve used Linux for many years and still I don’t understand why they made it so difficult for such an obvious option!

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s