Difference between revisions of "Remove Gnome"

From Sabayon Wiki
Jump to: navigation, search
(formatting, adjusting for systemd presence, change in example lxdm to lightdm)
m (With OpenRC: update: OpenRC no longer supported)
Line 33: Line 33:
===With OpenRC===
===With OpenRC===
{{Note| Please note that OpenRC will be dropped in summer 2014.}}
{{Warning| Please note that '''OpenRC is no longer supported''' in Sabayon.}}
# while at the terminal, change the default LoginManager to '''lightdm''':
# while at the terminal, change the default LoginManager to '''lightdm''':
{{Console| <pre class="clear">#  nano -w /etc/conf.d/xdm</pre>}}
{{Console| <pre class="clear">#  nano -w /etc/conf.d/xdm</pre>}}

Revision as of 13:22, 9 March 2014

i18n: en tr


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.


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:
#   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)

# equo install lightdm

With systemd

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)

With OpenRC

Please note that OpenRC is no longer supported in Sabayon.
  1. while at the terminal, change the default LoginManager to lightdm:
#   nano -w /etc/conf.d/xdm

and replace:



  1. When done, save: [CTRL-O] and close: [CTRL-X]
  2. 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:
equo query installed gnome-base gnome-extra | xargs equo remove --nodeps
  1. (ignore all those warnings)
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!
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

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.