PDA

View Full Version : [SOLVED] Removing Mate Desktop



rsteinmetz70112
April 3rd, 2020, 05:11 PM
I'm working from home using Ubuntu something I don't normally do.
A while ago I installed Mated Desktop to try it out and I have now decided I prefer the regular Gnome.
Can I remove Mate? If so what other things might it affect?

CelticWarrior
April 3rd, 2020, 06:03 PM
Installing additional DEs is usually very easy when such desktops are distributed with a meta-package that install all the required packages. OTOH, removing a DE is the opposite.

If you need it for work then, right now, do NOT touch it.

rsteinmetz70112
April 3rd, 2020, 07:15 PM
I was afraid of that.
I did find some comments that said simply apt remove mate-desktop.
but I was skeptical

CelticWarrior
April 3rd, 2020, 07:23 PM
I did find some comments that said simply apt remove mate-desktop.


It removes the meta-package only, not the packages it installed. Those have to be manually removed one by one and even then some settings may remain.

ajgreeny
April 3rd, 2020, 08:07 PM
Run command
grep -i " remove " /var/log/dpkg.log.1 /var/log/dpkg.log | grep mate-desktop which will show you the date and time that you installed the mate DE.

If you now run the command again but removing the final
| grep mate-desktop you may be able to figure out which other packages were installed at the same time, these probably being the packages for the full mate DE and remove them.

It is a slow process and will be very tedious to actually do but it does work; I did it a while ago simply to test the theory after installing KDE to a virtual install of Xubuntu.

Bashing-om
April 4th, 2020, 08:52 PM
rsteinmetz70112 ; Hey -

One might also consider a script:
https://github.com/aysiu/purebuntu

But, may require "some" adaptation to your particular use case. The author does provide some reasoning background for the existence of his script and the warning,

-my bit to try and help-

rsteinmetz70112
April 14th, 2020, 04:40 PM
Thanks everyone. I'm going to put this off until after things clear up.

rsteinmetz70112
February 11th, 2021, 10:36 PM
I finally got back to this. I was able to remove MATE pretty easily.


sudo apt update
sudo apt upgrade
sudo apt remove mate-desktop
sudo apt autoremove
sudo apt install ubuntu-desktop
sudo update
sudo upgrade

I'm sure some stuff was left behind but it seems to be working just fine.

I thought about using


sudo apt-get remove '*mate*'

But when I ran it with the --simulate option I wasn't sure it wouldn't pickup things I needed.