This article explains how to install Deepin Desktop Environment Run on Ubuntu 20.04 or 20.10, and Linux distributions based on these Ubuntu versions, such as Linux Mint20.x. If you no longer want to use it, you will also find instructions on how to delete it.
Deepin Desktop Environment (Deepin DE or DDE) is written in Qt and uses dde-kwin as its window manager (a set of patches for KDE Plasma window manager).By default in Go deep, This is a Linux distribution with a major Chinese user group, which contains a combination of open source and proprietary programs, including Google Chrome, Spotify, Steam and WPS Office.
Although it is mainly developed for the Deepin Linux distribution, the Deepin desktop environment can be used in the repositories of many Linux distributions, such as Arch Linux, Fedora, etc. Ubuntu (and Debian) has some Deepin applications in its repositories, but not in the desktop environment.
By default, DDE also comes with a community-maintained release: Ubuntu DDE (There is also Manjaro Deepin, but it is no longer available). In fact, if you want to use the Deepin desktop environment on top of Ubuntu, the best solution is to use UbuntuDDE, which is an unofficial Ubuntu mix with DDE by default. Its first version is UbuntuDDE Remix 20.04 based on Ubuntu 20.04 LTS Focal Fossa, and there is also a 20.10 version with DDE in Deepin v20.
However, if you want to install Deepin Desktop Environment on an existing Ubuntu 20.04 or 20.10 installation and a Linux distribution based on it (Linux Mint 20.x, Pop!_OS, etc.), please use the following instructions.
It is worth noting that for Ubuntu 20.04 and Linux Mint 20.x, the packages in the PPA of the Ubuntu DDE stable release are older than those in Ubuntu 20.10 (this is a variety of versions, look here). On Ubuntu 20.04, by default, the file manager, settings and docking look like this:
On Ubuntu 20.10 using Deepin v20’s Deepin desktop environment, by default, they look like this:
[[Tip]]The file manager may display a large number of mounted volumes on Ubuntu.You can hide it from DDE file manager
Settings - > Other -> Hide system disk.
From my test, I can tell you that Deepin Desktop requires about 2.2 GB of space to install the software package, and another 600 MB of space for downloading the archive (DEB software package). This is incorrect because it depends on how many packages you have installed from the DDE dependencies.
Please follow the steps below to install Deepin desktop environment on Ubuntu 20.04 / Linux Mint 20.x or Ubuntu 20.10.
1. Add UbuntuDDE stable version PPA
On Ubuntu 20.04 or 20.10, Linux Mint 20.x, etc., use the following command to add the UbuntuDDE stable release PPA:
sudo add-apt-repository ppa:ubuntudde-dev/stablesudo apt-get update
2. Install Deepin desktop environment on Ubuntu 20.04 or 20.10/Linux Mint 20.x
Next, for Ubuntu 20.04 or Linux Mint 20.x, use the following command to install the Deepin desktop environment:
sudo apt install ubuntudde-desktop ubuntudde-dde dde-session-ui
For Ubuntu 20.10, use the following command to install the Deepin desktop environment instead:
sudo apt install ubuntudde-desktop
It is important to save the list of new packages that have been installed using the following command.
sudo apt install... command. By saving this list, you will be able to delete the Deepin desktop environment completely in the future in case you no longer use it.So when running
sudo apt install Command, don’t press
Enter Immediately (or scroll up). Instead, select and copy the list of packages under “The following new packages will be installed:” and save them in a text file.
Why is there a difference between Ubuntu 20.04 and 20.10?Try to install
ubuntudde-desktop Install the meta package separately on Ubuntu 20.04 and install it at the same time
dde-session-ui We solve this problem.As the Ubuntu 20.10 package does not have this problem, please install
ubuntudde-desktop For this Ubuntu version is sufficient.
3. Choose LightDM as the display manager
If you have not used LightDM yet (for example, if you are using Ubuntu on the Gnome desktop, you are using GDM3 instead of LightDM; on the other hand, Linux Mint uses LightDM by default), you will be
ubuntudde-desktop You are required to select the installation of the display manager-select lightdm to lock and log in screens using DDE.
Please note that on Linux Mint, you will continue to use the old login screen, I guess the DDE login/lock screen theme cannot be applied automatically in this case.
4. Complete the installation
After installing all packages, you will need to reboot the system. On the login screen, select “Depth” from the list of desktop environments (it may be selected by default), for example:
How to delete Deepin Desktop Environment
Therefore, do you want to completely remove the Deepin desktop environment from Ubuntu or Linux Mint? Please follow the steps below.
1. Restore GRUB to its default theme
Before deleting DDE, please close its custom GRUB theme:
Deepin Settings -> General Settings -> Boot Menu -> Theme - > Off.
In case you forget to do this and no longer install the Deepin desktop environment, you can still edit
/etc/default/grub As root (for example:
sudo nano /etc/default/grub) And comment out
GRUB_THEME. When finished, use to update GRUB
2. If you have not used LightDM before installing DDE, please switch back to the previous display manager (for example, if you are using Gnome, then GDM3).
To change the display manager, run the following command:
sudo dpkg-reconfigure lightdm
Then select the display manager from the list.
3. Delete all packages installed by the ubuntudde-desktop metapackage and DDE dependency.
In step 2 of the DDE installation instructions above, I told you to save a list of all new packages installed when you run the following command.
sudo apt install ubuntudde-desktop command. Now it’s time to use the package list. You need to remove all these packages (for example, use “
sudo apt remove ...“).
4. Clear Ubuntu DDE PPA
The UbuntuDDE PPA has some packages (and may be added in the future) that are already in the Ubuntu repository but have been upgraded with this PPA. To restore these packages from the Ubuntu repository to the version, we can use ppa-purge.
Install ppa-purge on Ubuntu/Linux Mint:
sudo apt install ppa-purge
Now, you can use the following methods to clear PPA:
sudo ppa-purge ppa:ubuntudde-dev/stable
- Linux Mint:
sudo ppa-purge -d focal ppa:ubuntudde-dev/stable
Use is important
-d focal On Linux Mint, otherwise the ppa-purge command will delete some important packages, such as the Cinnamon desktop. Therefore, if you use Linux Mint, make sure to use the correct commands.
5. Delete the customized Deepin font configuration file
Deepin also installed its own font configuration. To revert to the previous font configuration, delete the deep font configuration file:
DDE is no longer installed on your system, so you can log in to the previously used session.
If you deleted the Deepin desktop environment while logging in, and the restart button no longer works, please type the following to restart
sudo reboot At the terminal.