You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update desktop-environment.md
This addition offers users a more comprehensive solution for removing KDE and its associated packages. This enhancement aims to provide clearer and more user-friendly instructions for managing desktop environments on Pop!_OS.
* Split regex from normal autoremove and add explanation
---------
Co-authored-by: Jacob Kauffmann <jacobgkau@users.noreply.github.com>
Copy file name to clipboardExpand all lines: content/desktop-environment.md
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Pop!\_OS and Ubuntu both include the GNOME desktop environment by default. A des
23
23
24
24
You can install an alternative desktop environment using the instructions below.
25
25
26
-
**NOTE:**be careful when installing other desktop environments, as they may affect the default GNOME desktop (both Ubuntu and Pop).
26
+
> **Warning:**Installing other desktop environmentsmay affect the visual style and functionality of the default GNOME desktop (on both Ubuntu and Pop!_OS).
27
27
28
28
If you run into trouble while using an alternative desktop environment, you may wish to revert to the default environment. To ensure the default GNOME desktop environment is installed in Pop!\_OS, install the `pop-desktop` package:
29
29
@@ -229,14 +229,16 @@ gsettings set org.cinnamon.desktop.lockdown disable-lock-screen false
229
229
230
230
### Removing Desktop Environments
231
231
232
-
If you no longer want to use a desktop environment, it can be removed by using:
232
+
If you no longer want to use a desktop environment, it can be removed by using the `sudo apt autoremove --purge` command with the name of the package you originally installed. For example, if you installed LXDE with `sudo apt install lxde`, you can remove it using the following command:
233
233
234
234
```bash
235
-
sudo apt autoremove --purge ...
235
+
sudo apt autoremove --purge lxde
236
236
```
237
237
238
-
For example, to remove KDE:
238
+
Some desktop environments (such as KDE) may leave behind additional packages even after uninstalling the original package with the `autoremove` command. To more thoroughly remove packages related to a desktop environment, use a regular expression to remove all packages beginning with the name of the environment followed by a hyphen (for example, `kde-`):
239
+
240
+
> **Warning:** Because regular expressions can match packages you don't expect, inspect the list of packages being removed before confirming the operation, and be prepared to reinstall any packages you wish to keep afterwards.
0 commit comments