[ Printer Friendly Page ]
[ E-mail this Document to Someone ]
[ Was this document useful? Yes or No ]
Infodoc ID |
|
Synopsis |
|
Date |
16634 |
|
how to make dtwm look like mwm in Solaris 2.6 |
|
3 Mar 1998 |
How do you make the CDE window manager, dtwm, look like the Motif Window
manager, mwm?
This functionality is only for Solaris 2.6/CDE 1.2.
Do the following:
1. Add the following resources to ~/.Xdefaults:
Dtwm*useFrontPanel: False
Dtwm*configFile: $HOME/.mwmrc
There may be other resources that need to be set differently as well. See
the dtwm man page for more information.
The configFile resource assumes you are using a customized .mwmrc file.
If you are not, you do not need to set this resource. The resource is
documented in the dtwm man page.
The root menus for dtwm and mwm are not the same. The dtwm root menu is
fully configurable, so you can make changes in the root menu if you need
to. See the man pages for dtwm and dtwmrc for more information.
If you want these resource changes to be system-wide for all users, copy
/usr/dt/app-defaults/C/Dtwm to /etc/dt/app-defaults/C and make the changes
in there. Note: if you are using a locale other than the standard English
locale, replace C with the name of your locale.
2. Set the OW_WINDOW_MANAGER environment variable to /usr/dt/bin/dtwm -name
Mwm:
csh: setenv OW_WINDOW_MANAGER /usr/dt/bin/dtwm -name Mwm
ksh: OW_WINDOW_MANAGER=/usr/dt/bin/dtwm -name Mwm; export OW_WINDOW_MANAGER
Note: this assumes that you are using the standard .xinitrc, which is
copied from /usr/openwin/lib/Xinitrc. If you have a modified one, please
move .xinitrc to another location for the test.
The option -name Mwm lets dtwm behave as if it were mwm. It actually reads
all the resources starting with Mwm*. This option is documented in the
dtwm man page.
3. Set the LD_LIBRARY_PATH environment variable to
/usr/dt/lib:/usr/openwin/lib:
csh: setenv LD_LIBRARY_PATH /usr/dt/lib:/usr/openwin/lib
ksh: LD_LIBRARY_PATH=/usr/dt/lib:/usr/openwin/lib; export LD_LIBRARY_PATH
Note: Sun does not endorse or support this functionality of dtwm.
SOLUTION SUMMARY:
Top
Sun Proprietary/Confidential: Internal Use Only
Feedback to SunSolve Team