dtmail opens the shared settings window (lib/DtWidget/McdePrefs.c) with
`dtmail -prefs`: a row of icon tabs, the page under them, no OK or Cancel.
The argument is taken out of argv before Xt sees it, and RoamApp::initialize
returns after building the window -- no mailbox and no ToolTalk are needed
for it.
General Default email reader (dtmail, Thunderbird, Evolution, mutt,
xdg-email), Check for new mail (Manually, 1, 5, 15, 30, 60
minutes), New mail sound (the events of the session's theme, a
click plays it), Play sounds for other mail actions, Show the
unread count in the front panel, Downloads folder, Remove
unedited downloads, and what a search includes (Trash, Junk).
Viewing Show message headers (All/Brief/Full), the order of the list,
the preview pane.
Values are kept as English KEY=VALUE in ~/.dt/dtmail.conf (McdePrefsConf),
the labels themselves (mailreader=Thunderbird), so the file stays readable.
dtmail's CDE Options dialog stays for the retrieval details; these keys are
the one pattern every MCDE program has, and wiring each into dtmail's own
option system is a follow-up.
McdePrefs grew what dtmail needed and the measurements found:
* the page is a vertical XmPACK_COLUMN row column of rows; a row is a form
of its own, made by McdePrefsRowBegin()/McdePrefsRowEnd() -- a widget
cannot be reparented, so a row cannot take one made elsewhere (the old
chained-form rows overlapped with many rows);
* the window takes the size of the chosen page (its children are measured
after the page is managed) and the title is the page's name;
* a tab click finds its window by walking up the widget chain to a shell
whose XmNuserData is a Prefs -- XtParent(XtParent(w)) alone found
nothing, so no tab did anything before (measured).
dtpad's settings use the same two calls now; its window still writes
~/.dt/dtpad.conf.
Measured under Xvfb with xdotool:
- dtmail -prefs: the General page -- docs/screenshots/leopard/
Mail-Preferences-mcde.png -- and after a click on the Viewing tab the
title is "Viewing" and the window 356x275 instead of 430x634
(docs/screenshots/leopard/Mail-Preferences-Viewing-mcde.png);
- Default email reader -> Thunderbird: ~/.dt/dtmail.conf has
"mailreader=Thunderbird";
- the Downloads field typed to /tmp/Downloads and Return:
"downloads=/tmp/Downloads";
- "Play sounds for other mail actions" off and on again: "othersounds=0"
then "othersounds=1";
- dtpad's Wrap to fit: "wrap=1" in ~/.dt/dtpad.conf;
- make check lib/DtWidget: test_prefs PASS; make lib/DtWidget, dtpad,
dtmail exit=0.
Open (follow-up): the reference's other pages (Accounts, Signatures, Rules),
wiring the keys into dtmail's own options, and ~/.dt/defaults with a
mailto: action -- choosing Thunderbird here stores the choice, but the
mailto: link still goes to dtmail's own action.
CDE - The Common Destop Environment
In 2012, CDE was opensourced under the terms of the LGPL V2 license by the Open Group.
You may reuse and redistribute this code under the terms of this license. See the COPYING file for details.
Downloading
Downloading this release:
CDE may be downloaded in source form from the Common Desktop Environment website:
http://sourceforge.net/projects/cdesktopenv/
Or via git:
git clone git://git.code.sf.net/p/cdesktopenv/code CDE
The git repository will always be more up to date than the downloadable tarballs we make available, so if you have problems, please try the latest version from git master.
Note also that the master branch may be unstable, so your milage may vary.
Compiling
Complete build and installation instructions can be found on the CDE wiki:
http://sourceforge.net/p/cdesktopenv/wiki/Home/
Please go there and read the appropriate section(s) for your OS (Linux or FreeBSD/OpenBSD/NetBSD currently) prior to attmpting to build it.
There are a variety of dependencies that must be met, as well as specific set up steps required to build, especially relating to localization and locales.
Do not expect to just type 'make' and have it actually work without meeting the prerequisites and following the correct steps as spelled out on the wiki.
There are also a lot of other documents and information there that you might find useful.
Assuming you've met all of the requirements regarding packages needed for the build, you can follow the standard autoconf method:
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
NOTE: BSD users must currently install and use gmake to compile, as well as specify the location of the TCL libraries and headers. So the instructions for them would looke like:
$ ./autogen.sh
$ ./configure --with-tcl=/usr/local/lib/tcl8.6 MAKE="gmake"
$ gmake
$ sudo gmake install
Of course change to location of your TCL directory as needed for your system.
Support
Mailing list
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
IRC
There is a CDE IRC channel on irc.libera.chat, channel #cde
Patches welcome
Please see
https://sourceforge.net/p/cdesktopenv/wiki/Contributing%20to%20CDE/
for information on how to contribute.