Ubuntu 18.10 上有两个不同的登录屏幕!

Ubuntu 18.10 上有两个不同的登录屏幕!

因此,我安装了全新安装的 Ubuntu 18.10,并且确实有 ubuntu gdm3 的正常新登录屏幕。我一直在下载 gnome 主题,我注意到在完成所有操作后(不知道是否是由于安装新主题),当锁定计算机时,我仍然可以看到正常的锁定屏幕,而当我向上滑动时,我可以看到标准的登录屏幕:

  1. 锁定屏幕 在此处输入图片描述

  2. 登录屏幕 在此处输入图片描述

但是现在当我点击“以其他用户身份登录”时,情况变得很奇怪,我得到了一种新的不同类型的登录屏幕,这也是在徽标加载屏幕之后启动 ubuntu 时出现的(在这个登录屏幕上,点击也不起作用!):

  1. 第二个登录屏幕 在此处输入图片描述

编辑:抱歉,我忘了添加一个问题 - 这是什么(这是正常的吗?)以及如何将其恢复为默认值?

添加主题:名为“flat remix” 在此处输入图片描述

我会很高兴得到您的帮助谢谢!

答案1

flat-remix-gnome安装软件包后,
它会自动更新gdm3.css

$ sudo apt install flat-remix-gnome
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libfcitx-config4
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  flat-remix-gnome
0 upgraded, 1 newly installed, 0 to remove and 36 not upgraded.
Need to get 1,754 kB of archives.
After this operation, 19.8 MB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/daniruiz/flat-remix/ubuntu cosmic/main amd64 flat-remix-gnome amd64 3.30.13-1 [1,754 kB]
Fetched 1,754 kB in 33s (53.8 kB/s)                                            
Selecting previously unselected package flat-remix-gnome.
(Reading database ... 204723 files and directories currently installed.)
Preparing to unpack .../flat-remix-gnome_3.30.13-1_amd64.deb ...
Unpacking flat-remix-gnome (3.30.13-1) ...
Setting up flat-remix-gnome (3.30.13-1) ...
update-alternatives: using /usr/share/themes/Flat-Remix/gnome-shell/gnome-shell.css to provide /usr/share/gnome-shell/theme/gdm3.css (gdm3.css) in auto mode
$

恢复默认设置..运行以下命令并选择与之匹配的正确值/usr/share/gnome-shell/theme/Yaru/gnome-shell.css

sudo update-alternatives --config gdm3.css

例子:

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

  Selection    Path                                                                 Priority   Status
------------------------------------------------------------
* 0            /usr/share/themes/Flat-Remix/gnome-shell/gnome-shell.css              20        auto mode
  1            /usr/share/gnome-shell/theme/Yaru/gnome-shell.css                     15        manual mode
  2            /usr/share/gnome-shell/theme/gnome-shell.css                          10        manual mode
  3            /usr/share/themes/Flat-Remix-Dark/gnome-shell/gnome-shell.css         17        manual mode
  4            /usr/share/themes/Flat-Remix-Darkest/gnome-shell/gnome-shell.css      17        manual mode
  5            /usr/share/themes/Flat-Remix-Miami-Dark/gnome-shell/gnome-shell.css   17        manual mode
  6            /usr/share/themes/Flat-Remix-Miami/gnome-shell/gnome-shell.css        17        manual mode
  7            /usr/share/themes/Flat-Remix/gnome-shell/gnome-shell.css              20        manual mode

Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/share/gnome-shell/theme/Yaru/gnome-shell.css to provide /usr/share/gnome-shell/theme/gdm3.css (gdm3.css) in manual mode
$ 

关于自动模式和手动模式:

   automatic mode
          When  a  link  group is in automatic mode, the alternatives system ensures that the
          links in the group point to the highest priority alternative  appropriate  for  the
          group.

   manual mode
          When  a  link  group  is  in manual mode, the alternatives system will not make any
          changes to the system administrator's settings.

来源:http://manpages.ubuntu.com/manpages/trusty/en/man8/update-alternatives.8.html

相关内容