Remove Mate

From Sabayon Wiki
Revision as of 13:21, 9 March 2014 by Zetok (Talk | contribs) (With OpenRC: fix missing 'is')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
i18n: en tr

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.

  1. open a console/terminal and become root. (of course you can also do this with Rigo
  2. 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

Stop.png
Please note that OpenRC is no longer supported in Sabayon.

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.

  1. open your favourite terminal, and become root.
  2. enter following in the terminal:
equo query installed mate | xargs equo remove --nodeps
  1. (ignore all the warnings)
Question.png
without the "--nodeps", "sys-auth/pambase-20101024-r2" got pulled, and aborts the mission. Also, don't use the ""--deep" flag here

final steps

Question.png
before rebooting, you must reinstall "sys-apps/dbus" and "x11-apps/scripts" otherwise the system becomes unusable.
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.