Able to have no desktop environment, just a window manager?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Able to have no desktop environment, just a window manager?
With a clean install of Ubuntu 18.04, am I able to uninstall GNOME and have just a window manager?
This sounds really stupid since a window manager probably relies on a DE, but no risks taken asking.
No problem! Just install a suitable wm (icewm, fluxbox, openbox or one of the tiling wms like awesome or ratpoison). Then set up your display manager to load that instead of gnome.
Uninstalling gnome is a bit more tricky because desktops like gnome come with their application suites as dependencies. If you get rid of the desktop metapackage, the apps disappear too because they weren't explicitly requested for installation. Of course you'll get a list of what's going to be removed. Just write down the ones that you want to keep, abort the uninstall and install those packages explicitly. Then remove gnome. Or alternatively, remove gnome and reinstall those packages afterwards.
There would be a lot less cleaning up to do if you just replaced Ubuntu with something like AntiX or SalentOS which comes with a wm as standard. For example, a desktop creates your menu when you log-in, but the wm will expect a menu file, so you have to write it. There's also the possibility that you mentioned that you have useful tools which are written on the assumption that Gnome will be present: I remember with Fedora that none of the configuration tools had any help unless you had yelp to display it.
You are potentially in for a world of trouble if you uninstall GNOME seeing as it is, as far as I recall, gratuitously coupled with systemd and there are various applications which will depend on it. You will be much, much better off just selecting another WM as default.
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,491
Rep:
Try one of the 'lightweight' versions of Ubuntu, rather than trying to rid yourself of Gnome, as it will cause you less trouble.
But you could also look at a different distro, such as AntiX or MX Linux, or many more that come with just window managers, rather than full desktop environments.
It might be worth pointing out that you don't need to uninstall gnome to be able to test different desktops and/or window managers.
As others pointed out, install a window manager suitable for standalone usage (openbox and fluxbox are good candidates) and from the login screen start a session in said window manager.
If you like what you see, you can still look at "cleaner" options such as installing a different ubuntu flavour or a different distro altogether.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.