From 8906907eba0038246b7e6ac325d312eee686a184 Mon Sep 17 00:00:00 2001 From: fanqinyuan Date: Fri, 18 Apr 2025 09:55:56 +0000 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E8=BF=9E=E6=8E=A5=E4=B8=8E?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E7=89=88=E6=9C=AC=E4=B8=8D=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fanqinyuan --- docs/zh/docs/desktop/Install_GNOME.md | 42 +++++++++++++-------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/docs/zh/docs/desktop/Install_GNOME.md b/docs/zh/docs/desktop/Install_GNOME.md index dc8ed6e3e..c9b091f79 100644 --- a/docs/zh/docs/desktop/Install_GNOME.md +++ b/docs/zh/docs/desktop/Install_GNOME.md @@ -8,27 +8,27 @@ GNOME既包含文件管理器,应用商店,文本编辑器等基础软件, 安装时,建议新建一个管理员用户。 -1. [下载](https://openeuler.org/zh/download/)openEuler ISO镜像并安装系统,更新软件源(需要配置Everything源,以及EPOL源,下面命令是在最小化安装系统的情况下安装GNOME)。 +1. [下载](https://www.openeuler.org/zh/download/archive/detail/?version=openEuler%2024.03%20LTS%20SP1)openEuler ISO镜像并安装系统,更新软件源(需要配置Everything源,以及EPOL源,下面命令是在最小化安装系统的情况下安装GNOME)。 -``` +```shell sudo dnf update ``` -2. 安装字库。 +2.安装字库。 -``` +```shell sudo dnf install dejavu-fonts liberation-fonts gnu-*-fonts google-*-fonts ``` -3. 安装Xorg。 +3.安装Xorg。 -``` +```shell sudo dnf install xorg-* ``` 这可能会安装很多没用的包,可以使用下面的命令安装必要的xorg相关包。 -``` +```shell sudo dnf install xorg-x11-apps xorg-x11-drivers xorg-x11-drv-ati \ xorg-x11-drv-dummy xorg-x11-drv-evdev xorg-x11-drv-fbdev xorg-x11-drv-intel \ xorg-x11-drv-libinput xorg-x11-drv-nouveau xorg-x11-drv-qxl \ @@ -39,9 +39,9 @@ sudo dnf install xorg-x11-apps xorg-x11-drivers xorg-x11-drv-ati \ xorg-x11-xbitmaps xorg-x11-xinit xorg-x11-xkb-utils ``` -4. 安装GNOME及组件。 +4.安装GNOME及组件。 -``` +```shell sudo dnf install adwaita-icon-theme atk atkmm at-spi2-atk at-spi2-core baobab \ abattis-cantarell-fonts cheese clutter clutter-gst3 clutter-gtk cogl dconf \ dconf-editor devhelp eog epiphany evince evolution-data-server file-roller folks \ @@ -66,58 +66,58 @@ sudo dnf install adwaita-icon-theme atk atkmm at-spi2-atk at-spi2-core baobab \ yelp-xsl zenity ``` -5. 启动gdm显示管理器。 +5.启动gdm显示管理器。 -``` +```shell sudo systemctl enable gdm ``` -6. 设置系统默认以图形界面登录。 +6.设置系统默认以图形界面登录。 -``` +```shell sudo systemctl set-default graphical.target ``` 重启验证。 -``` +```shell sudo reboot ``` -7. 当gdm不能工作 +7.当gdm不能工作 如果默认安装了gdm,则停用gdm -``` +```shell sudo systemctl disable gdm ``` 安装lightdm显示管理器替代 -``` +```shell sudo dnf install lightdm lightdm-gtk ``` 设置默认桌面为GNOME,通过root权限用户设置 -``` +```shell echo 'user-session=gnome' >> /etc/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf ``` 启动lightdm显示管理器 -``` +```shell sudo systemctl enable lightdm ``` 设置系统默认以图形界面登录 -``` +```shell sudo systemctl set-default graphical.target ``` 重启验证 -``` +```shell sudo reboot ``` -- Gitee