diff --git a/en/install/install.md b/en/install/install.md index 9f7f3b677684bbb41c057f873f202da9de16e3f4..482f1b474c15c3ef7aa6f11ce021ab6f7f4fc646 100644 --- a/en/install/install.md +++ b/en/install/install.md @@ -127,6 +127,54 @@ Now available in deepin App Store and Spark Store for one-click download and ins ![deepin App Store](/news/development/gxde-lsg/deepin-appstore.jpg) +## Using GXDE on archlinux + +### GXDE Archlinux Pacman Source +We provide an Archlinux pacman source at https://repo.gxde.top/gxde-arch/, with prebuilt packages for `x86_64` and `aarch64` (Arch Linux ARM). + +Append the following to the end of `/etc/pacman.conf`: +```ini +[gxde] +SigLevel = Optional TrustAll +Server = https://repo.gxde.top/gxde-arch/$arch +``` + +Then refresh the databases and upgrade: +```shell +$ sudo pacman -Syu +``` + +You can list all packages in the source with: +```shell +$ pacman -Sl gxde +``` + +Currently the source is not signed, hence `SigLevel = Optional TrustAll`. A signing will be provided soon. + +#### Installing the Desktop +Install the whole desktop with one meta package: +```shell +$ sudo pacman -S gxde-desktop-full +``` + +Or pick the meta packages you need; the DTK and infrastructure meta packages are pulled in automatically: + +| Meta package | Contents | +| --- | --- | +| `gxde-core-git` | GXDE desktop core components, with the Flake Wayland compositor | +| `gxde-desktop-extras` | GXDE applications, the GXDE display manager (`gxdm-git`) and more | +| `gxde-desktop-full` | Everything above | + +Then enable the GXDE display manager (part of `gxde-desktop-extras`; install `gxdm-git` yourself if you only installed `gxde-core-git`): +```shell +$ sudo systemctl disable display-manager.service # only if another display manager is enabled +$ sudo systemctl enable gxdm.service +``` + +Reboot and choose the `GXDE` session (X11) or `gxde-flakewm` (Wayland) at the login screen. + +These meta packages carry the same names as the AUR bundles below, so installing them replaces the AUR packages. + ## Install GXDE on Docker > RDPDocker is a Docker image building and container creation tool with X11 and desktop environments, supporting the creation of Ubuntu, Debian, Arch Linux, Fedora systems, Lingmo, GNOME, Xfce4, X11, SSH and other environments. Meanwhile, users are allowed to remotely access the container through methods such as NoMachine, RDP, VNC, SSH, etc. This tool enables multiple users to share a host without virtualization and at extremely low cost. It is also very fast to create, can be used and opened at any time, and only occupies minimal memory and disk space. Docker only needs to be installed on the host. Supports running on headless Linux servers desktop, WSL2, LXC, and Android phones. diff --git a/install/install.md b/install/install.md index 2ef610ff41e5ee508f35624b7a6bdd49e6005235..537d0598cf3d3d4112c3c3b19d3df7e0aea93f12 100644 --- a/install/install.md +++ b/install/install.md @@ -122,6 +122,53 @@ GXDE LSG(Linux subsystem for GXDE)是一个允许用户在其它 Linux 发 ![deepin 应用商店](/news/development/gxde-lsg/deepin-appstore.jpg) +## 在 archlinux 上使用GXDE + +### GXDE Archlinux源 +我们在 https://repo.gxde.top/gxde-arch/ 上面提供一个Archlinux源,包含 `x86_64` 与 `aarch64`(Arch Linux ARM)的预编译软件包。 + +将以下内容追加到 `/etc/pacman.conf` 末尾: +```ini +[gxde] +SigLevel = Optional TrustAll +Server = https://repo.gxde.top/gxde-arch/$arch +``` + +然后刷新数据库并更新系统: +```shell +$ sudo pacman -Syu +``` + +可以用以下命令列出源中的所有软件包: +```shell +$ pacman -Sl gxde +``` + +当前这个源没有签名,因此需要`SigLevel = Optional TrustAll`。我们计划在不久补上Arch包签名。 + +#### 安装桌面 +用一个元包安装完整的桌面: +```shell +$ sudo pacman -S gxde-desktop-full +``` + +也可以按需选择元包,DTK 与基础组件的元包会自动安装: + +| 元包 | 内容 | +| --- | --- | +| `gxde-core-git` | GXDE 桌面核心组件,含 Flake Wayland 合成器 | +| `gxde-desktop-extras` | GXDE 应用、GXDE 显示管理器(`gxdm-git`)等 | +| `gxde-desktop-full` | 以上全部 | + +然后启用 GXDE 显示管理器(包含在 `gxde-desktop-extras` 中;只装了 `gxde-core-git` 的话请另行安装 `gxdm-git`): +```shell +$ sudo systemctl disable display-manager.service # 仅当已启用其他显示管理器时 +$ sudo systemctl enable gxdm.service +``` + +重启后在登录界面选择 `GXDE`(X11)或 `gxde-flakewm`(Wayland)会话。 +这些元包与 AUR 上的包同名,安装后会替换掉对应的 AUR 包。 + ## 在 Docker 使用 GXDE > RDPDocker是一个带有X11个和桌面环境的Docker镜像构建和容器创建工具,支持创建Ubuntu、Debian、ArchLinux、Fedora系统,支持Lingmo、GNOME、Xfce4、X11、SSH等环境。同时,允许用户通过NoMachine、RDP、VNC、SSH等方式远程访问容器。本工具以非虚拟化和极低开销的情况下,实现了多用户共享一台主机的办法,同时创建极快,随用随开,并且只占用内存、磁盘极少的空间,只需要主机安装Docker即可,支持无桌面的Linux服务器、WSL2、LXC、安卓手机运行。