跳转至内容

Deepin 桌面环境

来自 ArchWiki

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。

安装

Install deepin and deepin-kwin for the basic components for a minimal desktop interface。

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

启动

通过显示管理器

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

通过 xinit

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

~/.xinitrc
exec startdde

已知问题

Warning There are known security vulnerabilites in DDE, reported by developers of the openSUSE distribution to the DDE developers. The openSUSE security team attests Deepin to be "lacking security culture" and does not recommend using Deepin [1]

配置

网络

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

自定义触摸板手势行为

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。

更改默认的 Deepin 声音

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)。

更改系统语言

The environment variable LANG of Deepin can be affected by ~/.dde_env, and it has the highest precedence at the moment, the /etc/locale.conf and $XDG_HOME/.config/locale.conf will be ignored if this file exists

~/.dde_env
# DDE user env file, bash script
export LANG="zh_CN.UTF-8";
export LANGUAGE="";

故障排除

从待机恢复后没有背景

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 to create 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, make the script executable and start/enable resume@user

无线网络无法连接

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

蓝牙菜单未显示 / 未工作

Start/enable bluetooth.service. This service is not enabled by default。

双重启动时窗口快捷键无效

When home directory is shared in dual boot, ~/.config/kglobalaccels can lead to strange shortcut behavior and we can try renaming this file to another name。

Bug 报告

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。

参见

© . This site is unofficial and not affiliated with Arch Linux.

Content is available under GNU Free Documentation License 1.3 or later unless otherwise noted.