Most Ubuntu Linux system users get irritated as a result of a very limited screen timeout. When left idle, the screen would very quickly dim out and lock me out of the system. So, having to input the password every couple of minutes got us very frustrated and We started to look up ways to stop it from happening again.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to perform related Linux system queries.
In this context, we shall look into how you can disable screen timeout in Ubuntu 20.04.
Different methods of disabling Screen Timeout in Ubuntu
You can update this setting graphically as well as through the terminal.
1. Disabling Screen Timeout via GUI
Through the utilities, changing the timeout is fairly simple. To do this follow the steps outlined below:
- You need to open up the "Activities" view and type in "Screen Lock".
- Click on the "Screen Lock" with the icon next to it and the "Screen Lock" dialog box open up.
- Here you can update the settings to your liking. You get the option to increase the timeout to different time as you so desire.
2. Disabling Screen Timeout via the terminal
Most experienced Linux users prefer to work on their system via the terminal. Now, to customize the timeout to your desire, you need to open up your terminal and execute the following command:
$ gsettings set org.gnome.desktop.screensaver lock-delay "i"
You can substitute "i" in the command above with the number of minutes (specified in seconds) after which the screen will automatically lock, after having been blank for a while.
For example, If you replace "i" with 300 then this basically means the screen delay has been set to 5 minutes. If you want to check whether the change has taken place, you can open up the "Screen Lock" dialog from Activities. It will show your Time change reflected.
How to disable the screen dimming in Ubuntu Linux system ?
If you want to disable the screen dimming, you can execute this command:
$ gsettings set org.gnome.settings-daemon.plugins.power idle-dim false
[Need to fix any issues on your Debian / Ubuntu / CentOS system ? We can help you. ]