For the complete documentation index, see llms.txt. This page is also available as Markdown.

10.9 CDE (To Be Removed)

CDE Desktop Environment Overview

CDE (Common Desktop Environment) was the standard desktop environment for commercial UNIX systems in the 1990s, widely used in commercial distributions such as Solaris, HP-UX, and AIX.

Installing the CDE Desktop Environment

  • Install using pkg:

# pkg install xorg cde wqy-fonts xdg-user-dirs
  • Or install using Ports:

# cd /usr/ports/x11/xorg/ && make install clean
# cd /usr/ports/x11/cde/ && make install clean
# cd /usr/ports/x11-fonts/wqy/ && make install clean
# cd /usr/ports/devel/xdg-user-dirs/ && make install clean

Package Description

Package
Description

xorg

X Window System

cde

Provides the traditional CDE desktop environment

wqy-fonts

WenQuanYi Chinese Fonts

xdg-user-dirs

Manages user directories such as "Desktop", "Downloads", etc.

  • View post-installation information

Configuring Services and Files

  • Configure services

  • Configure the X server to allow any user to start:

  • Create a symbolic link to Xsession for the current user, used to start the desktop session:

  • Configure the dtspcd service to start via TCP, add the following content to the /etc/inetd.conf file:

  • Specify TCP port 6112 for the dtspc service, add the following content to the /etc/services file:

Chinese Configuration

Edit the /etc/login.conf file: find the default:\ section and change :lang=C.UTF-8 to :lang=zh_CN.UTF-8.

Rebuild the capability database based on the /etc/login.conf file for the configuration to take effect:

dtlogin
FreeBSD Install CDE

It pauses at this stage for several minutes each time it starts.

FreeBSD Install CDE
Terminal

Troubleshooting and Outstanding Issues

Unable to Set Chinese Environment

The overall CDE interface cannot be switched to Chinese; only the calendar component can display Chinese.

According to the source code at https://sourceforge.net/p/cdesktopenv/code/ci/master/tree/cde/imports/motif/localized/, CDE does not have Simplified Chinese support. However, according to the Simplified Chinese Solaris User Guide, the Solaris version does include Simplified Chinese support. This localization support may have been lost during the open-sourcing process, or the Solaris version may be an unmerged branch. This has been reported at Missing Simplified Chinese locale support under cde/imports/motif/localized.

References

Last updated