Home > System Tutorial > LINUX > body text

How to restart a stuck desktop in Linux? Two ways to refresh your Linux desktop

WBOY
Release: 2024-01-08 17:09:06
forward
1034 people have browsed it

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.

linux桌面卡死怎么重启? linux重启刷新桌面的两种方法

2. Select "Keyboard and Language" in the control center.

linux桌面卡死怎么重启? linux重启刷新桌面的两种方法

3. After entering, click " Shortcut Key".

linux桌面卡死怎么重启? linux重启刷新桌面的两种方法

4. Scroll to the bottom and you will see the custom shortcut keys added.

linux桌面卡死怎么重启? linux重启刷新桌面的两种方法

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.

linux桌面卡死怎么重启? linux重启刷新桌面的两种方法

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.

linux桌面卡死怎么重启? linux重启刷新桌面的两种方法

Method 2, command operation

1. First, click "Launcher" on the taskbar, find Deepin Terminal and open the terminal.

linux桌面卡死怎么重启? linux重启刷新桌面的两种方法

2. After opening the terminal, you can restart the desktop through the following command.

linux桌面卡死怎么重启? linux重启刷新桌面的两种方法

3. You can also use the service script to operate, and the effect is the same.

linux桌面卡死怎么重启? linux重启刷新桌面的两种方法

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!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!