ArticleslgStudy

computer science

Common Desktop Environment

Common Desktop Environment is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Common Desktop Environment rather than just read about it. In short: The Common Desktop Environment (CDE) is a desktop environment for Unix and OpenVMS, based on the Motif widget toolkit. It was part of the UNIX 98 Workstation Product Standard, and was for a long time the Unix desktop associated with commercial Unix workstations.

Common Desktop Environment — main illustration
Common Desktop Environment — illustration

Key takeaways

  • Common Desktop Environment belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Common Desktop Environment to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Common Desktop Environment from memory before moving on to harder problems.

Reference excerpt

The Common Desktop Environment (CDE) is a desktop environment for Unix and OpenVMS, based on the Motif widget toolkit. It was part of the UNIX 98 Workstation Product Standard, and was for a long time the Unix desktop associated with commercial Unix workstations. It helped to influence early implementations of successor projects such as KDE and GNOME, which largely replaced CDE following the turn of the century. After a long history as proprietary software, CDE was released as free software on August 6, 2012, under the GNU Lesser General Public License, version 2.0 or later. Since its release as free software, CDE has been ported to Linux and BSD derivatives.

History Hewlett-Packard, IBM, SunSoft, and USL announced CDE in June 1993 as a joint development within the Common Open Software Environment (COSE) initiative. Each development group contributed its own technology to CDE:

HP contributed the primary environment for CDE, which was based on HP's Visual User Environment (VUE). HP VUE was itself derived from the Motif Window Manager. IBM contributed its Common User Access model from OS/2's Workplace Shell. Sun contributed its ToolTalk application interaction framework and a port of its DeskSet productivity tools, including mail and calendar clients, from its OpenWindows environment. USL provided desktop manager components and scalable systems technologies from UNIX System V. After its release, HP endorsed CDE as the new standard desktop for Unix, and provided documentation and software for migrating HP VUE customizations to CDE. In March 1994 CDE became the responsibility of the "new OSF", a merger of the Open Software Foundation and Unix International; in September 1995, the merger of Motif and CDE into a single project, CDE/Motif, was announced. OSF became part of the newly formed Open Group in 1996. In February 1997, the Open Group released their last major version of CDE, version 2.1. Red Hat Linux was the only Linux distribution that proprietary CDE was ported to. In 1997, Red Hat began offering a version of CDE licensed from TriTeal Corporation. In 1998, Xi Graphics, a company specializing in the X Windowing System, offered a version of CDE bundled with Red Hat Linux, called Xi Graphics maXimum cde/OS. These were phased out, and Red Hat moved to the GNOME desktop. Until about 2000, users of Unix desktops regarded CDE as the de facto standard, but at that time, other desktop environments such as GNOME and K Desktop Environment 2 were quickly becoming mature, and became widespread on Linux systems. In 2001, Sun Microsystems announced that they would phase out CDE as the standard desktop environment in Solaris in favor of GNOME. Solaris 10, released in early 2005, includes both CDE and the GNOME-based Java Desktop System. The OpenSolaris project, begun around the same time, did not include CDE, and had no intent to make Solaris CDE available as open-source. The original release of Solaris 11 in November 2011 only contained GNOME as standard desktop, though some CDE libraries, such as Motif and ToolTalk, remained for binary compatibility but Oracle Solaris 11.4, released in August 2018, removed support for the CDE runtime environment and background services.

Systems that provided proprietary CDE IBM AIX Digital UNIX HP-UX: from version 10.10, released in 1996. IRIX: for a short time CDE was an alternative to IRIX Interactive Desktop. OpenVMS: available in OpenVMS Alpha V7.1 and onwards, referred to as the "DECWindows Motif New Desktop" Solaris: available starting with 2.3, standard in 2.6 to 10. Tru64 UNIX UnixWare UXP/DS Red Hat Linux: Two versions ported by Triteal and Xi Graphics

License history From its launch until 2012, CDE was proprietary software. Motif, the toolkit on which CDE is built, was released by The Open Group in 2000 as "Open Motif," under a "revenue sharing" license. That license did not meet either the open source or free software definitions. The Open Group had wished to make Motif open source, but did not succeed in doing so at that time.

Release under the GNU LGPL In 2006, a petition was created asking The Open Group to release the source code for CDE and Motif under a free license. On August 6, 2012, CDE was released under the LGPL-2.0-or-later license. The CDE source code was then released to SourceForge. The free software project OpenCDE had been started in 2010 to reproduce the look and feel, organization, and feature set of CDE. In August 2012, when CDE was released as free software, OpenCDE was officially deprecated in favor of CDE. On October 23, 2012, the Motif widget toolkit was also released under the LGPL-2.1-or-later license. This allowed CDE to become a completely free and open source desktop environment. Shortly after CDE was released as free software, a Linux live CD was created based on Debian 6 with CDE 2.2.0c pre-installed, called CDEbian. The live CD has since been discontinued. The Debian-based Linux distribution SparkyLinux offers binary packages of CDE that can be installed with APT. As of March 2023, CDE was also included in the NuTyX GNU/Linux distribution which offers an ISO download image with it, in FreeBSD and in source form in pkgsrc which is the default package manager of NetBSD.

Development under CDE project In March 2014, the first stable release of CDE, version 2.2.1, was made since its release as free software. Beginning with version 2.2.2, released in July 2014, CDE is able to compile under FreeBSD 10 with the default Clang compiler. Since version 2.3.0, released in July 2018, CDE uses TIRPC on Linux, so that the portmapper rpcbind does not need to be run in insecure mode. It does not use Xprint anymore, and can be compiled on the BSDs without installing first a custom version of Motif. Multihead display support with Xinerama has been improved. Since its release as free software, CDE has been ported to:

Linux distributions including: Debian Red Hat Enterprise Linux Slackware Linux Ubuntu Arch Linux FreeBSD NetBSD OpenBSD OpenIndiana Solaris 11 (x86-64) Future project goals of the CDE project include:

Increased portability to more Linux, BSD, and Unix platforms. Further internationalization into other languages.

Gallery

See also

dtlogin IRIX Interactive Desktop Motif

References

External links

Official website Open Group: CDE NsCDE on GitHub, modern, functional CDE desktop, FVWM-based

Illustrations

Common Desktop Environment illustration
Common Desktop Environment illustration
Common Desktop Environment illustration
Common Desktop Environment illustration
Common Desktop Environment illustration

Worked examples

Example 1 — a first encounter with Common Desktop Environment

Start with the simplest possible case. Write down what Common Desktop Environment claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Common Desktop Environment before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Common Desktop Environment ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Common Desktop Environment

In research
Common Desktop Environment appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Common Desktop Environment in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Common Desktop Environment is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1993 software, Desktop environments, Formerly proprietary software, so understanding it makes those chapters shorter.
In everyday life
Look for Common Desktop Environment outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Common Desktop Environment” →

How to study Common Desktop Environment in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Common Desktop Environment means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Common Desktop Environment out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Common Desktop Environment in simple terms?

The Common Desktop Environment (CDE) is a desktop environment for Unix and OpenVMS, based on the Motif widget toolkit. It was part of the UNIX 98 Workstation Product Standard, and was for a long time the Unix desktop associated with commercial Unix workstations.

Why does Common Desktop Environment matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Common Desktop Environment?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Common Desktop Environment.

Tags

  • 1993 software
  • Desktop environments
  • Formerly proprietary software
  • OpenVMS
  • Open Group standards
  • Software that uses Motif (software)
  • Sun Microsystems software
  • X window managers

Keep exploring