Difference between revisions of "Remove Mate"

From Sabayon Wiki
Jump to: navigation, search
 
(preparation: adjust for systemd presence; formatting)
Line 20: Line 20:
  
 
or install directly using a shortcut in the searchbox: '''do:install kde-meta'''.
 
or install directly using a shortcut in the searchbox: '''do:install kde-meta'''.
# install a alternative LoginManager: (in this case, i choose kdm)
+
* install a alternative LoginManager: (in this case, i choose kdm)
 
{{Console| <pre class="clear">#  equo install kdm</pre>}}
 
{{Console| <pre class="clear">#  equo install kdm</pre>}}
# while at the terminal, change the default LoginManager to '''kdm''':
+
===With systemd init===
 +
Disable currently running LoginManager:
 +
{{Console| <pre class="clear"># systemctl disable $(systemctl show display-manager | grep Id | sed 's/Id=//g')</pre>}}
 +
Enable KDM to start at boot:
 +
{{Console| <pre class="clear"># systemctl enable kdm.service</pre>}}
 +
When done, logoff, and logon again into the fresh installed Environment. (NOT Mate)
 +
===With OpenRC===
 +
{{Note| Please note that OpenRC will be dropped in summer 2014.}}
 +
While at the terminal, change the default LoginManager to '''kdm''':
 
{{Console| <pre class="clear">#  nano -w /etc/conf.d/xdm</pre>}}
 
{{Console| <pre class="clear">#  nano -w /etc/conf.d/xdm</pre>}}
 
and replace:
 
and replace:
Line 28: Line 36:
 
or "gdm" with:
 
or "gdm" with:
 
{{Console| <pre class="clear">DISPLAYMANAGER="kdm"</pre>}}
 
{{Console| <pre class="clear">DISPLAYMANAGER="kdm"</pre>}}
# When done, logoff, and logon again into the fresh installed Environment. (NOT Mate)
+
When done, logoff, and logon again into the fresh installed Environment. (NOT Mate)
  
 
== Removing Mate ==
 
== Removing Mate ==

Revision as of 18:10, 17 November 2013

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

Question.png
Please note that OpenRC will be dropped in summer 2014.

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.