我刚刚从bionic-桌面-amd64.iso.
而且我完全不喜欢它的图形界面——GNOME Shell。
因此,我想从我的系统中完全删除 GNOME Shell 及其所有踪迹,而无需重新安装。
只想从头开始,就像我从最小网络启动 ISO 安装 Ubuntu 一样。
答案1
GNOME Shell 删除的单个长命令如下
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-getting-started-docs gnome-getting-started-docs-ru \
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-shell gnome-shell-common gnome-shell-extension-appindicator \
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-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 \
gnome-settings-daemon-schemas gnome-software-common libappstream-glib8:amd64 libgdm1 ubuntu-sounds
sudo apt autoremove --purge
注意:如果之前已经手动安装了 Vanilla GNOME 桌面 和sudo apt install vanilla-gnome-desktop
/或 Ubuntu GNOME 桌面 和sudo apt install ubuntu-gnome-desktop
/或 GNOME FlashBacksudo apt install gnome-flashback gnome-panel
和/或完整 GNOME sudo apt install 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-exe-thumbnailer 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-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-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 autoremove --purge
然后可以使用以下命令安装任何感兴趣的桌面环境:
- 肉桂 -
sudo apt install cinnamon-desktop-environment
- KDE 与 Kubuntu 类似 -
sudo apt install kubuntu-desktop^
- MATE 就像 Ubuntu MATE 一样 -
sudo apt install ubuntu-mate-desktop^
- 团结 -
sudo apt install ubuntu-unity-desktop
- Xfce 与 Xubuntu 一样 -
sudo apt install xubuntu-desktop^
然后重新启动,选择新安装的桌面会话并登录。