-
Notifications
You must be signed in to change notification settings - Fork 14
Installing Deepin Desktop Environment
First, highly recommend to enable testing keyword.
Setting ACCEPT_KEYWORDS="~amd64" in /etc/portage/make.conf (or ACCEPT_KEYWORDS="~x86" if your architecture is x86).
Then set your system to use the proper profile and USE flags, it should be different on OpenRC and Systemd:
Using the basic "desktop" profile
# eselect profile set default/linux/amd64/17.0/desktop
Add "elogind" USE flag in /etc/portage/make.conf, it's also recommended to disable support for other session trackers to avoid conflicts:
/etc/portage/make.conf
USE="elogind -consolekit -systemd"
Using the "systemd" profile
# eselect profile set default/linux/amd64/17.0/systemd
Add "X" USE flag in /etc/portage/make.conf.
After setting, ensure everything is up-to-date and remerge @world to make the changes take effect:
# emerge --sync
# emerge --deep --with-bdeps=y --changed-use --update --ask --verbose @world
Set proper USE flags for dde-base/dde-meta, as describe below:
USE flag | Default | Description |
---|---|---|
elogind | Use sys-auth/elogind to make DDE runs under OpenRC | |
extra | Install extra applicaions developed by Deepin | |
grub | Install Deepin themes for sys-boot/grub | |
kwin | Use the WM based on kwin | |
manual | Install dde-extra/dde-help User Manual | |
multimedia | Install Deepin multimedia suite | |
mutter | Use the WM based on mutter | |
plymouth | Install Deepin themes for sys-boot/plymouth | |
policykit | Yes | Enable PolicyKit authentication support |
screensaver | Install Deepin Screensaver module | |
systemd | Run with Systemd | |
terminal | Yes | Install dde-extra/deepin-terminal Terminal Emulator |
turbo | Enable DTK Apps Turbo by dde-extra/deepin-turbo |
Then emerge DDE:
# emerge --ask --verbose --keep-going dde-base/dde-meta
Assuming that you have setup X11 properly, now going to configure DDE.
There are two greeter we can choose -- lightdm-gtk-greeter and lightdm-deepin-greeter. But lightdm-deepin-greeter cannot run without any normal user, so we use lightdm-gtk-greeter by default.
/etc/lightdm/lightdm.conf
[Seat:*]
greeter-session=lightdm-gtk-greeter
If there is no any normal loginable user in your system, lightdm-deepin-greeter won’t work.
Then adding one and setting password. For instance, to create a user called aten who is member of the wheel, users, and audio groups:
# useradd -m -G users,wheel,audio -s /bin/bash aten
# passwd aten
Password: (Enter the password for aten)
Re-enter password: (Re-enter the password to verify)
After that, we are going to set up default services, it's different on OpenRC and Systemd:
Emerging x11-apps/xdm and Changing the DISPLAYMANGER value in the xdm configuration file to use lightdm.
/etc/conf.d/xdm
DISPLAYMANAGER="lightdm"
Set dbus, xdm, NetworkManager and elogind to come up on boot, and disable dhcpcd if you have enabled it.
# rc-update add dbus default
# rc-update add xdm default
# rc-update add NetworkManager default
# rc-update del dhcpcd default
# rc-update add elogind boot
Start up DDE
# openrc
Enable NetworkManager, lightdm to be started at boot time.
# systemctl enable NetworkManager
# systemctl enable lightdm
Start up and login:
# systemctl start NetworkManager
# systemctl start lightdm