MCDE: The DesktopMCDE is the Makronix Common Desktop Environment, a fork of CDE 2.5.3.
CDE is the desktop that Sun, HP, IBM, DEC, SCO, Fujitsu and Hitachi
shipped on their workstations, and it has been open source since 2012.
MCDE keeps what made it good — Motif, a quick and steady desktop
that does not need a fast machine — and makes it one desktop that
works as a whole.The MCDE desktopMCDE is written in C99 against Motif, Xlib and X11. It uses no
other toolkit and no compositor, and it builds and runs on NetBSD and on
Linux through pkgsrc on both. Everything that differs between the
operating systems — users, network, sound — is behind one
layer, so that no program has to know which system it runs on.Logging inThe graphical login is dtlogin1.
It shows the users of the machine and a field for the password; the
Options menu chooses the session type and the
language. After login, dtsession1
starts the session: the window manager, the front panel, the bar at the
top and the programs that are set to open at login.Lock Screen in the Makronix menu locks
the session without ending it; Log Out ends
it and returns to dtlogin. A session can be saved on
logout and restored at the next login; the setting is in System
Settings, under Login.The bar at the topOne bar runs along the top of the screen. On the left is the
Makronix menu: about this computer, software update, system settings,
your favourites and recent items, force quit, sleep, restart, shut down,
lock the screen and log out. Next to it are the menus of the program
you are working with. They leave the program's window and stand in the
bar, for every MCDE program, without a change to the program itself.On the right are the status items: the volume (a slider in the
menu, a mute switch, and the wheel over the speaker), Bluetooth, the
network, the battery on a machine that has one, and the clock.The front panelCDE's front panel stays as it is: the controls in the middle, the
drawers above them, the workspace switches, and the trash. Left of the
trash the panel shows the programs that are open and have no place in
the panel yet; a click brings the window forward. The right button
keeps one in the panel, or you can drag it to the left; from then on it
is there at every login. A click starts it, or brings it forward when it
is already running.The workspaces are in the middle of the panel. A window can be
sent to another workspace from its window menu; the panel's workspace
buttons switch between them. The number of workspaces is set in the
window manager's settings.Windows and the window managerdtwm1
draws the frames. The title bar has the window menu on the left and the
minimize and maximize buttons on the right; the window menu moves,
resizes, raises, lowers, sends the window to a workspace, or closes it.
A double click on the title bar maximizes the window.The window manager's configuration is
~/.dt/dtwmrc; without it, the system file
/usr/pkg/dt/config/C/sys.dtwmrc applies. The menu
that appears on the root window (the desktop) is defined there. Most
people never edit it: the settings that matter are in System
Settings.The file managerdtfile1
is the file manager. A toolbar has Back and Forward — every
window keeps its own history — and the views. A sidebar holds the
places: the computer, your home, the desktop, documents and downloads,
and the free space of the disk is in the status line.The file managerThe column view shows one column for each folder down to the one
you are in, and on the right what you selected: its icon, kind, size and
date. Files are copied and moved by dragging them; the trash is on the
front panel. The file manager also shows network places when the
sharing services are configured ().The terminaldtterm1
is the terminal. It has tabs: Ctrl+Shift+T
opens one, Ctrl+Shift+W
closes it, and Ctrl+Shift+Left
and Ctrl+Shift+Right
move between them. A program's title appears on its tab, and the window
title is the title of the tab in front. A profile gives a tab its font,
its colours and its command
(Window, New Tab with Profile).
Ctrl+Shift+D
splits a tab and puts another terminal below it. Started as
dtterm -dropdown, the terminal waits out of sight and
comes down from the top of the screen at F12; the next
press puts it back.The terminal with two tabsThe terminal draws anti-aliased UTF-8 text in the Hack font, and
falls back to another font for characters Hack does not have. The
shell inside it is the login shell of your account; on a fresh account
it is sh1.The other programsdtpad1The text editor. It edits plain text, has a
search and replace, and opens several files in one window.dtcalc1The calculator: a normal calculator, a scientific
one and a programmer's one, in one window.dtpaintThe paint program: lines, curves, shapes, fill,
text and zoom, in the colours of the release. It is for pictures
drawn by hand.dtlaunchThe launcher, opened with
Alt+Space.
Type a few letters to find a program; type a keyword to find a text
snippet; leave the field empty to see what you copied last; type
=12*(3+4) and it shows 84. Return starts the
program or puts the text on the clipboard. Snippets live in
~/.dt/snippets.dtinfo1The Information Manager: this guide, with search.
is its chapter.System Settingsdtsystemsettings is one window for every
setting of the computer. It has four rows of icons — personal,
hardware, internet and network, system — and a click opens a
setting in the same window; Show All goes back.System SettingsIt draws the colours (every palette with its colours), the font of
every window, the backdrop (a picture, or a folder of pictures that
change by themselves) and the screen saver, the keyboard and the mouse,
sound, the network and the Wi-Fi networks in reach, Bluetooth, the date,
time and time zone, the accounts of the people who use the computer, the
software update and the facts about the computer. It also decides what
happens at login: the session and the programs that open by
themselves.Changing an account, the network or the software update asks for
the administrator's password. The settings that belong to one user are
stored in ~/.dt; the ones that belong to the
machine are in /etc/dt and
/usr/pkg/dt/config.Colours, fonts and the paletteA Makronix release is named after a CDE palette, and the desktop
starts in that palette. For 0.99.10 it is Camouflage:
the background is a grey-green, the panels are olive and grey-green, and
the title bars are a deep green. The palette is a plain file,
/usr/pkg/dt/share/palettes/Camouflage.dp, and
System Settings shows every installed palette with its colours before
you choose it.Fonts are set the same way. MCDE ships Hack, an open source
monospace font, and uses it for the terminal and the login screen; the
rest of the desktop uses the system font, which System Settings can
change. Anti-aliasing is on by default and can be turned off for a
machine that is too slow for it.The session and your filesEverything that belongs to your desktop is under
~/.dt: the session, the panel layout, the menus,
the snippets, the backdrop choice and the settings of the programs.
Removing a file there resets that part of the desktop at the next login;
removing the whole directory gives you a fresh desktop, without touching
your documents.The session manager can save the programs that are open when you
log out and start them again at the next login. The setting is in
System Settings under Login. A program that should
always start belongs in the session, not in a shell startup file: the
session is what the desktop restores.HelpThe MCDE programs have a Help menu, but their
own help pages are not part of this release: the cross build turns the
MCDE documentation off. The Information Manager holds this guide, which
is the place to start when the question is about the system rather than
about one program. The next chapter explains how to open it and how to
search in it.