Home > Article > System Tutorial > How to restart a stuck desktop in Linux? Two ways to refresh your Linux desktop
Under deepin linux, sometimes you will encounter desktop lag. At this time, you can also use a similar method. You can refer to this experience for details.
Method 1. Set shortcut key operations
1. Restarting the desktop is similar to the F5 refresh function on Windows. The operations are often very frequent. It is troublesome to enter commands every time. You can add a shortcut key for this operation. First click on "Control Center" on the taskbar.
2. Select "Keyboard and Language" in the control center.
3. After entering, click " Shortcut Key".
4. Scroll to the bottom and you will see the custom shortcut keys added.
5. Click Start to add a custom shortcut key, and set the command to the following command
systemctl restart lightdm
The setting is completed, just save it.
6. At this time, press the F5 key, and the prompt as shown below will appear. Enter the password to restart and refresh the desktop.
Method 2, command operation
1. First, click "Launcher" on the taskbar, find Deepin Terminal and open the terminal.
2. After opening the terminal, you can restart the desktop through the following command.
3. You can also use the service script to operate, and the effect is the same.
In Windows systems, if the desktop is stuck, you can improve system performance by re-running the explore.exe process. For Linux, you can only use the above method. I hope it can help everyone. Please continue to pay attention to this site.
related suggestion:
How to use vi editing software in Linux?
What should I do if the Chrome address bar input is stuck under Linux?
How to restart the network card in Linux system? Three tutorials for restarting the network card in Linux
The above is the detailed content of How to restart a stuck desktop in Linux? Two ways to refresh your Linux desktop. For more information, please follow other related articles on the PHP Chinese website!