How To: Disable Sleep/Hibernation on Ubuntu Server
*~grumbles~*
Seriously! My log contained lovely hints like:
[code]Apr 3 12:18:27 server systemd[1]: Reached target Sleep.[/code]
*~grumbles~*
Seriously! My log contained lovely hints like:
[code]Apr 3 12:18:27 server systemd[1]: Reached target Sleep.[/code]
[code]sudo systemctl mask suspend.target[/code]
[code]sudo systemctl mask hibernate.target[/code]
[code]sudo systemctl mask hybrid-sleep.target[/code]
[code]systemctl status sleep.target[/code]
Finally, thanks for reading. Like always, I love the feedback and the newsletter is still there waiting for you to sign up. If you do sign up, I chose a pretty crappy domain name and you should probably check your spam inbox for the confirmation email.
Now that you have that open, try the following:
[code]sudo apt install numlockx[/code]
Next, open your applications menu, click on Preferences, click on LXQt settings, and then click on Session settings.
Once you have that open, click on Autostart (on the left) and then Add (on the right). Once that is open, give our numlock a name and enter the following command:
[code]/usr/bin/numlockx[/code]
See? This is a nice easy one!
Start your terminal with the trusty CTRL + ALT + T. [code]sudo nano /etc/apt/sources.list[/code]
[code]sudo apt install software-properties-gtk[/code]Manage Debian Repositories with a GUI