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.
- open a console/terminal and become root. (of course you can also do this with Rigo
- 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
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)
So now we're logged in with XFCE.
- open your favourite terminal (except Gnome-terminal), and become root.
- enter following in the terminal:
# equery installed gnome | xargs equo remove --nodeps
- (ignore all those warnings)
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.