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:
# 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
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)
- while at the terminal, change the default LoginManager to lightdm:
# nano -w /etc/conf.d/xdm
- When done, save: [CTRL-O] and close: [CTRL-X]
- 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:
equo query installed gnome-base gnome-extra | 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.