Remove Mate
Note
Before removing a Desktop Environment, you have to keep a few things in mind;
- Removing too much might leave your system unusable.
- Be sure to have an alternative DM installed. (gdm or lxdm or lightdm)
That said, unless you are running out of hard drive space or have limited bandwidth for updates,
there is no real harm in having Mate installed. If you don't use it, it won't hinder performance.
preparation
For this to work, the best way of doing this is to first install a alternative Desktop Environment.
In this tutorial Mate will be replaced with KDE.
- open a console/terminal and become root. (of course you can also do this with Rigo
- install your alternative Desktop Environment:
# equo install kde-meta --ask
for Rigo: enter:kde-meta in the searchbox, select the package, and click install,
or install directly using a shortcut in the searchbox: do:install kde-meta.
- install a alternative LoginManager: (in this case, i choose kdm)
# equo install kdm
With systemd init
Disable currently running LoginManager:
# systemctl disable $(systemctl show display-manager | grep Id | sed 's/Id=//g')
Enable KDM to start at boot:
# systemctl enable kdm.service
When done, logoff, and logon again into the fresh installed Environment. (NOT Mate)
With OpenRC
While at the terminal, change the default LoginManager to kdm:
# nano -w /etc/conf.d/xdm
and replace:
DISPLAYMANAGER="lxdm"
or "gdm" with:
DISPLAYMANAGER="kdm"
When done, logoff, and logon again into the fresh installed Environment. (NOT Mate)
Removing Mate
So now we're logged in with KDE.
- open your favourite terminal, and become root.
- enter following in the terminal:
equo query installed mate | xargs equo remove --nodeps
- (ignore all the warnings)
final steps
equo install sys-apps/dbus x11-apps/scripts
When done, a final step, enter equo conf update to check if configuration files needs to be updated, manually.