Window Maker on Solaris 10

From: Andreas Höschler (ahoesch@smartsoft.de)
Date: Mon Nov 14 2005 - 09:34:14 EST


Dear managers,

> I would like to use Window Maker instead of SJD on a fresh Solaris 10
> installation. I followed the instructions on
>
> http://www.gunfleet.com/solaris/winman.htm
>
> and installed wmaker from www.blastwave.org. My understanding was that
> wmaker is now choosable on the login screen which is not the case for
> me (even after a reboot). Can anyone point me to more info regarding
> the installation and configuration of alternative window managers
> (especially window maker for OPENSTEP look and feel)?

As a followup to my own post I would like to mention that I have
created the following files:

pico /usr/dt/config/C/Xresources.d/Xresources.windowmaker

------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------
************************************************************************
**
#
# Windowmaker config file
#
# /usr/dt/config/C/Xresources.d/Xresources.windowmaker
#
# used by dtlogin
#
#
************************************************************************
**

Dtlogin*altDtsIncrement: True

Dtlogin*altDtName: Windowmaker
Dtlogin*altDtKey: /opt/csw/bin/wmaker
Dtlogin*altDtStart: /usr/dt/config/Xsession.windowmaker
------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------

        pico /usr/dt/config/Xinitrc.windowmaker

------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------
#!/bin/ksh
#####################################################################
### File: Xinitrc.windowmaker
###
### Default Location: /usr/dt/config/Xinitrc.windowaker
###
### Purpose: X session startup script
###
### Invoked by: /usr/dt/bin/Xsession
###
#####################################################################

export PATH="/usr/bin:${PATH}:/usr/dt/bin:/usr/openwin/bin:/opt/csw/bin"

if [ "x$LC_ALL" = x -a "x$LANG" = x -o "x$LANG" = xC ]; then
   export LC_ALL="C"
   export LC_CTYPE="C"
fi

if [ "x$MANPATH" = x ]; then
   export MANPATH=/usr/share/man:/usr/man:/opt/csw/man
else
   export MANPATH=$MANPATH:/usr/man:/opt/csw/man
fi

/usr/openwin/bin/xrdb -merge << EOF
! Default CDE resources
!*WindowColor: #8A008A008A00
!*WindowForeground: #FF0000000000
!*DataBackground: #0000FF000000
!*DataForeground: #FF0000000000
!*WorkspaceColor: #8A008A008A00
!*Color.Background: #FF000000FF00
!*Color.Foreground: #0000FF000000
!*foreground: #000000000000
! Hack for Dtmail
*XmText*background: seashell
*XmTextField*background: seashell
*Message_List*background: seashell
*background: #AE00B200C300
Dthello*string: Welcome to the Windowmaker Desktop
EOF

if [ -f $HOME/.Xdefaults ]; then
     xrdb -merge $HOME/.Xdefaults # Load Users X11 resource
database
fi

echo "Starting Windowmaker"

if [ "$DTXSERVERLOCATION" != "remote" ]; then
   console=False
   case "$DISPLAY" in
   *:0|*:0.0)
     console=True
     ;;
   esac
fi

exec /opt/csw/bin/wmaker
------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------

        pico /usr/dt/config/Xsession.windowmaker

------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------
#!/bin/ksh
#####################################################################
### File: Xsession.windowmaker
###
### Default Location: /usr/dt/config/Xsession.windowmaker
###
### Purpose: Windowmaker session start script
###
### Invoked by: Solaris Desktop Login Manager (dtlogin)
###
#####################################################################

DTDSPMSG=/usr/dt/bin/dtdspmsg

export SESSIONTYPE="altDt"
export SDT_ALT_SESSION="/usr/dt/config/Xsession2.windowmaker"
export SDT_ALT_HELLO="/bin/true"
export SDT_NO_APPGATHER="1"
export SDT_NO_TOOLTALK="1"
export SDT_NO_DTDBCACHE="1"

exec /usr/dt/bin/Xsession
------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------

        pico /usr/dt/config/Xsession2.windowmaker

------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------
#!/bin/ksh
#####################################################################
### File: Xsession2.windowaker
###
### Default Location: /usr/dt/config/Xsession2.windowmaker
###
### Purpose: Windowmaker Desktop start script
###
### Invoked by: /usr/dt/bin/Xsession
###
#####################################################################

# First a little namespace cleanup of vars associated with this
# (and /usr/dt/bin/Xsession.ow) scripts.

unset SDT_ALT_SESSION
unset SDT_ALT_HELLO
unset SDT_NO_DSDM

#
# Find "xinitrc" file by standard precedence rules and start
# the user's Desktop.
#

DEFAULT_XINITRC="/usr/dt/config/Xinitrc.windowmaker"
HOME_XINITRC="$HOME/.xinitrc"

if [ -f $HOME_XINITRC ]; then
     XINITRC=$HOME_XINITRC
else
     XINITRC=$DEFAULT_XINITRC
fi

echo 'Windowmaker Desktop'

if [ -x /usr/dt/bin/xmbind ]; then
     /usr/dt/bin/xmbind
fi

if [ -f $XINITRC ]; then
     echo "using xinitrc file: $XINITRC"
     /bin/ksh $XINITRC
else
     echo "xinitrc file: $XINITRC not found"
     if [ -f $DEFAULT_XINITRC ]; then
        echo "using xinitrc: $DEFAULT_XINITRC"
        /bin/ksh $DEFAULT_XINITRC
     fi
fi
------------------------------------------------------------------------
------------------------------------------------------------------------
-------------------
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:36:20 EDT