Deepin Desktop Environment

From ArchWiki
Revision as of 17:41, 2 April 2019 by Zelin (talk | contribs) (add method to disable specific gesture activity)
Jump to navigation Jump to search

The Deepin Desktop Environment (DDE) is the desktop environment of the Chinese Deepin Linux distribution.

Installation

To get a minimal desktop interface, you may start by installing deepin group. This will pull all the basic components.

The deepin-extra groups contains some extra applications for a more complete desktop environment.

To be able to use the integrated network administration, the networkmanager package is required, and the NetworkManager.service must be started and enabled.

Starting

Via a display manager

To use the default DDE's lightdm greeter you have to modify the configuration file under the [Seat:*] section, to state:.

/etc/lightdm/lightdm.conf
[Seat:*]
...
greeter-session=lightdm-deepin-greeter

Note that a valid home directory must exist for a user other than root for the greeter to work.

Via xinit

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

~/.xinitrc
exec startdde

Configuration

Customize touchpad gesture behavior

Deepin doesn't officially support customizing the gesture behaviors, but it is possible to manually change this by editing the configuration file. Configuration file directory:

/usr/share/dde-daemon/gesture.json

If you want to disable specific gesture activity. Set "Action" be "none". For example:

{
       "Name": "tap",
       "Direction": "none",
       "Fingers": 3,
       "Action": {
           "Type": "built-in",
           "Action": "none"
       }
   }

Reboot or re-login after you edit the file.

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 [1], 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's 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

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: Shouldn't Arch packaging related bugs be reported at the Arch bug tracker? (Discuss in Talk:Deepin Desktop Environment#)

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