Use POSIX macros for linux
[oweals/cde.git] / cde / programs / dtlogin / config / Xconfig.src
1 XCOMM ##########################################################################
2 XCOMM
3 XCOMM   Xconfig
4 XCOMM
5 XCOMM   Common Desktop Environment (CDE)
6 XCOMM
7 XCOMM   Configuration file for the Login Manager
8 XCOMM
9 XCOMM   (c) Copyright 1993, 1994 Hewlett-Packard Company
10 XCOMM   (c) Copyright 1993, 1994 International Business Machines Corp.
11 XCOMM   (c) Copyright 1993, 1994 Sun Microsystems, Inc.
12 XCOMM   (c) Copyright 1993, 1994 Novell, Inc.
13 XCOMM
14 XCOMM   $XConsortium: Xconfig.src /main/6 1996/06/27 11:10:38 mgreess $
15 XCOMM
16 XCOMM            ************** DO NOT EDIT THIS FILE **************
17 XCOMM
18 XCOMM   CDE_INSTALLATION_TOP/config/Xconfig is a factory-default file and will
19 XCOMM   be unconditionally overwritten upon subsequent installation.
20 XCOMM   Before making changes to the file, copy it to the configuration 
21 XCOMM   directory, CDE_CONFIGURATION_TOP/config.
22 XCOMM
23 XCOMM   This file contains behaviour resources for the CDE DT Login Manager.
24 XCOMM   It also specifies the location of other configuration files used by
25 XCOMM   the Login Manager.
26 XCOMM
27 XCOMM   Appearance resources for the login screen are contained in the file
28 XCOMM   specified by the "*resources" resource below. 
29 XCOMM
30 XCOMM   Most resources can be limited to a single display by including the
31 XCOMM   display name in the resource.  If the display name is not included, the
32 XCOMM   resource will apply to all displays managed by the Login Manager.  When
33 XCOMM   specifying the display name, replace the ":"  character in the name
34 XCOMM   with an underscore "_".  If the name is fully qualified, also replace
35 XCOMM   dot "."  characters with underscores.
36 XCOMM   
37 XCOMM   Example:
38 XCOMM   
39 XCOMM      Dtlogin*machine_domain_name_0*startup:     CDE_CONFIGURATION_TOP/config/Xstartup.aa
40 XCOMM
41 XCOMM   For more information see the man page, Dtlogin(1X).
42 XCOMM
43 XCOMM ##########################################################################
44
45
46 Dtlogin.errorLogFile:          CDE_LOGFILES_TOP/Xerrors
47 Dtlogin.pidFile:               CDE_LOGFILES_TOP/Xpid
48
49 XCOMM #########################################################################
50 XCOMM  Note: If you do not specify a full path beginning with a "/"
51 XCOMM   dtlogin will first search for the following files in
52 XCOMM   /etc/dt/config then in /usr/dt/config.
53 XCOMM
54 XCOMM #########################################################################
55 Dtlogin.accessFile:            Xaccess
56 #if defined (_NO_CONSOLE)
57 Dtlogin.servers:               Xservers.nc
58 #else
59 Dtlogin.servers:               Xservers
60 #endif
61
62 Dtlogin*resources:             %L/Xresources
63 Dtlogin*startup:               Xstartup
64 Dtlogin*reset:                 Xreset
65 Dtlogin*setup:                 Xsetup
66
67 #if defined (__hpux) || defined (_AIX) || defined (sun) || defined(CSRG_BASED) || defined(__linux__)
68 Dtlogin*failsafeClient:        Xfailsafe
69 #else
70 Dtlogin*failsafeClient:        /usr/bin/X11/xterm
71 #endif
72
73 XCOMM #########################################################################
74 XCOMM To specify the system env vars to be exported to the users session
75 XCOMM
76 XCOMM Dtlogin.exportList:               ODMDIR NLSPATH TZ ...
77
78 #ifdef _AIX
79 Dtlogin.exportList:             ODMDIR NLSPATH TZ
80 #endif
81
82 #if defined(CSRG_BASED) || defined(__linux__)
83 Dtlogin.exportList:             NLSPATH LANG
84 #endif
85
86 XCOMM #########################################################################
87 XCOMM  To specify the languages listed in the [Options] [Languages] menu.
88 XCOMM
89 XCOMM  Dtlogin*languageList:      <lang1> <lang2> <lang3>
90
91
92 XCOMM #########################################################################
93 XCOMM  To specify a default language for the display.
94 XCOMM
95 XCOMM  Dtlogin*language:          <lang>
96
97
98 XCOMM #########################################################################
99 XCOMM #  
100 XCOMM #  To specify the system languages that should not be displayed in
101 XCOMM #  the default [Options] [Languages] menu.  The default menu includes
102 XCOMM #  all the locales installed on the system, except for the ones
103 XCOMM #  in this resource.  Filename patterns may be used.
104 XCOMM #
105 XCOMM #  The resource is typically used to filter out locale synonyms
106 XCOMM #  and locales that don't have desktop support.
107 XCOMM #
108 XCOMM #  Each locale in the NLS directory is compared against each of the
109 XCOMM #  language patterns in the ignoreLocales list using "fnmatch".
110 XCOMM #  Any locales which match are NOT included in the list of locales
111 XCOMM #  displayed to the user.
112 XCOMM #
113 XCOMM #  Dtlogin*ignoreLocales:     <lang_pattern1> <lang_pattern2>
114 XCOMM #
115
116
117 XCOMM #########################################################################
118 XCOMM  To specify global environment variables for the X-server and all users
119 XCOMM  on the display. User variables can also be specified in the Xsession file.
120 XCOMM
121 XCOMM  Dtlogin*environment:       <name=value> <name=value>
122
123
124 XCOMM #########################################################################
125 XCOMM  To specify a default user PATH environment variable.
126 XCOMM
127 XCOMM  Dtlogin*userPath:          <path>
128
129 #if defined(__linux__) || defined(CSRG_BASED)
130 Dtlogin*userPath:          /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:CDE_INSTALLATION_TOP/bin
131 #endif
132
133
134 XCOMM #########################################################################
135 XCOMM  To set a display to run the user's XDM $HOME/.xsession script as the
136 XCOMM  default session. Ensure that the $HOME/.xsession script is executable.
137 XCOMM
138 XCOMM  Dtlogin*xdmMode:           True
139
140
141 XCOMM #########################################################################
142 XCOMM  To terminate and restart the X-server at user logout.
143 XCOMM
144 XCOMM  Dtlogin*terminateServer:   True
145
146
147 XCOMM #########################################################################
148 XCOMM  To disable listening for XDMCP requests from X-terminals.
149 XCOMM
150 XCOMM  Dtlogin.requestPort:       0
151
152
153 XCOMM #########################################################################
154 XCOMM  To disable R4 MIT-MAGIC-COOKIE-1 per-user authorization.
155 XCOMM
156 XCOMM  Dtlogin*authorize:         False
157
158
159 XCOMM #########################################################################
160 XCOMM  To specify how long the Login Manager waits to connect to an X-server.
161 XCOMM
162 XCOMM  Dtlogin*openTimeout:       <seconds>
163
164 #if defined(CSRG_BASED) || defined(__linux__)
165 Dtlogin*openTimeout:    15
166 Dtlogin*serverAttempts: 3
167 Dtlogin*wakeupInterval: 20
168 #endif
169
170 XCOMM #########################################################################
171 XCOMM  To specify how often the Login Manager "pings" a remote display to 
172 XCOMM  determine if it is still active.
173 XCOMM
174 XCOMM  Dtlogin*pingInterval:      <minutes>
175 XCOMM  Dtlogin*pingTimeout:       <minutes>
176
177
178 XCOMM #########################################################################
179 XCOMM  To release the server grab on the display when the login screen is 
180 XCOMM  present. Doing so will reduce security capabilities of the Login Manager.
181 XCOMM
182 XCOMM  Dtlogin*grabServer:        False
183
184
185 XCOMM #########################################################################
186 XCOMM  To specify the maximum size of the Login Manager error log file in
187 XCOMM  kilobytes.
188 XCOMM
189 XCOMM  Dtlogin.errorLogSize:      50
190
191