Deepin desktop version of the Manjaro community is no longer maintained, want to use deepin desktop also need to install their own, the installation process encountered more problems, recorded.

Deepin desktop version of the Manjaro

Step 1: Install Manjaro

I downloaded the Plasma Desktop version of Manjaro, which is the KDE version, and other versions should be similar. Update your system after the installation is complete.

Step 2: Install xorg

Xorg is an open source implementation of the X Window System, on which most current window managers or desktop systems are based. deepin needs to use it.

1
sudo pacman -S xorg xorg-server

Step 3: Install Deepin Desktop Environment

1
sudo pacman -S deepin

Step 4: Install additional Deepin software (optional)

1
sudo pacman -S deepin-extra

Note that selecting Install All results in the following error.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
错误:无法提交处理 (有冲突的文件)
/usr/bin/dde-device-formatter 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_am_ET.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_ar.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_ast.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_bg.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_bn.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_ca.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_cs.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_da.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_de.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_el.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_es.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_fi.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_fr.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_gl_ES.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_hr.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_hu.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_id.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_it.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_ja.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_ko.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_lt.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_ml.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_ms.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_nb.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_ne.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_nl.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_pa.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_pl.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_pt.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_pt_BR.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_ru.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_sk.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_sl.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_sr.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_sv.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_ta.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_tr.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_ug.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_uk.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_zh_CN.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
/usr/share/dde-device-formatter/translations/dde-device-formatter_zh_TW.qm 同时存在于 'dde-device-formatter' 和 'deepin-device-formatter'
发生错误,没有软件包被更新。

After analysis, it was found that there is a conflict in the deepin-extra group dde device-formatter, and the solution is relatively simple, that is, do not install dde device-formatter.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
sudo pacman -S deepin-extra
:: 在组 deepin-extra 中有 22 成员:
:: 软件仓库 community
   1) dde-device-formatter  2) deepin-album  3) deepin-boot-maker  4) deepin-calculator  5) deepin-camera
   6) deepin-clipboard  7) deepin-clone  8) deepin-community-wallpapers  9) deepin-compressor
   10) deepin-device-formatter  11) deepin-draw  12) deepin-editor  13) deepin-font-manager  14) deepin-movie
   15) deepin-music  16) deepin-picker  17) deepin-printer  18) deepin-reader  19) deepin-screen-recorder
   20) deepin-screensaver-pp  21) deepin-terminal  22) deepin-voice-note

输入某个选择 ( 默认=全部选定 ): 2-22

Step 5: Configure lightdm display manager

Common display managers.

  • Entrance - EFL-based display manager, highly experimental in nature.
  • GDM - GNOME display manager.
  • KDM - KDE4 display manager (no longer in further development).
  • LightDM - Cross-desktop display manager, can use various front-ends written by any toolset. (ubuntu defaults to this)
  • LXDM - LXDE display manager, can be used independently of the LXDE desktop environment.
  • MDM - MDM display manager, used in Linux Mint, a fork of GDM 2.
  • SDDM - QML-based display manager, successor to kdm for KDE 4; recommended for Plasma 5 and LXQt.
  • SLiM - Lightweight and elegant graphical login solution (no longer in development).
  • XDM - X display manager with XDMCP, host selection support.

Deppin uses lightdm, so installation and configuration is required:

1
2
sudo pacman -S lightdm
sudo nano /etc/lightdm/lightdm.conf

Find the following line.

1
# greeter-session = Session to load for greeter

Remove the comment and modify it as follows.

1
greeter-session = lightdm-deepin-greeter

After saving and starting the service, you can find that the service does not start properly:

1
2
3
sudo systemctl start lightdm.service
Job for lightdm.service failed because the control process exited with error code.
See "systemctl status lightdm.service" and "journalctl -xeu lightdm.service" for details.

View service status.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
systemctl status lightdm.service
× lightdm.service - Light Display Manager
     Loaded: loaded (/usr/lib/systemd/system/lightdm.service; disabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Sat 2022-06-25 20:36:07 CST; 22s ago
       Docs: man:lightdm(1)
    Process: 28476 ExecStart=/usr/bin/lightdm (code=exited, status=1/FAILURE)
   Main PID: 28476 (code=exited, status=1/FAILURE)
        CPU: 26ms

6月 25 20:36:07 X230 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
6月 25 20:36:07 X230 systemd[1]: Stopped Light Display Manager.
6月 25 20:36:07 X230 systemd[1]: lightdm.service: Start request repeated too quickly.
6月 25 20:36:07 X230 systemd[1]: lightdm.service: Failed with result 'exit-code'.
6月 25 20:36:07 X230 systemd[1]: Failed to start Light Display Manager.

View Log.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
journalctl -xeu lightdm.service 
░░ lightdm.service 单元已失败。
░░
░░ 结果为"failed"。
6月 25 20:36:07 X230 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ Automatic restarting of the unit lightdm.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
6月 25 20:36:07 X230 systemd[1]: Stopped Light Display Manager.
░░ Subject: lightdm.service 单元已结束停止操作
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ lightdm.service 单元已结束停止操作。
6月 25 20:36:07 X230 systemd[1]: lightdm.service: Start request repeated too quickly.
6月 25 20:36:07 X230 systemd[1]: lightdm.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ The unit lightdm.service has entered the 'failed' state with result 'exit-code'.
6月 25 20:36:07 X230 systemd[1]: Failed to start Light Display Manager.
░░ Subject: lightdm.service 单元已失败
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ lightdm.service 单元已失败。
░░
░░ 结果为"failed"。

Installing the service, the following error is reported.

1
2
sudo systemctl enable lightdm.service
Failed to enable unit: File /etc/systemd/system/display-manager.service already exists and is a symlink to /usr/lib/systemd/system/sddm.service.

That is, currently in the desktop environment is using sddm, so can not run at the same time, the solution is also relatively simple, CTRL + ALT + F2 into the command line environment. Execute the following command.

1
2
3
4
sudo systemctl disable sddm.service
sudo systemctl stop sddm.service
sudo systemctl enable lightdm.service
sudo systemctl start lightdm.service

Once done, reboot and you will be on the deepin desktop.

Step 6: Configure the deepin-kwin window manager

Install screenfetch and check which window manager is currently in use.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
sudo pacman -S screenfetch

[qw@X230 ~]$ screenfetch
/usr/bin/screenfetch:行1802: 835772416-:语法错误: 需要操作数 (错误符号是 "-")

 ██████████████████  ████████     qw@X230
 ██████████████████  ████████     OS: Manjaro 21.3.1 Ruah
 ██████████████████  ████████     Kernel: x86_64 Linux 5.15.49-1-MANJARO
 ██████████████████  ████████     Uptime: 22m
 ████████            ████████     Packages: 1417
 ████████  ████████  ████████     Shell: bash
 ████████  ████████  ████████     Resolution: 1366x768
 ████████  ████████  ████████     DE: GNOME
 ████████  ████████  ████████     WM: Deepin WM
 ████████  ████████  ████████     WM Theme: deepin
 ████████  ████████  ████████     GTK Theme: Adwaita [GTK2/3]
 ████████  ████████  ████████     Icon Theme: WhiteSur-dark
 ████████  ████████  ████████     Font: Noto Sans,  10
 ████████  ████████  ████████     Disk: 70G / 408G (18%)
                                  CPU: Intel Core i5-3320M @ 4x 3.3GHz [63.0°C]
                                  GPU: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
                                  RAM: 835772416-

You can see that the current use is Deepin WM, deepin-wm is dde old window manager, upstream is gnome mutter. but mutter is heavier than kwin, so now deepin-kwin is upstream is kwin, kwin is relatively light and fast a little, still in the perfect stage, the initial use will be more laggy.

Deepin WM can also be used, but there will be problems such as desktop wallpaper can not be replaced, so it is still recommended to install deepin-kwin.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
sudo pacman -S deepin-kwin
[sudo] qw 的密码:
正在解析依赖关系...
正在查找软件包冲突...

软件包 (1) deepin-kwin-5.4.26-3

全部安装大小:  1.11 MiB

:: 进行安装吗? [Y/n] y
(1/1) 正在检查密钥环里的密钥                                       [####################################] 100%
(1/1) 正在检查软件包完整性                                         [####################################] 100%
(1/1) 正在加载软件包文件                                           [####################################] 100%
(1/1) 正在检查文件冲突                                             [####################################] 100%
错误:无法提交处理 (有冲突的文件)
deepin-kwin: 文件系统中存在 /etc/xdg/kdeglobals (由 manjaro-kde-settings 所有)
deepin-kwin: 文件系统中存在 /etc/xdg/kwinrc (由 manjaro-kde-settings 所有)
发生错误,没有软件包被更新。

Solution:

1
2
sudo pacman -R manjaro-kde-settings
sudo pacman -S deepin-kwin

Log out or reboot the system, and the desktop environment is now installed.