HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 122

CDE Under HP-UX

Page 122 highlights

The Desktop Environment system.hpwmrc contained the configuration of the workspace menu and button and key bindings. system.hpwmrc has been replaced with the Motif version system.mwmrc. system.hpwmrc, system.hpwmrc, and system.hpwmrc could be copied to a user's home directory and modified to suit the user's personal taste. The personalized versions, .x11start, .Xdefaults, and .hpwmrc overrode the systemwide versions, sys.x11start, sys.Xdefaults, and system.hpwmrc. Motif Configuration Files Motif added only one new configuration file to the X list: system.mwmrc. By convention, this file is kept with the X configuration files in /usr/lib/X11. Technically, this file is not new at all, but is simply the Motif replacement for system.hpwmrc. From an end-user's or system administrator's perspective, the Motif widget toolkit represents very little change in the user environment. But, from the point of view of the programmer, the Motif widget toolkit is a very great advance over programming in "raw" X. CDE Configuration Files By convention, the configuration files for CDE live in the directory /usr/dt; in principle, there could be as many as 80 files that could be edited to configure some aspect of the CDE environment. But, if you remove from that list files that (1) configure CDE applications as opposed to the environment itself; (2) establish default actions and datatype definitions that, although you will create your own definitions in separate files, you will never modify; (3) are CDE working files and should not be modified; and (4) more appropriately are associated with configuring the underlying UNIX, X and Motif environments underlying CDE, including various shell environments, then CDE has only about 19 configuration files: .Xauthority .Xdefaults .dtprofile dtwm.fp dtwmrc sys.dtprofile sys.dtwmrc sys.font sys.resources sys.sessions Xaccess Xconfig Xfailsafe Xreset Xresources Xservers Xsession Xsetup Xstartup Now, while 19 configuration files is still a large number, you should not be alarmed; many of them never need to be edited and several can be ignored. As a consequence only several really need to be understood in any detail. A detailed discussion of each of the configuration files is outside of our present scope, but an excellent account of them can be found in HP-UX 11.0 System Administration: Handbook and Toolkit (see http://www.phptr.com/ptrbooks/ptr_0130125148.html). CDE Under HP-UX What Happens when CDE Starts? The following list outlines the process initiated when CDE starts up: 117

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125

The Desktop Environment
117
system.hpwmrc
contained the configuration of the workspace menu and button and key bindings.
system.hpwmrc
has been replaced with the
Motif version
system.mwmrc
.
system.hpwmrc, system.hpwmrc,
and
system.hpwmrc
could be copied to a user±s home directory and
modified to suit the user±s personal taste. The personalized versions,
.x11start, .Xdefaults,
and
.hpwmrc
overrode the systemwide versions,
sys.x11start, sys.Xdefaults,
and
system.hpwmrc
.
Motif Configuration Files
Motif added only one new configuration file to the X list:
system.mwmrc
.
By convention, this file is kept with the X configuration files in
/usr/lib/X11
. Technically, this file is not
new at all, but is simply the Motif replacement for
system.hpwmrc
.
From an end-user±s or system administrator±s perspective, the Motif widget toolkit represents very little
change in the user environment. But, from the point of view of the programmer, the Motif widget toolkit is
a very great advance over programming in ²raw³ X.
CDE Configuration Files
By convention, the configuration files for CDE live in the directory
/usr/dt
; in principle, there could be as
many as 80 files that could be edited to configure some aspect of the CDE environment. But, if you remove
from that list files that (1) configure CDE applications as opposed to the environment itself; (2) establish
default actions and datatype definitions that, although you will create your own definitions in separate files,
you will never modify; (3) are CDE working files and should
not
be modified; and (4) more appropriately
are associated with configuring the underlying UNIX, X and Motif environments underlying CDE,
including various shell environments, then CDE has only about 19 configuration files:
.Xauthority
.Xdefaults
.dtprofile
dtwm.fp
dtwmrc
sys.dtprofile
sys.dtwmrc
sys.font
sys.resources
sys.sessions
Xaccess
Xconfig
Xfailsafe
Xreset
Xresources
Xservers
Xsession
Xsetup
Xstartup
Now, while 19 configuration files is still a large number, you should not be alarmed; many of them never
need to be edited and several can be ignored. As a consequence only several really need to be understood in
any detail. A detailed discussion of each of the configuration files is outside of our present scope, but an
excellent account of them can be found in
HP-UX 11.0 System Administration: Handbook and Toolkit
(see
CDE Under HP-UX
What Happens when CDE Starts?
The following list outlines the process initiated when CDE starts up: