Summary and solutions of Ubuntu 20.04 version problems

Problem 1: The screen is black after hanging up for a long time, the hardware works normally, and the mouse and keyboard cannot wake up

solve:

1. Enter the following command: Install the laptop-mode-tools package, which is responsible for the desktop startup mode

sudo apt-get install laptop-mode-tools

2. Enter the following command to determine whether to enable laptop-mode Output 0: Not enabled Others: Enabled

cat /proc/sys/vm/laptop_mode

3. Enter the following command: Set ENABLE_LAPTOP_MODE_ON_AC=1   

                                                      (That is, the laptop-mode is also turned on in the case of AC power supply)

sudo gedit /etc/laptop-mode/laptop-mode.conf

4. Enter the following command: start laptop-mode

sudo laptop_mode start

     or: 

sudo laptop_mode start force

Reference: linux study notes (7) = "unable to wake up after ubuntu hangs - solve [transfer]_crazybird_Sina Blog

Guess you like

Origin blog.csdn.net/qq_43542689/article/details/130041610