Deepin Desktop Environment

From ArchWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The Deepin Desktop Environment (DDE) is the desktop environment of the deepin Linux distribution. It is designed by the Wuhan Deepin Technology Co.,Ltd. deepin is a Linux distribution devoted to providing a beautiful, easy to use, safe and reliable system for global users. deepin is an open source GNU/Linux operating system, based on Linux kernel and mainly on desktop applications, supporting laptops, desktops, and all-in-ones. The DDE is comprised of the Desktop Environment, deepin Window Manager, Control Center, Launcher and Dock.

Installation

Install deepin for the basic components for a minimal desktop interface.

Optionally, also install deepin-extra for some extra applications for a more complete desktop environment.

Starting

Via a display manager

LightDM is the default display manager for DDE, and it will installed as dependency. Simply enable lightdm.service to use it.

Note: A valid home directory must exist for a user other than root for the greeter to work.
Tip: Change the greeter for DDE's "lightdm-deepin-greeter", see LightDM#Greeter.

Via xinit

To use Deepin via xinit, you will need to add the following to your .xinitrc file.

~/.xinitrc
exec startdde

Known issues

Tango-inaccurate.pngThe factual accuracy of this article or section is disputed.Tango-inaccurate.png

Reason: DDE developers did reply and it looks like at least some of the bugs have been fixed. Needs to be confirmed if any of these vulnerabilities remain (Discuss in Talk:Deepin Desktop Environment#Security_issues)
Warning: There are known security vulnerabilites in DDE, reported by developers of the openSUSE distribution to the DDE developers. The DDE developers did not respond to the reports [1].

Configuration

Networking

NetworkManager is integrated in DDE network administration and is installed together. Enable NetworkManager.service to use it.

Customize touchpad gesture behavior

Deepin does not officially support customizing the gesture behaviors, but it is possible to manually change this by editing the configuration file /usr/share/dde-daemon/gesture.json.

For instance, if you want to disable tapping gesture activity, set its action to none:

/usr/share/dde-daemon/gesture.json
[
    ...
    {
        "Name": "tap",
        "Direction": "none",
        "Fingers": 3,
        "Action": {
            "Type": "built-in",
            "Action": "none"
        }
    },
    ...
]

To apply the changes, reboot your system or log off and log in again.

Changing default deepin sounds

While this is not officially supported, it is possible to change or even remove the default sounds that are used by Deepin (ex. login sound). Simply replace the sounds in the directory:

/usr/share/sounds/deepin/stereo

Note: If you simply want to disable the sound effects entirely, it can be done from Deepin's system settings (sound section).

Troubleshooting

No background after resuming from standby

Because of the way the NVIDIA driver stores its FBOs [2], it happens that after resuming from standby the background suddenly disappears, leaving only a white screen with possibly some color noise on it. The bug appears to be fixed in GNOME upstream, but the Deepin desktop environment still has it.

A possible workaround would be restarting the window manager every time the computer resumes from suspension. A way to do that would be creating the following systemd service

/etc/systemd/system/resume@.service
[Unit]
Description=User resume actions
After=suspend.target

[Service]
User=%I
Type=simple
ExecStart=/usr/bin/deepin-wm-restart.sh

[Install]
WantedBy=suspend.target

That executes the following script

/usr/bin/deepin-wm-restart.sh
#!/bin/bash
export DISPLAY=:0
deepin-wm --replace

Once those two files are created in the correct directories, in order to enable the script it is sufficient to run these commands:

# chmod +x /usr/bin/deepin-wm-restart.sh
# systemctl enable resume@user
# systemctl start resume@user 

The first command makes the script you created executable, the second makes sure that the service always start at boot and the last one starts the service immediately so you can test the workaround without having to reboot the system.

Wireless network does not connect

NetworkManager sets the MAC address generated randomly. This was already enabled by default, to disable it add the following lines to the NetworkManager configuration file.

/etc/NetworkManager/NetworkManager.conf
[device]
wifi.scan-rand-mac-address=no

Bluetooth Menu does not show up / work

Enable the bluetooth.service. This service is not enabled by default.

# systemctl enable bluetooth.service
# systemctl start bluetooth.service

Bug reporting

Any bugs related to Arch packaging should be reported in the bug tracker.

Any upstream related bugs should be reported here. All the Deepin developers will see the bug reports and solve them as soon as possible.

See also