我正在测试安装了许多桌面环境的 Ubuntu 20.04 LTS。
目前我有以下内容:
$ dpkg -l | grep -i greet
ii arctica-greeter 0.99.1.4-1 amd64 LightDM Arctica Greeter
ii arctica-greeter-guest-session 0.99.1.4-1 all LightDM Arctica Greeter - Guest Session Support
ii kylin-greeter 19.04.2 amd64 Ubuntu Kylin Greeter
ii lightdm-autologin-greeter 1.0-3 all Autologin greeter for LightDM
ii lightdm-gtk-greeter 2.0.6-0ubuntu1 amd64 simple display manager (GTK+ greeter)
ii lightdm-gtk-greeter-settings 1.2.2-3 all settings editor for the LightDM GTK+ Greeter
ii slick-greeter 1.3.2+dfsg.1-1 amd64 Slick-looking LightDM greeter
ii ukui-greeter 1.2.5-1 amd64 Lightdm greeter for UKUI
ii unity-greeter 18.04.0+20.04.20200312-0ubuntu2 amd64 Unity Greeter
ii unity-greeter-badges 0.4-0ubuntu3 all Additional badges for Unity Greeter
$ ls /usr/share/xgreeters/ -al
total 104
drwxr-xr-x 2 root root 4096 апр 30 22:05 .
drwxr-xr-x 2696 root root 69632 мая 1 00:25 ..
-rw-r--r-- 1 root root 3057 дек 3 00:29 arctica-greeter.desktop
-rw-r--r-- 1 root root 131 фев 27 21:54 kylin-greeter.desktop
-rw-r--r-- 1 root root 206 авг 17 2018 lightdm-autologin-greeter.desktop
lrwxrwxrwx 1 root root 33 апр 23 17:11 lightdm-greeter.desktop -> /etc/alternatives/lightdm-greeter
-rw-r--r-- 1 root root 187 сен 18 2018 lightdm-gtk-greeter.desktop
-rw-r--r-- 1 root root 131 мар 3 23:39 slick-greeter.desktop
-rw-r--r-- 1 root root 127 апр 7 09:43 ukui-greeter.desktop
-rw-r--r-- 1 root root 131 апр 2 12:58 unity-greeter.desktop
$ update-alternatives --config lightdm-greeter
There is 1 choice for the alternative lightdm-greeter (providing /usr/share/xgreeters/lightdm-greeter.desktop).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/share/xgreeters/lightdm-gtk-greeter.desktop 60 auto mode
* 1 /usr/share/xgreeters/lightdm-gtk-greeter.desktop 60 manual mode
Press <enter> to keep the current choice[*], or type selection number:
目前我发现系统使用 Arctica 样式,不允许滚动可用图形会话列表。
我该如何切换到其他样式?
我尝试使用lightdm-settings
、lightdm-gtk-greeter-settings-pkexec
和sudo dpkg-reconfigure lightdm
、、,但没有成功sudo dpkg-reconfigure lightdm-gtk-greeter
。sudo dpkg-reconfigure lightdm-gtk-greeter-settings
答案1
答案2
我可以通过创建文件/etc/lightdm/lightdm.conf
并添加此行来选择 lightdm-gtk-greeter,从而切换欢迎程序(Ubuntu 20.04),例如:
[SeatDefaults]
greeter-session=lightdm-gtk-greeter