Le 01/06/2023 à 08:55, Johannes von Rotz a écrit :
On 5/31/23 19:46, Richard L. Hamilton wrote:
I can e.g. run dtpad from a command, although it takes a long time to start, 
since ttdbserverd and/or ttesssion are not running.
Hi Richard


* add a session to those CDE knows about
I had some success with something like this:

$ cat > /usr/dt/config/C/Xresources.d/Xresources.twm <<EOF
Dtlogin*altDtName1:     Twm
Dtlogin*altDtKey1:      /usr/bin/twm
Dtlogin*altDtStart1:    /usr/bin/twm
Dtlogin*altDtLogon1:    Twm
EOF

According to the dtlogin man page, you define an Xresources.* file for
each session type and append an incrementing number to each of those
resource definitions. So if you have another windows manager you would
like to use, you define altDtName2, altDtKey2, etc.

I haven't yet figured out why there's an altDtKey and an altDtStart
resource. But we'll get there...

I have used the following configuration file:

Dtlogin*altDtsIncrement:        True

Dtlogin*altDtName:      Window Maker
Dtlogin*altDtKey:       /usr/bin/wmaker
Dtlogin*altDtStart:     /etc/dt/config/Xsession.windowmaker
Dtlogin*altDtLogo:     /usr/share/WindowMaker/Icons/GNUstep.xpm

named 0300.session under /etc/dt/config/C/Xresources.d

altDtKey is any file that is present when the window manager is installed (here the executable),

altDtStart the startup script

and /etc/dt/config/Xsession.windowmaker

contains

#!/bin/ksh

WINDOW_MANAGER=/usr/bin/wmaker

export WINDOW_MANAGER

exec /usr/bin/wmaker

It is also possible to stop the computer by defining a session with a script that executes

shutdown -h now instead of a window manager. If the computer accepts suspend to disk,

it can be also  suspended with echo disk >/sys/power/state.

And what has changed since CDE went open source to the extent that something 
might be replaced with something else not natively CDE, or might otherwise be 
unfamiliar?
We don't like change. :)

Cheers, J.


_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel


_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to