search
HomeSystem TutorialLINUXHow 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.

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!

Statement
This article is reproduced at:脚本之家. If there is any infringement, please contact admin@php.cn delete
How to Automatically Restart a Failed Service in LinuxHow to Automatically Restart a Failed Service in LinuxApr 28, 2025 am 09:39 AM

This guide details how to configure automatic service restarts in Linux using systemd, enhancing system reliability and minimizing downtime. System administrators often rely on this functionality to ensure critical services, such as web servers (Apa

10 Hidden Linux Commands Every Sysadmin Should Know10 Hidden Linux Commands Every Sysadmin Should KnowApr 28, 2025 am 09:35 AM

As Linux users, we often rely on commonly used commands ls, grep, awk, sed and find to complete the work. But Linux has a large number of lesser-known commands that can save time, automate tasks and simplify workflows. This article will explore some underrated but powerful Linux commands that deserve more attention. rename – efficient batch rename files The rename command is the savior when you need to rename multiple files at once. Without using loops containing mv, rename allows you to easily apply complex renaming patterns. Change all .txt files to .log. rename 's/\.txt$/\.log/' *

How to List All Running Services Under Systemd in LinuxHow to List All Running Services Under Systemd in LinuxApr 28, 2025 am 09:29 AM

Linux systems provide various system services (such as process management, login, syslog, cron, etc.) and network services (such as remote login, email, printer, web hosting, data storage, file transfer, domain name resolution (using DNS), dynamic IP address allocation (using DHCP), and so on). Technically, a service is a process or group of process (usually known as a daemon) that runs continuously in the background, waiting for incoming requests (especially from the client). Linux supports different ways to manage services (start, stop, restart, enable automatic startup at system startup, etc.), usually through a process or service manager. Almost all modern Linux distributions now use the same

CrossOver 25: Run Windows Software and Games on LinuxCrossOver 25: Run Windows Software and Games on LinuxApr 28, 2025 am 09:27 AM

Run Windows Software and Games on Linux with CrossOver 25 Running Windows applications and games on Linux is now easier than ever, thanks to CrossOver 25 from CodeWeavers. This commercial software solution lets Linux users run a wide variety of Wind

pCloud - The Most Secure Cloud Storage [50% Off Offer]pCloud - The Most Secure Cloud Storage [50% Off Offer]Apr 28, 2025 am 09:26 AM

Secure Your Data with pCloud: A Comprehensive Guide to Linux Installation pCloud, a leading secure cloud storage service, provides a robust platform for managing your files and data. This guide details the installation process on Linux systems. About

MangoHud - Monitor FPS, CPU & GPU Usage in Linux GamesMangoHud - Monitor FPS, CPU & GPU Usage in Linux GamesApr 28, 2025 am 09:25 AM

MangoHud: A powerful tool for real-time monitoring of Linux gaming performance MangoHud is a powerful and lightweight tool designed for gamers, developers, and anyone who wants to monitor system performance in real time. It acts as an overlay for Vulkan and OpenGL applications, displaying important information such as FPS, CPU and GPU usage, temperature, etc. This article will explore the functions, working principles and usage of MangoHud, and provide step-by-step instructions for installing and configuring MangoHud on Linux systems. What is MangoHud? MangoHud is an open source project available on GitHub and aims to provide a simple and customizable way to monitor

5 Must-Know Linux Command Line Archive Tools – Part 15 Must-Know Linux Command Line Archive Tools – Part 1Apr 28, 2025 am 09:23 AM

Managing archived files is a common task in Linux. This article, the first of a two-part series, explores five powerful command-line archive tools, detailing their features and usage with examples. 1. The tar Command: A Versatile Archiving Utility t

Top 7 Tools to Compare Files in Linux (with Examples)Top 7 Tools to Compare Files in Linux (with Examples)Apr 28, 2025 am 09:21 AM

This guide explores various methods for comparing text files in Linux, a crucial task for system administrators and developers. We'll cover command-line tools and visual diff tools, highlighting their strengths and appropriate use cases. Let's assum

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor