Как я удаляю тему оболочки гнома Ubuntu и восстанавливаю исходную? Я уже попробовал sudo update-alternatives --config gdm3.css
(гном-shell.css). Однако это только сделанное как 75%-я сделанная работа. Экран входа в систему находится теперь в серых цветах по умолчанию, как я хотел, но когда я приостанавливаю свой компьютерный экран входа в систему, является фиолетовым снова. Я также вижу фиолетовые углы, когда оболочка гнома загружается.
если я понял Ваш вопрос правильно, Вы хотите вернуться к теме по умолчанию.. можно использовать ту же команду снова и выбрать число 0
sudo update-alternatives --config gdm3.css
$ sudo update-alternatives --config gdm3.css
[sudo] password for mkr:
There are 2 choices for the alternative gdm3.css (providing /usr/share/gnome-shell/theme/gdm3.css).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/share/gnome-shell/theme/Yaru/gnome-shell.css 15 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
Press <enter> to keep the current choice[*], or type selection number: 0
update-alternatives: using /usr/share/gnome-shell/theme/Yaru/gnome-shell.css to provide /usr/share/gnome-shell/theme/gdm3.css (gdm3.css) in auto mode
$
Если Вы хотите применить изменения в неLockscreen также, этот ответ может помочь.
https://askubuntu.com/a/1107377/739431
Править: согласно комментариям, Вы вручную удалили папку Yaru
устанавливать yaru-theme
пакет, выполненный ниже команды,
sudo apt install yaru-theme-gnome-shell
$ sudo apt install yaru-theme-gnome-shell
[sudo] password for mkr:
Reading package lists... Done
Building dependency tree
Reading state information... Done
yaru-theme-gnome-shell is already the newest version (18.10.6).
yaru-theme-gnome-shell set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
$
Это говорит, что это уже - новейшая версия, может быть то, потому что мы вручную удалили папку Yaru
таким образом, sudo apt purge yaru-theme-gnome-shell
$ sudo apt purge yaru-theme-gnome-shell
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
xwayland
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
ubuntu-desktop* ubuntu-session* yaru-theme-gnome-shell*
0 upgraded, 0 newly installed, 3 to remove and 17 not upgraded.
After this operation, 637 kB disk space will be freed.
Do you want to continue? [Y/n]
Обратите внимание на то, что команда sudo apt purge yaru-theme-gnome-shell
также удалит рабочий стол человечности* и сессию человечности* наряду с yaru-theme-gnome-shell*
После того как мы продолжаем Да,
мы должны снова установить пакеты сессии человечности и рабочий стол человечности..
sudo apt install ubuntu-desktop ubuntu-session
$ sudo apt install ubuntu-desktop ubuntu-session
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
yaru-theme-gnome-shell
The following NEW packages will be installed:
ubuntu-desktop ubuntu-session yaru-theme-gnome-shell
0 upgraded, 3 newly installed, 0 to remove and 17 not upgraded.
Need to get 113 kB of archives.
After this operation, 637 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Вы также можете напрямую взломать CSS.
Я написал инструкции по удалению фиолетового цвета из темы Ubuntu.
http://teknorants.blogspot.com/2020/01/changing-ubuntus-royale-purple.html
Просто установите gnome-session
. Затем войдите в него (например, «GNOME на Xorg»).
Затем включите расширения Ubuntu:
gnome-shell-extension-tool -e ubuntu-dock@ubuntu.com
gnome-shell-extension-tool -e ubuntu-appindicators@ubuntu.com
И измените обои для экрана блокировки.