我刚刚从Ubuntu - 20.04桌面系统安装了Ubuntu20.04LTS桌面系统的最终版本-amd64.iso。
经过两天的测试,我完全不喜欢它的图形界面-- GNOME Shell。
即使安装GNOME Flashback也没有帮助。
因此,我想完全删除GNOME Shell和它的所有轨迹,从我的系统,不需要重新安装。
只想从头开始,就像我已经从最小网络引导ISO安装了Ubuntu一样。
发布于 2020-04-29 16:50:50
下面是用于删除GNOME Shell的长命令集
sudo apt update
sudo apt purge adwaita-icon-theme gedit-common gir1.2-gdm-1.0 \
gir1.2-gnomebluetooth-1.0 gir1.2-gnomedesktop-3.0 gir1.2-goa-1.0 \
gnome-accessibility-themes gnome-bluetooth gnome-calculator gnome-calendar \
gnome-characters gnome-control-center gnome-control-center-data \
gnome-control-center-faces gnome-desktop3-data \
gnome-font-viewer \
gnome-initial-setup gnome-keyring gnome-keyring-pkcs11 gnome-logs \
gnome-mahjongg gnome-menus gnome-mines gnome-online-accounts \
gnome-power-manager gnome-screenshot gnome-session-bin gnome-session-canberra \
gnome-session-common gnome-settings-daemon gnome-settings-daemon-common \
gnome-shell gnome-shell-common gnome-shell-extension-appindicator \
gnome-shell-extension-desktop-icons gnome-shell-extension-ubuntu-dock \
gnome-startup-applications gnome-sudoku gnome-system-monitor gnome-terminal \
gnome-terminal-data gnome-themes-extra gnome-themes-extra-data gnome-todo \
gnome-todo-common gnome-user-docs gnome-user-docs-ru gnome-video-effects \
language-pack-gnome-en language-pack-gnome-en-base language-pack-gnome-ru \
language-pack-gnome-ru-base language-selector-gnome libgail18 libgail18 \
libgail-common libgail-common libgnome-autoar-0-0 libgnome-bluetooth13 \
libgnome-desktop-3-19 libgnome-games-support-1-3 libgnome-games-support-common \
libgnomekbd8 libgnomekbd-common libgnome-menu-3-0 libgnome-todo libgoa-1.0-0b \
libgoa-1.0-common libpam-gnome-keyring libsoup-gnome2.4-1 libsoup-gnome2.4-1 \
nautilus-extension-gnome-terminal pinentry-gnome3 yaru-theme-gnome-shell
sudo apt purge gnome-getting-started-docs gnome-getting-started-docs-ru
# 21.04 and 21.10 specifics
sudo apt purge libreoffice-style-yaru yaru-theme-icon yaru-theme-sound
# 21.10 specifics
sudo apt purge libgdm1 libgjs0g rygel librygel-core-2.6-2 librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2 \
plymouth-theme-spinner plymouth-theme-ubuntu-text branding-ubuntu
sudo apt autopurge
注意:如果您以前通过sudo apt install vanilla-gnome-desktop
和/或由sudo apt install ubuntu-gnome-desktop
和/或GNOME FlashBack由sudo apt install gnome-flashback gnome-panel
和/或sudo apt install gnome
手动安装了Vanilla GNOME桌面,则必须执行以下额外的删除命令:
sudo apt purge adwaita-icon-theme geogebra-gnome gir1.2-gtd-1.0 \
gnome-accessibility-profiles gnome-applets-data gnome-audio gnome-backgrounds \
gnome-cards-data gnome-common gnome-desktop-testing gnome-dvb-daemon \
gnome-extra-icons gnome-flashback-common \
gnome-humility-icon-theme gnome-hwp-support gnome-icon-theme \
gnome-icon-theme-gartoon gnome-icon-theme-gartoon-redux \
gnome-icon-theme-gperfection2 gnome-icon-theme-nuovo gnome-icon-theme-suede \
gnome-icon-theme-yasis gnome-mime-data gnome-nds-thumbnailer \
gnome-packagekit-data gnome-panel-control gnome-panel-data \
gnome-pkg-tools gnome-recipes-data gnome-remote-desktop gnome-settings-daemon-dev \
gnome-shell-pomodoro-data gnome-software-common gnome-software-doc \
gnome-theme-gilouche gnome-video-effects-extra gnome-video-effects-frei0r \
guile-gnome2-dev guile-gnome2-glib libgnome-autoar-doc libgnomecanvas2-common \
libgnomecanvas2-doc libgnomecanvasmm-2.6-doc libgnome-panel-doc libgnome-todo-dev \
libopenrawgnome7:amd64 libopenrawgnome-dev libreoffice-gnome libxine2-gnome:amd64 \
nautilus-sendto pidgin-gnome-keyring plymouth-theme-ubuntu-gnome-logo \
plymouth-theme-ubuntu-gnome-text ubuntu-gnome-wallpapers \
ubuntu-gnome-wallpapers-trusty ubuntu-gnome-wallpapers-utopic \
ubuntu-gnome-wallpapers-xenial ubuntu-gnome-wallpapers-yakkety
sudo apt purge gnome-exe-thumbnailer
sudo apt purge slim openbox geoclue-2.0
sudo apt autopurge
然后,您可以使用以下命令安装任何感兴趣的桌面环境:
sudo apt install cinnamon-desktop-environment
sudo apt install kubuntu-desktop^
sudo apt install ubuntu-mate-desktop^
sudo apt install ubuntu-unity-desktop
sudo apt install xubuntu-desktop^
中然后重新启动,选择新安装的桌面会话并登录到它。
注:此方法也适用于Ubuntu 21.04和21.10。
发布于 2020-07-04 22:53:25
在进行了一次以前的最小安装之后,接着只安装了“lxde”/usr/sbin/lightdm
输入文件/etc/X11/default-display-manager
,不幸的是,在执行从18.10升级到19.04的全面升级时,我得到了“gdm3”,这种情况一直持续到20.04。最后我去掉了“gdm3 3”。此外,我不得不sudo apt-get remove
‘gnome-shell’和‘ubuntu-会话’。在此之后,我用一个简单的sudo apt-get-autoremove
摆脱了所有剩下的免费侏儒。
https://askubuntu.com/questions/1233025
复制相似问题