Difference between revisions of "Remove Gnome"

From Sabayon Wiki
Jump to: navigation, search
m (With OpenRC: update: OpenRC no longer supported)
m (small update)
Line 1: Line 1:
 
{{i18n| [[Remove Gnome|en]] [[Tr:Remove Gnome|tr]]}}
 
{{i18n| [[Remove Gnome|en]] [[Tr:Remove Gnome|tr]]}}
  
=== warning ===
+
=== Warning ===
 
Before removing a Desktop Environment like Gnome, you have to keep a few things in mind;
 
Before removing a Desktop Environment like Gnome, you have to keep a few things in mind;
 
* Many libraries are shared with other DE's, so you don't want them to be removed.
 
* Many libraries are shared with other DE's, so you don't want them to be removed.
Line 10: Line 10:
 
there is no real harm in having Gnome installed. If you don't use it, it won't hinder performance.
 
there is no real harm in having Gnome installed. If you don't use it, it won't hinder performance.
  
== preparation ==
+
== Preparation ==
 
For this to work, the best way of doing this is to first install a alternative Desktop Environment.
 
For this to work, the best way of doing this is to first install a alternative Desktop Environment.
  
Line 16: Line 16:
  
 
# open a console/terminal and become root. (of course you can also do this with [[Rigo]]
 
# open a console/terminal and become root. (of course you can also do this with [[Rigo]]
# install your alternative Desktop Environment:
+
# install your alternative Desktop Environment: this can be KDE (plasma-meta), mate, etc. We're using xfce for this demonstration.
 
{{Console| <pre class="clear">#  equo install @xfce --ask</pre>}}
 
{{Console| <pre class="clear">#  equo install @xfce --ask</pre>}}
 
for [[Rigo]]: enter:'''xfce4-meta''' in the searchbox, select the package, and click install,
 
for [[Rigo]]: enter:'''xfce4-meta''' in the searchbox, select the package, and click install,
Line 22: Line 22:
 
or install directly using a shortcut in the searchbox: '''do:install xfce4-meta''' accept the licence agreement.
 
or install directly using a shortcut in the searchbox: '''do:install xfce4-meta''' accept the licence agreement.
  
'''GDM''' will also be removed, so install a alternative LoginManager: (in this case, i choose lightdm)
+
'''GDM''' will also be removed, so install a alternative LoginManager: (in this case, i choose lightdm, it works with everything)
 
{{Console| <pre class="clear"># equo install lightdm</pre>}}
 
{{Console| <pre class="clear"># equo install lightdm</pre>}}
  
===With systemd===
+
==Switching DMs==
 
Remove from boot entry starting GDM:
 
Remove from boot entry starting GDM:
 
{{Console| <pre class="clear"># systemctl disable gdm.service</pre>}}
 
{{Console| <pre class="clear"># systemctl disable gdm.service</pre>}}
Line 31: Line 31:
 
{{Console| <pre class="clear"># systemctl enable lightdm.service</pre>}}
 
{{Console| <pre class="clear"># systemctl enable lightdm.service</pre>}}
 
When done, logoff, and logon again into the fresh installed Environment. (NOT Gnome)
 
When done, logoff, and logon again into the fresh installed Environment. (NOT Gnome)
 
===With OpenRC===
 
{{Warning| Please note that '''OpenRC is no longer supported''' in Sabayon.}}
 
# while at the terminal, change the default LoginManager to '''lightdm''':
 
{{Console| <pre class="clear">#  nano -w /etc/conf.d/xdm</pre>}}
 
and replace:
 
{{Console| <pre class="clear">DISPLAYMANAGER="gdm"</pre>}}
 
with:
 
{{Console| <pre class="clear">DISPLAYMANAGER="lightdm"</pre>}}
 
# When done, save: [CTRL-O] and close: [CTRL-X]
 
# logoff, and logon again into the fresh installed Environment. (NOT Gnome)
 
  
 
== Removing Gnome ==
 
== Removing Gnome ==
Line 47: Line 36:
 
# open your favourite terminal (except Gnome-terminal), and become root.
 
# open your favourite terminal (except Gnome-terminal), and become root.
 
# enter following in the terminal:
 
# enter following in the terminal:
{{Console| <pre class="clear">equo query installed gnome-base gnome-extra | xargs equo remove --nodeps</pre>}}
+
{{Console| <pre class="clear"># equery installed gnome | xargs equo remove --nodeps</pre>}}
 
# (ignore all those warnings)
 
# (ignore all those warnings)
 
{{Note| without the "--nodeps",  "sys-auth/pambase-20101024-r2" got pulled, and aborts the mission.
 
{{Note| without the "--nodeps",  "sys-auth/pambase-20101024-r2" got pulled, and aborts the mission.

Revision as of 17:31, 1 March 2018

i18n: en tr

Warning

Before removing a Desktop Environment like Gnome, you have to keep a few things in mind;

  • Many libraries are shared with other DE's, so you don't want them to be removed.
  • Removing too much might leave your system unusable.
  • Be sure to have an alternative DM installed. (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 Gnome 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 Gnome will be replaced with XFCE.

  1. open a console/terminal and become root. (of course you can also do this with Rigo
  2. install your alternative Desktop Environment: this can be KDE (plasma-meta), mate, etc. We're using xfce for this demonstration.
#   equo install @xfce --ask

for Rigo: enter:xfce4-meta in the searchbox, select the package, and click install,

or install directly using a shortcut in the searchbox: do:install xfce4-meta accept the licence agreement.

GDM will also be removed, so install a alternative LoginManager: (in this case, i choose lightdm, it works with everything)

# equo install lightdm

Switching DMs

Remove from boot entry starting GDM:

# systemctl disable gdm.service

Now enable new LoginManager to start at boot:

# systemctl enable lightdm.service

When done, logoff, and logon again into the fresh installed Environment. (NOT Gnome)

Removing Gnome

So now we're logged in with XFCE.

  1. open your favourite terminal (except Gnome-terminal), and become root.
  2. enter following in the terminal:
# equery installed gnome | xargs equo remove --nodeps
  1. (ignore all those 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, otherwise the system becomes unusable!
Question.png
It might very well be possible, that Entropy wants to remove vital packages for XFCE as well.,

so chances are that after a reboot the system is unusable.

In that case, when Gnome is removed., before rebooting, (just in case) simply reinstall your new DE, eg.: equo install @xfce

final steps

Question.png
before rebooting, you must reinstall "sys-apps/dbus". otherwise the system becomes unusable.
equo install sys-apps/dbus

When done, a final step, enter equo deptest and equo libtest THEN equo conf update to check if configuration files needs to be updated, manually.