current position:Home>Centos stream 9 desktop applications all disappeared, how to do?

Centos stream 9 desktop applications all disappeared, how to do?

2022-08-06 07:54:10CSDN q&a

Phenomena and background of the problem

Not long ago, I bought a new notebook, installed centos stream 9, downloaded jdk18, installed maven, and performed the following operations in order to set environment variables for jdk and maven
**nano /etc/profile.d/ **

The editing content of the .sh file is roughly as follows
export JAVA_HOME=/usr/java/jdk root directory
export PATH=$JAVA_HOME/bin:$PATH

export M2_HOME=/usr/local/maven/maven root directory
export PATH=$M2_HOME/bin:$PATH

After editing and saving, I restarted the system. As a result, after booting up, I couldn't find all kinds of applications on the desktop. The settings menu in the upper right corner of the desktop also disappeared. The most difficult thing is that the command line interface Terminal cannot be opened., the shortcut keys previously set for Terminal are useless, the whole situation is as follows:



Have you ever encountered this situation?How to solve it?

copyright notice
author[CSDN q&a],Please bring the original link to reprint, thank you.

Random recommended