0

How do I disable the automatic screen lock on incactivity with the console/bash? My system: Ubuntu 18.04LTS (VirtualBox)

The commands given here did not work.

michael
  • 395
  • 3
  • 15

1 Answers1

1

There are power options and screen adjustments in this article below. I quoted the answer section from the article

In /etc/systemd/logind.conf, I edited the lines

HandlePowerKey=poweroff ...

HandleLidSwitch=hibernate

to

HandlePowerKey=ignore ...

HandleLidSwitch=ignore

And then reboot the system.

https://askubuntu.com/questions/719782/change-power-options-for-ubuntu-server-via-terminal