将 Ubuntu 的紫色登录屏幕更改为 GNOME 3.36

dwa*_*arf 5 gnome gdm lock-screen login 20.04

我的登录屏幕上的启动是Ubuntu的紫色登录屏幕。挂起时,登录屏幕是GNOME 的新屏幕,桌面背景模糊。我怎样才能摆脱 Ubuntu而只有 GNOME?

  • 设置应用程序显示:Ubuntu 20.04 LTS、GNOME 3.36.1。
  • /etc/X11/default-display-manager阅读/usr/sbin/gdm3,尽管我不知道 Wayland 案例中的默认设置是什么。
  • sudo gdm3 --version读取GDM 3.34.1(为什么不是 3.36.1?)

注意:在 Ubuntu 的登录屏幕上,我可以选择 GNOME(我使用的)/GNOME Xorg/Ubuntu/Ubuntu Wayland。我有一种感觉这是相关的,我基本上想摆脱所有 Ubuntu(除了 OS ofc)而只保留 GNOME

编辑:显示 GNOME 锁定屏幕开始时单击切换用户按钮后更改为 Ubuntu 锁定屏幕的视频/屏幕截图

提前致谢。

UnK*_*OWn 2

好吧..你的视频说得很清楚了。

为此,您需要运行以下命令并为此文件选择相应的编号。/usr/share/gnome-shell/gnome-shell-theme.gresource

sudo update-alternatives --config gdm3-theme.gresource 
Run Code Online (Sandbox Code Playgroud)

输出示例:

    $ sudo update-alternatives --config gdm3-theme.gresource 
    [sudo] password for admin: 
    There are 4 choices for the alternative gdm3-theme.gresource (providing /usr/share/gnome-shell/gdm3-theme.gresource).

      Selection    Path                                                           Priority   Status
    ------------------------------------------------------------
      0            /usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource   15        auto mode
      1            /usr/local/share/gnome-shell/theme/blur.gresource               0         manual mode
      2            /usr/local/share/gnome-shell/theme/focalgdm3.gresource          0         manual mode
    * 3            /usr/share/gnome-shell/gnome-shell-theme.gresource              10        manual mode
      4            /usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource   15        manual mode

Press <enter> to keep the current choice[*], or type selection number:
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

要从屏幕上删除“UbuntuLogo”图像,请打开文件/etc/gdm3/greeter.dconf-defaults并导航到此部分。

# Login manager options
# =====================
[org/gnome/login-screen]
#logo='/usr/share/images/vendor-logos/logo-text-version-128.png'
Run Code Online (Sandbox Code Playgroud)

并取消注释最后一行..它应该看起来像这样..

# Login manager options
# =====================
[org/gnome/login-screen]
logo=''
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

或者如果您想放置自己的图像..

# Login manager options
# =====================
[org/gnome/login-screen]
logo='/home/admin/myubuntu.jpg'
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述