Wake up from sleep by only keyboard/mouse activity Ubuntu 18.04
Solution 1:
Thanks a lot to @PRATAP for help reaching this answer.
- Install dconf-editor
sudo apt-get install dconf-editor
- Run it from terminal:
dconf-editor
- Go to
settings-daemon/plugins/power/sleep-inactive-battery-type
. SetUse default value
toOFF
, andCustom value
toblank
.
- To get the same behavior when laptop is connected to power - go instead to
settings-daemon/plugins/power/sleep-inactive-ac-type
, and do same as in 3.