How to safely delete the another desktop environment from my system?

Debian Stable Question

Hello. I am on Debian 13. KDE Plasma is my default DE and SDDM as my login screen. I wanted to try Xfce. So I installed it using tasksel. I followed the steps shown in this video: https://www.youtube.com/watch?v=ILaEYof7JLA. I was successful in installing Xfce but I felt like KDE is more appropriate for me. So I am now back to KDE but I can see that Xfce packages, Lightdm login screen and stuff are still in my system (ran dpkg --list | grep "xfce" and saw many package names).

How can I safely remove all of these xfce and lightdm related packages from my system? Thanks.

Posted Aug 10, 2026, 4:25 PM UTC

2110
Loading comments…