Robin wrote:The two are different things. The window manager controls how the desktop windows are "drawn" by your computer. When we refer to windows in Linux, we don't mean that other operating system by Microsoft, we mean the little boxes that contain the graphics for whatever application you launch. Microsoft did a smart thing by calling their OS "Windows." It sort of suggests that they invented the little things. But in fact, long before there was the Windows operating system, there were windows with borders to separate running applications. Unix and DOS both had windows.
In Linux you can choose between window managers like Icewm, Openbox, Fluxbox, and Xfwm. Openbox is a big favorite because it has a nice "right-click anywhere on the desktop" feature that brings up a whole menu from which you can launch applications, open a terminal, etc. You can even have wallpaper. Many folks with older low-powered machines use only a window manager and no desktop environment at all. Without the extra visual "eye candy" and decorations, computers running only a window manager run very fast! Fluxbox is considered a little less "newbie friendly" than Openbox, but "Mintified," I'm sure that isn't the case with our Fluxbox edition. Google the term "Linux window managers screenshots" to see what can be done with just a bare-bones window manager!
A desktop environment on the other hand includes a window manager but also includes stuff like panels, applets, and applications that are designed to work best in that particular desktop environment. Among desktop environments are KDE, Gnome, Xfce, Enlightenment, and LXDE. Each has it's own special features and applications. The "heavyweight" desktop environments (KDE and Gnome) have all sorts of wonderful features like "plasmoids" and the famous "spinning cube." They're more demanding on resources, but on computers 2 years old or newer, they run plenty fast. Xfce is kinda sorta like "Gnome Lite," if you will. It "feels like" Gnome but offers fewer of the extra fancy features and is designed to work better on modest hardware. LXDE is a very "lightweight" desktop environment - so light in fact that it has been "accused" of being a window manager instead of a full-fledged desktop environment. The look of LXDE reminds alot of people of what "Windows 98" looked like.
Each of the desktop environments has it's own set of applications that work best in their "native" environment. That is called "integration." Xfce applications, for example, are integrated into the Xfce desktop environment, so the experience of applications in their "native" desktop environment will tend to be snappier and more responsive. Most people mix-and-match applications anyway. You can use any application in any desktop environment! But if you have limited space on your hard drive, it's better not to do that, since installing a single KDE application onto a Gnome desktop, for example, may also "pull in" large libraries from the other desktop environment. Here's are some of the applications listed according to the desktop environment they are native to:
These are just a few examples. The KDE file manager also doubles as a nice web browser! Some find it complicated, others love it. Brasero always just makes coasters out of my blank CDs, but both Xfburn and K3B work flawlessly. Other people find that Brasero works best for them. The only way to be sure is to "use what you have," and if it doesn't work or you don't like it, try one of the others. So much choice! It's wonderful, but a bit overwhelming to a newbie. So much of it is a matter of taste and what works on your own machine. It took me a year of trying them all to finally choose a favorite (I'm an Xfce fanboy now - but that could change too)! I chose what works fastest on my hardware yet still offers most of the features I want in a desktop.
Now you see why it's a bigger question than it seems like at first! Sooooo many choices! But don't hurry! Try a few, one every month or two when you feel like exploring, and if you're delighted with what you've got, just keep it! But it's fun to see what the others are like. Many a nicely "pimped out" desktop with wicked special effects has won a few people over from Windows and Mac. And many an aging heap has been saved from a landfill and converted into a screamin' fast machine by a sweet-and-simple, bare-bones window manager! A number of families from the studio where I take dance class have been won over by the mind-bending speed and elegance of a lightweight Xfce mixture on an ancient old dinosaur that was donated for the kids to use.
How to choose?
1. - Look at screenshots from the different DEs and WMs and pick a pretty one!
2. - Consider a "lightweight" if you have an older, low-resource computer that you want to run fast!
3. - Experiment with the different applications from the different DEs and see what works best for you and fits your needs and tastes.
4. - Don't forget to ask your family if you share the computer with them!
Enjoy the ride. It's fun to try them all.
-Robin
Thank you Robin, this is very thorough.
If it's OK, may I sum this up and make it a little bit more nooB friendly?
I found a helpful quote from an ubuntu forum [url]http://askubuntu.com/questions/18078/what-is-the-difference-between-a-desktop-environment-and-a-window-manager[/url] that I'll quote below:
There are basically three layers that can be included in the Linux desktop:
X Windows – This is the foundation that allows for graphic elements to be drawn on the display. X Windows builds the primitive framework that allows moving of windows, interactions with keyboard and mouse, and draws windows. This is required for any graphical desktop.
Window Manager – The Window Manager is the piece of the puzzle that controls the placement and appearance of windows. Window Managers include: Enlightenment, Afterstep, FVWM, Fluxbox, IceWM, etc. Requires X Windows but not a desktop environment.
Desktop Environment – This is where it begins to get a little fuzzy for some. A Desktop Environment includes a Window Manager but builds upon it. The Desktop Environment typically is a far more fully integrated system than a Window Manager. Requires both X Windows and a Window Manager. Examples of desktop environments are GNOME, KDE, Xfce among others)
So basically the layering of the way things sit on top of each other is like this:
5. the software that you run (abiWord, gnumeric, Chromium, etc)
4. Desktop Environment (further refines and expands upon the user interface - this is the uppermost level that makes for the user experience (the look and feel)
* Gnome, KDE (old but sticks around for a large legacy fanbase), LXDE, XFCE
3. Window Manager (foundation for the user interface, requires xwindows to dance with your hardware)
* Icewm, Openbox, Fluxbox, Xfwm
2. X-windows (interface between your window manager and your hardware (such as graphics card))
1. Disk Operating System (handles file manipulations, opening (that includes opening a data file or program file, etc), reading, writing, by everything that sits atop of it, onto the actual physical hardware (memory/storage))
0. Hardware
note: this is not meant as a replacement for the OSI model, but rather something simplified to explain the topic at hand. also, it is easy to argue with some of the points above, as hardware is software in disguise, and vise-versa.
I hope I didn't make any mistakes... if I did, please let me know so I can edit the post with corrections.