If you have installed Xubuntu Desktop on your system and wish to remove it, follow these steps:
1. Open a Terminal
You can open a terminal using the keyboard shortcut Ctrl + Alt + T
.
2. Remove the xubuntu-desktop
Package
Run the following command to remove the xubuntu-desktop
package:
sudo apt-get remove xubuntu-desktop --purge
3. Remove Unused Dependencies
To remove any unused dependencies that were installed with xubuntu-desktop
, run:
sudo apt-get autoremove --purge
4. Clean Up
Clean up the package cache to free up space:
sudo apt-get clean
5. Remove Remaining Xfce Packages
Since xubuntu-desktop
includes the Xfce desktop environment, you may want to remove remaining Xfce packages. Run:
sudo apt-get purge xfce4* xfdesktop4* xfwm4* xubuntu*
sudo apt-get autoremove --purge
6. Reboot
Reboot your system to complete the uninstallation:
sudo reboot
After these steps, xubuntu-desktop
and its associated packages should be removed from your system.
If you want your system to boot into a terminal (console mode) instead of a graphical desktop environment, follow these steps:
1. Disable the Graphical User Interface (GUI) on Boot
To disable the GUI on boot, you need to change the default runlevel to multi-user mode (which corresponds to text mode).
Method 1: Using systemctl
(for systems using systemd
)
- Open a Terminal:
- Use
Ctrl + Alt + T
to open a terminal or access an existing one if you’re already in the GUI.
- Set the Default Target to Multi-User:
- Run the following command to set the default target to multi-user (text mode):
bash sudo systemctl set-default multi-user.target
- Reboot Your System:
- Reboot your system to apply the changes:
bash sudo reboot
Method 2: Editing the GRUB Configuration
- Open the GRUB Configuration File:
- Open the GRUB configuration file in a text editor with root privileges. For example, using
nano
:bash sudo nano /etc/default/grub
- Modify the
GRUB_CMDLINE_LINUX_DEFAULT
Line:
- Find the line that starts with
GRUB_CMDLINE_LINUX_DEFAULT
and modify it to removequiet splash
and addtext
:bash GRUB_CMDLINE_LINUX_DEFAULT="text"
- Update GRUB:
- Save the file and update the GRUB configuration:
bash sudo update-grub
- Reboot Your System:
- Reboot your system to apply the changes:
bash sudo reboot
After following these steps, your system should boot into a terminal (console mode) instead of the graphical desktop environment. If you need to start the GUI manually, you can use:
sudo systemctl start graphical.target
or
startx
depending on your setup.
This guide should help you remove Xubuntu Desktop cleanly from your system. If you encounter any issues or have any questions, feel free to ask!