In Ubuntu and Mint, I can tweak the default inactive time before the screen turns off and my computer is locked. How do i change the default time of inactivity after which the screen gets locked?
sudo apt install dconf-editorin a terminal.
- Navigate to org/gnome/settings-daemon/plugins/power using the panel on the left.
- There are four entries that are of interest to you -
batteryrefers to behaviour when a laptop is plugged in or on battery (if desktop, I assume the
acwould apply). If you click one of the
typeoptions the drop-down menu will display the possible actions - you'll want
timeoutoption is how long a period of inactivity (in seconds) is required before the action is carried out. Simply click on the number there at present (probably 0), and replace with the desired value.