In computing, a desktop environment (DE) is an implementation of the desktop metaphor made of a bundle of programs running on top of a computer operating system, which share a common graphical user interface (GUI). The desktop environment was seen mostly on personal computers until the rise of mobile computing. Desktop GUIs help the user to easily access and edit files, while they usually do not provide access to all of the features found in the underlying operating system. Instead, the traditional command-line interface (CLI) is still used when full control over the operating system is required.
A desktop environment typically consists of icons, windows, toolbars, folders, wallpapers and desktop widgets (see Elements of graphical user interfaces and WIMP). A GUI might also provide drag and drop functionality and other features that make the desktop metaphor more complete. A desktop environment aims to be an intuitive way for the user to interact with the computer using concepts which are similar to those used when interacting with the physical world, such as buttons and windows.
While the term desktop environment originally described a style of user interfaces following the desktop metaphor, it has also come to describe the programs that realize the metaphor itself. This usage has been popularized by the Common Desktop Environment, K Desktop Environment, and GNOME.
On a system that offers a desktop environment, a window manager in conjunction with applications written using a widget toolkit are generally responsible for most of what the user sees. The window manager supports the user interactions with the environment, while the toolkit provides developers a software library for applications with a unified look and behavior.
A windowing system of some sort generally interfaces directly with the underlying operating system and libraries. This provides support for graphical hardware, pointing devices, and keyboards. The window manager generally runs on top of this windowing system. While the windowing system may provide some window management functionality, this functionality is still considered to be part of the window manager, which simply happens to have been provided by the windowing system.
Applications that are created with a particular window manager in mind usually make use of a windowing toolkit, generally provided with the operating system or window manager. A windowing toolkit gives applications access to widgets that allow the user to interact graphically with the application in a consistent way.
History and common use
The first desktop environment was created by Xerox and was sold with the Xerox Alto in the 1970s. The Alto was generally considered by Xerox to be a personal office computer; it failed in the marketplace because of poor marketing and a very high price tag. With the Lisa, Apple introduced a desktop environment on an affordable personal computer, which also failed in the market.
On commercial personal computers the desktop metaphor was popularized by the original Macintosh from Apple in 1984, and in the 1990s and forward among the general population by Windows from Microsoft. As of 2014[update] the most popular desktop environments are descendants of these earlier environments, including the Aero environment used in Windows 7 and 8, and the Aqua environment used in OS X. When compared with the X-based desktop environments available for Unix-like operating systems such as Linux and FreeBSD, the proprietary desktop environments included with these operating systems are relatively fixed and unalterable, with highly integrated "seamless" designs that aim to provide mostly consistent customer experiences across installations.
Microsoft Windows dominates in marketshare among personal computers with a desktop environment. Computers using Unix-like operating systems (OS X, Chrome OS, Linux, BSD, Solaris) are much less common, however, in recent years there has been a growing market for low-cost Linux PCs that use the X Window System or Wayland with a choice of many desktop environments. Among the more poular of these are Google's Chromebooks and Chromeboxes, Intel's NUC, the Raspberry Pi, Mintboxes etc.
On tablets and smartphones, the situation is the opposite, with Unix-like operating systems dominating the market (iOS (BSD), Android (Linux), Tizen (Linux), Sailfish (Linux), Ubuntu (Linux)...) and Microsoft's Windows phone, Windows RT and Windows 10 and their respective desktop environments being used only by a small minority. However, many of the domination Unix-like operating systems of handheld devices do not use the X11 desktop environments used by other Unix-like operating systems, but instead have custom made interfaces based on other technologies.
Desktop environments for the X Window System
On systems running the X Window System (typically Unix-family systems such as GNU/Linux, the BSDs, and formal UNIX distributions), desktop environments are much more dynamic and customizable to meet user needs. In this context, a desktop environment typically consists of several separate components, including a window manager (such as Mutter or KWin), a file manager (such as Files or Dolphin), a set of graphical themes, together with toolkits (such as GTK+ and Qt) and libraries for managing the desktop. All these individual modules can be exchanged and independently configured to suit users, but most desktop environments provide a default configuration that works with minimal user setup.
Some window managers—such as IceWM, Fluxbox, Openbox, ROX Desktop and Window Maker—contain relatively sparse desktop environment elements, such as an integrated spatial file manager, while others like evilwm and wmii do not provide such elements. Not all of the program code that is part of a desktop environment has effects which are directly visible to the user. Some of it may be low-level code. KDE, for example, provides so-called KIO slaves which give the user access to a wide range of virtual devices. These I/O slaves are not available outside the KDE environment.
Initially, CDE was available as a proprietary solution, but was never popular on Linux systems due to cost and licensing restrictions. In 1996 the KDE was announced, followed in 1997 by the announcement of GNOME. Xfce is a smaller project that was also founded in 1996, and focuses on speed and modularity, just like LXDE which was started in 2006. A comparison of X Window System desktop environments demonstrates the differences between environments. GNOME and KDE were usually seen as dominant solutions, and these are still often installed by default on Linux systems. Each of them offers:
- To programmers, a set of standard APIs, a programming environment, and human interface guidelines.
- To translators, a collaboration infrastructure. KDE and GNOME are available in many languages.
- To artists, a workspace to share their talents.
- To ergonomics specialists, the chance to help simplify the working environment.
- To developers of third-party applications, a reference environment for integration. OpenOffice.org is one such application.
- To users, a complete desktop environment and a suite of essential applications. These include a file manager, web browser, multimedia player, email client, address book, PDF reader, photo manager, and system preferences application.
In the early 2000s, KDE reached maturity along with GNOME. The Appeal and ToPaZ projects focused on bringing new advances to the next major releases of both KDE and GNOME respectively. Although striving for broadly similar goals, GNOME and KDE do differ in their approach to user ergonomics. KDE encourages applications to integrate and interoperate, is highly customizable, and contains many complex features, all whilst trying to establish sensible defaults. GNOME on the other hand is more prescriptive, and focuses on the finer details of essential tasks and overall simplification. Accordingly, each one attracts a different user and developer community. Technically, there are numerous technologies common to all Unix-like desktop environments, most obviously the X Window System. Accordingly, the freedesktop.org project was established as an informal collaboration zone with the goal being to reduce duplication of effort.
As GNOME and KDE focus on high-performance computers, users of less powerful or older computers often prefer alternative desktop environments specifically created for low-performance systems. Most commonly used lightweight desktop environments include LXDE and Xfce; they both use GTK+, which is the same underlying toolkit GNOME uses. The MATE desktop environment, a fork of Gnome 2, is comparable to XFCE in its use of RAM and processor cycles, but is often considered more as an alternative to Gnome, KDE, Unity or Cinnamon that just happens to be lightweight. LXDE is even less resource hungry than XFCE and MATE and is therefore used on distros specifically for low-powered devices, such as Raspbian (for the Raspberry Pi), MintPPC (for old PowerPC Macintosh computers), Lubuntu (for older x86 and PowerPC computers) and Debian LXDE (for all kinds of low powered devices). Many people prefer to use less resource hungry desktop environments even on more powerful computers to gain maximum possible speed and to get more RAM and processor cycles available for their programs. Some also simply prefer the user interfaces of these lighter desktops. Compared to Gnome, both MATE, XFCE and LXDE are also easier to customise, so if you prefer customisability and want to use GTK+, one of these desktops will fit your requirements.
In 2013, the Razor-Qt and LXDE team came together to work on a new Qt-based lightweight desktop. The LXDE team felt uncertain about the future of GTK+ and was not willing to invest a lot of energy in porting LXDE from GTK+ 2 to GTK+ 3, as GTK+ 3 was seen as unstable and often changing. (However, LXDE is still maintained, but by other developers, with the aim of going forward with GTK+ 3.) The new desktop got the name LXQt and is presently on version 0.9 (as of April 2015). It is based on Qt 5. Its user interface looks and feels very similar to LXDE, but it also incorporates some ideas from Razor-Qt, like drag-and-drop to program launchers on your panel(s). Like LXDE, LXQt is usually used with the Openbox window manager, although it also works on KWin. Since Cannonical's Unity desktop is also moving to Qt 5 (it used to be a desktop Shell based on Gnome 3) and KDE is already using Qt 5, it is thought that a lot of developers will follow and that there will be more Qt-based appplications available in the future. Presently, LXQt is slightly more demanding of RAM than LXDE and approximately comparable to XFCE in that regard.
For a while, GNOME and KDE enjoyed the status of the most popular Linux desktop environments; later, other desktop environments grew in popularity. In April 2011, GNOME introduced a new interface concept with its version 3, while the popular Linux distribution Ubuntu introduced its own new desktop environment, Unity. Some users preferred to keep the traditional interface concept of GNOME 2, and as a result forked Gnome 2 and created MATE. Cinnamon was created to use the new technologies of GTK+3, but with the more traditional desktop user interface of Gnome2. Both of these dekstops were developed by the Linux Mint distribution and brought in many users that preferred the traditional desktop interface over Ubuntu's Unity or Gnome3. Some users upset by Unity or Gnome3 also switched to Xfce or LXDE.
Examples of desktop environments
The most common desktop environment on personal computers is Microsoft Windows' built-in interface. It was titled Luna in Windows XP and Aero from Windows Vista onward. Also common is Aqua, included with Apple's Mac OS X.
Mainstream desktop environments for Unix-like operating systems use the X Window System, and include KDE, GNOME, Xfce, and LXDE, any of which may be selected by users and are not tied exclusively to the operating system in use.
A number of other desktop environments also exist, including (but not limited to) CDE, EDE, GEM, IRIX Interactive Desktop, Sun's Java Desktop System, Jesktop, Mezzo, Project Looking Glass, ROX Desktop, UDE, Xito, XFast. Moreover, there exists FVWM-Crystal, which consists of a powerful configuration for the FVWM window manager, a theme and further adds, altogether forming a "construction kit" for building up a desktop environment.
X window managers that are meant to be usable stand-alone — without another desktop environment — also include elements reminiscent of those found in typical desktop environments, most prominently Enlightenment. Other examples include OpenBox, Fluxbox, WindowLab, Fvwm, as well as Window Maker and AfterStep, which both feature the NeXTSTEP GUI look and feel.
The Amiga approach to desktop environment was noteworthy: the original Workbench desktop environment in AmigaOS evolved through time to originate an entire family of descendants and alternative desktop solutions. Some of those descendants are the Scalos, the Ambient desktop of MorphOS, and the Wanderer desktop of the AROS open source OS. WindowLab also contains features reminiscent of the Amiga UI. Third party Directory Opus software which was originally just a navigational file manager program then evolved to became to a complete Amiga desktop replacement called Directory Opus Magellan.
The BumpTop project is an experimental desktop environment. Its main objective is to replace the 2D paradigm with a "real-world" 3D implementation, where documents can be freely manipulated across a virtual table.
- "Desktop Metaphor". Csdl.tamu.edu. Retrieved 2012-02-04.
- Morris, John (2013-06-25). "Android invades the desktop". ZDNet. Retrieved 2014-04-26.
- WIMP Interfaces
- Window managers and desktop environments - Linux 101
- "The Xerox Alto". Toastytech.com. Retrieved 2012-02-04.
- "Operating System Market Share". Marketshare.hitslink.com. Retrieved 2012-02-04.
- Then, Ewdison (6 February 2009), Xfce creator talks Linux, Moblin, netbooks and open-source, SlashGear, retrieved 5 February 2011
- "KDE Localization". L10n.kde.org. Retrieved 2012-02-04.
- "GNOME Internationalization". Gnome.org. 2011-10-23. Retrieved 2012-02-04.
- Link 27 Dec Personalized Golf Ball Sign» (2011-12-27). "Where life imitates art". KDE-Artists. Retrieved 2012-02-04.
- "GNOME Art: Artwork and Themes". Art.gnome.org. Retrieved 2012-02-04.
- "OpenUsability". OpenUsability. Retrieved 2012-02-04.
- GNOME Human Interface Guidelines[dead link]
- KDE User Interface Guidelines[dead link]
- "KDE OpenOffice.org". KDE OpenOffice.org. Retrieved 2012-02-04.
- "GNOME OpenOffice.org". Gnome.org. Retrieved 2012-02-04.
- "Linux Usability Report v1.01" (PDF). Retrieved 2012-02-04.
- "Appeal". KDE. Archived from the original on 2007-01-06.
- "GNOME 3.0". GNOME wiki. Retrieved 2012-02-04.
- Thorsten Leemhuis (h-online.com), August 5, 2012: Comment: Desktop Fragmentation
- Chris Haynes. "Scalos - The Amiga Desktop Replacement". Scalos.noname.fr. Retrieved 2012-02-04.