Antonis Tsolomitis | 24 Jun 08:50 2015

integration of GTK apps

I read often messages that are about the mailtool, and what follows 
routinely is the
correct answer of Jon that this needs major code additions and better 
use other programs
like thunderbird.

But of course other programs do not blend nicely with the desktop as far 
as the looks are concerned.
You can see here: 

that it is possible to integrate at least colorwise all gtk apps that 
are important for a modern desktop.
Although the desktop is in Greek, you can see Gimp, LibreOffice, 
MozillaFirefox and Thunderbird
(I even open a menu on thunderbird to show the color change of the item 
below the mouse cursor)
blending nicely with the Golden color theme of CDE which I currently use.

OF course I will publish the way to do it. I hope I will have it ready 
in the next days.

But the question here is if CDE has to provide some mechanism to do this 
(for example I do this
kinda manually and if one changes the CDE color them, I have to redo 
everything from scratch).
I feel that CDE people are often reluctant of changes. However, without 
visually integrating
(Continue reading)

Douglas Carmichael | 19 Jun 19:34 2015

Patch for dtterm coredumps in libDtTerm/TermPrimBuffer.c (see ticket: #50)

To whom it may concern:

Attached is a small patch to not define USE_MEMCPY in libDtTerm on OpenBSD 5.7. 

This is a workaround for the dtterm coredumps mentioned in ticket #50.


cdesktopenv-devel mailing list
Douglas Carmichael | 19 Jun 11:02 2015

Font sizing issues with CDE on Ubuntu 15.04

I was successfully able to build CDE on Ubuntu 15.04, but there are issues with font sizing versus my installations on FreeBSD/OpenBSD.

Here’s an example desktop on Ubuntu 15.04:,oL16KOG#1

Here’s an example on FreeBSD 10:,oL16KOG#0

I edited my /etc/X11/fonts/misc/xfonts-base.alias file as shown here ( but it didn’t change anything.

What could cause this? 

Thanks in advance!


cdesktopenv-devel mailing list
Douglas Carmichael | 19 Jun 09:45 2015

dtmail not building on FreeBSD 10.1-RELEASE-p10

When I tried to build CDE on FreeBSD 10.1-RELEASE-p10, the rest of the package builds fine. 

But, dtmail does not (as you can see in ticket #48), thus CDE can’t build properly.

Should we still be building dtmail, even though it is not compatible with modern mail standards?


cdesktopenv-devel mailing list
cdesktopenv-devel <at>
Alex Madama | 18 Jun 01:33 2015

Request for access to update sourceforge OpenBSD wiki page


I’d like to get access to the sourceforge wiki to update the OpenBSD entry. Also, there is some other cleanup that needs to happen in other sections as well.

The updated OpenBSD wiki text is included in this email as well.





OpenBSD 5.7 setup and guide to installing CDE

These instructions are verified with a default OpenBSD 5.7 install. X windows components installed from CD and xdm login disabled (boots to command line). Make sure OpenBSD ports and packages system are set up. See here for instructions:

All instructions done using root

Verify hostname is in /etc/hosts file or else CDE will not start up properly

add the 'hostname' to /etc/hosts              [hostname goes here]              [FQDN goes here]


Add to /etc/rc.conf.local



Install the following packages:

pkg_add git

pkg_add ksh93

pkg_add bison

pkg_add wget

pkg_add libXp

pkg_add xprintproto

Prepare to build Motif from source

Get the following patch:


cd /usr/ports/x11/openmotif

patch </root/openmotif_xprint.diff

make install clean


Prepare to build CDE 2.2.3

git clone git:// cdesktopenv-code

Log for troubleshooting

script /tmp/log.txt

Make the folllowing symlinks:

cd cdesktopenv-code/cde

mkdir -p imports/x11/include

ln -s /usr/X11R6/include/X11 imports/x11/include/

ln -s /usr/local/include/Xm imports/x11/include/

make World


Install CDE (must be done as root):

cd admin/IntegTools/dbTools

./installCDE -s /root/cdesktopenv-code/cde

Exit logging:


add to /etc/rc.conf.local


If you want to be able to exchange calendar data with other users, put

the following line in your /etc/inetd.conf:

rpc.cmsd/1 dgram rpc/tcp wait root /usr/local/dt/bin/rpc.cmsd rpc.cmsd


Start CDE:

You can now start dtlogin manager as root:

/usr/dt/bin/dtlogin -nodaemon

Alternatively, you can start an X session as a normal user:

env LANG=C startx /usr/dt/bin/Xsession


Cleanup and post-install:

If everything compiled and installed properly you may delete the install log file you created using the script command above (/tmp/log.txt)

To automatically source your .profile when opening a terminal in CDE uncomment the last line in your user's .dtprofile file:


To automatically go into the CDE graphical login at system startup add the following line to /etc/rc.local : (first verify CDE starts up manually using command shown above)

/usr/dt/bin/dtlogin &



Attachment (OpenBSD_57_CDE_wiki.rtf): application/msword, 3097 bytes
cdesktopenv-devel mailing list
Douglas Carmichael | 15 Jun 11:01 2015

Patches to compile CDE on OpenBSD 5.7

To whom it may concern:

Attached is a set of patches to enable compiling and using CDE on OpenBSD 5.7.


cdesktopenv-devel mailing list
Isaac Dunham | 15 Jun 06:17 2015

[PATCH] programs/dtappintegrate: make PATH include /bin.

Without this, we fail without the /usr merge because 'date' is
 cde/programs/dtappintegrate/dtappintegrate.src | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cde/programs/dtappintegrate/dtappintegrate.src b/cde/programs/dtappintegrate/dtappintegrate.src
index 3006a87..3ae02e5 100755
--- a/cde/programs/dtappintegrate/dtappintegrate.src
+++ b/cde/programs/dtappintegrate/dtappintegrate.src
 <at>  <at>  -301,7 +301,7  <at>  <at>  APPMAN_FILES="(*)"

 LOGFILE=$(mktemp /tmp/dtappint.logXXXXXXXXXXXXXXXX)

 XCOMM -------------------------------------------------------------------
 XCOMM  Save application's name in variable.


Alex Madama | 13 Jun 21:58 2015

OpenBSD 5.7 AMD64 fails to compile

Hi everyone,

I am trying to update the wiki entry for OpenBSD CDE build. Using the baseline that I wrote and verified with CDE 2.2.1 on OpenBSD 5.4.

Currently with the new CDE 2.2.3 and OpenBSD 5.7 AMD64 I am unable to get a proper compile. Tail of the make World is below:


xdmcp.c: In function 'all_query_respond':

xdmcp.c:249: warning: implicit declaration of function 'RememberIndirectClient'

xdmcp.c:251: warning: implicit declaration of function 'ForgetIndirectClient'

xdmcp.c: In function 'WaitForSomething':

xdmcp.c:375: warning: suggest parentheses around && within ||

xdmcp.c:399: warning: implicit declaration of function 'ProcessChooserSocket'

xdmcp.c: In function 'manage':

xdmcp.c:1011: warning: implicit declaration of function 'IsIndirectClient'

xdmcp.c: In function 'forward_respond':

xdmcp.c:548: warning: 'clientlen' may be used uninitialized in this function

xdmcp.c:547: warning: 'client' may be used uninitialized in this function

Warning: target ../../imports/x11/lib/libXau.a (prerequisite of: dtlogin) does not have any command (BUG)

Warning: target ../../imports/x11/lib/libXdmcp.a (prerequisite of: dtlogin) does not have any command (BUG)

rm -f dtlogin

cc -o dtlogin -O2 -fno-strict-aliasing -pipe -Wall -Wpointer-arith -Wno-unused -Wno-write-strings -Wno-switch     -L../../exports/lib  -L../../imports/motif/lib -L../../imports/x11/lib access.o account.o auth.o genauth.o daemon.o dm.o                   dpylist.o error.o file.o mitauth.o protodpy.o policy.o                   reset.o resource.o server.o session.o socket.o util.o                   verify.o version.o apollo.o sysauth.o fontpath.o                    qualify.o usl_ptty.o choose.o netaddr.o xdmcp.o                   -lXau -lXmu -L../../exports/lib  -L../../imports/motif/lib -L../../imports/x11/lib -lXt -lX11 -lXdmcp -lXext -lX11  -L/usr/X11R6/lib -L/usr/local/lib  -L/usr/local/lib -L/usr/X11R6/lib

policy.o(.text+0x28f): In function `Willing':

: warning: tmpnam() possibly used unsafely; consider using mkstemp()

access.o(.text+0xaef): In function `ScanAccessDatabase':

: warning: strcpy() is almost always misused, please use strlcpy()

auth.o(.text+0x1e5): In function `openFiles':

: warning: strcat() is almost always misused, please use strlcat()

auth.o(.text+0xd75): In function `SetUserAuthorization':

: warning: sprintf() is often misused, please use snprintf()

auth.o(.text+0xd7d): In function `SetUserAuthorization':

: warning: mktemp() possibly used unsafely; consider using mkstemp()

genauth.o(.text+0x1f6): In function `GenerateAuthData':

: undefined reference to `setkey'

genauth.o(.text+0x219): In function `GenerateAuthData':

: undefined reference to `encrypt'

collect2: ld returned 1 exit status

*** Error 1 in programs/dtlogin (Makefile:842 'dtlogin')

*** Error 1 in programs (Makefile:729 'all')

*** Error 1 in . (xmakefile:721 'all')

*** Error 1 in /root/cdesktopenv-code/cde (Makefile:66 'World')


Based on the existing OpenBSD wiki entry what other dependency might be missing?




cdesktopenv-devel mailing list
Isaac Dunham | 12 Jun 05:00 2015

Working on CDE integration for Ida (can anyone test?)

Hello all,
I asked the maintainer of fbida[1], a Motif/framebuffer image viewer,
about whether CDE integration would be accepted upstream, and received
a positive answer.
Currently I have a V1 patch that works for me, but might need work
before it gets merged upstream.

I'd like a little bit of feedback on how well it works for others;
if you have anything by way of translations, I should be able to work
those in.

To use the patch, you will need "dtappintegrate" to be in your PATH;
if you're using CDE, that should be the case already.
Apply it on top of fbida 2.10/git head, then run make and make install.
If you use "make DESTDIR=...", you will need to run the following manually
as root once installation is completed:

 dtappintegrate -s $prefix/share/ida

where prefix is the prefix you installed Ida in.

I also have a tarball containing the integration files, which could be
dropped in /etc/dt/ or $prefix/share/ida/dt/ ; if you do the latter,
you will again need to run dtappintegrate.

HOWEVER, there's a big caveat/bug report:
dtappintegrate is a shell script, and currently it sets PATH to
"/usr/dt/bin:/usr/bin", before it uses "date".
To make it work without using the /usr merge, you will need to find
the line that sets PATH and add ":/bin" at the end.
Patch pending.

Isaac Dunham

Attachment (ida-dt.tgz): application/x-gtar-compressed, 2750 bytes
cdesktopenv-devel mailing list
Antonis Tsolomitis | 11 Jun 11:42 2015

CDE on Ubuntu12.04LTS-LTSP5 works!

As I reported in my previous messages CDE does not work on LTSP5 and 
Ubuntu10.04LTS. CDE freezes.

However, I just checked with LTSP5 and Ubuntu12.04LTS and YES, it works!!!

I can only see one glitch: the cursor remains busy forever when you move 
it on the desktop
as you can see in the screenshot here: 
(cursor at top right)
If you move it on any window it gets out of being busy. Moreover the 
"busy" state as you can see is
not the CDE icon but the one inherited by Ubuntu cursors.

In any case I think Jon can move the Ubuntu LTSP from "not working" to 
"working" in
his page here:
If we can resolve the busy cursor too then that would be great.

In a few months our labs will switch to latest UbuntuLTSP and of course 
I will recheck CDE on them.


Eugene Doudine | 10 Jun 07:09 2015

Fwd: scaling down/up


Regarding the panel: In the default configuration it is supposed to
select icons of proper resolution
 (16x16, 32x32 or 48x48) and size other interface elements
automatically depending on the screen

Looks that the algorithm does not work optimally for your display, so
you need to override it
in the panel configuration: add RESOLUTION  statement  to panel
configuration in dtwm.fp (system one resides in
/usr/dt/appconfig/types/LOCALE/dtwm.fp). Valid values are: high,
medium, low, match_display.

PANEL FrontPanel
  RESOLUTION             low

See dtfpfile(4), dtdtfile(4) for details.

Best regards,

On Tue, Jun 9, 2015 at 9:34 AM, Antonis Tsolomitis
<antonis.tsolomitis@...> wrote:
> Hi. Is it possible to scale down everything on the desktop? Say the panel?
> I ask this because the panel looks big on low resolution monitors (on
> some laptops).
> Antonis.
> ------------------------------------------------------------------------------
> _______________________________________________
> cdesktopenv-devel mailing list
> cdesktopenv-devel@...