Merge branch 'master' into multi-monitor
[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 #if defined (__osf__)
60 Dtlogin.servers:               Xservers.con
61 #else
62 Dtlogin.servers:               Xservers
63 #endif
64 #endif
65
66 Dtlogin*resources:             %L/Xresources
67 Dtlogin*startup:               Xstartup
68 Dtlogin*reset:                 Xreset
69 Dtlogin*setup:                 Xsetup
70
71 #if defined (__hpux) || defined (_AIX) || defined (sun) || defined (__osf__) || defined(CSRG_BASED) || defined(linux)
72 Dtlogin*failsafeClient:        Xfailsafe
73 #else
74 Dtlogin*failsafeClient:        /usr/bin/X11/xterm
75 #endif
76
77 XCOMM #########################################################################
78 XCOMM To specify the system env vars to be exported to the users session
79 XCOMM
80 XCOMM Dtlogin.exportList:               ODMDIR NLSPATH TZ ...
81
82 #ifdef _AIX
83 Dtlogin.exportList:             ODMDIR NLSPATH TZ
84 #endif
85
86 #if defined(CSRG_BASED) || defined(linux)
87 Dtlogin.exportList:             NLSPATH LANG
88 #endif
89
90 XCOMM #########################################################################
91 XCOMM  To specify the languages listed in the [Options] [Languages] menu.
92 XCOMM
93 XCOMM  Dtlogin*languageList:      <lang1> <lang2> <lang3>
94
95
96 XCOMM #########################################################################
97 XCOMM  To specify a default language for the display.
98 XCOMM
99 XCOMM  Dtlogin*language:          <lang>
100
101
102 XCOMM #########################################################################
103 XCOMM #  
104 XCOMM #  To specify the system languages that should not be displayed in
105 XCOMM #  the default [Options] [Languages] menu.  The default menu includes
106 XCOMM #  all the locales installed on the system, except for the ones
107 XCOMM #  in this resource.  Filename patterns may be used.
108 XCOMM #
109 XCOMM #  The resource is typically used to filter out locale synonyms
110 XCOMM #  and locales that don't have desktop support.
111 XCOMM #
112 XCOMM #  Each locale in the NLS directory is compared against each of the
113 XCOMM #  language patterns in the ignoreLocales list using "fnmatch".
114 XCOMM #  Any locales which match are NOT included in the list of locales
115 XCOMM #  displayed to the user.
116 XCOMM #
117 XCOMM #  Dtlogin*ignoreLocales:     <lang_pattern1> <lang_pattern2>
118 XCOMM #
119
120 #if defined (__osf__)
121 Dtlogin*ignoreLocales:  *.88591* *@ucs4 *@chuyin *@pinyin *@radical *@stroke \
122                         ca_ES cs_CZ hu_HU iw_IL lt_LT pl_PL ru_RU sk_SK sl_SI
123 #endif
124
125
126 XCOMM #########################################################################
127 XCOMM  To specify global environment variables for the X-server and all users
128 XCOMM  on the display. User variables can also be specified in the Xsession file.
129 XCOMM
130 XCOMM  Dtlogin*environment:       <name=value> <name=value>
131
132
133 XCOMM #########################################################################
134 XCOMM  To specify a default user PATH environment variable.
135 XCOMM
136 XCOMM  Dtlogin*userPath:          <path>
137
138 #if defined(linux)
139 Dtlogin*userPath:          /bin:/usr/bin:/sbin:/usr/sbin:/usr/dt/bin
140 #elif defined(CSRG_BASED)
141 Dtlogin*userPath:          /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/dt/bin
142 #endif
143
144
145 XCOMM #########################################################################
146 XCOMM  To set a display to run the user's XDM $HOME/.xsession script as the
147 XCOMM  default session. Ensure that the $HOME/.xsession script is executable.
148 XCOMM
149 XCOMM  Dtlogin*xdmMode:           True
150
151
152 XCOMM #########################################################################
153 XCOMM  To terminate and restart the X-server at user logout.
154 XCOMM
155 XCOMM  Dtlogin*terminateServer:   True
156
157
158 XCOMM #########################################################################
159 XCOMM  To disable listening for XDMCP requests from X-terminals.
160 XCOMM
161 XCOMM  Dtlogin.requestPort:       0
162
163
164 XCOMM #########################################################################
165 XCOMM  To disable R4 MIT-MAGIC-COOKIE-1 per-user authorization.
166 XCOMM
167 XCOMM  Dtlogin*authorize:         False
168
169
170 XCOMM #########################################################################
171 XCOMM  To specify how long the Login Manager waits to connect to an X-server.
172 XCOMM
173 XCOMM  Dtlogin*openTimeout:       <seconds>
174
175 #if defined(CSRG_BASED) || defined(linux)
176 Dtlogin*openTimeout:    15
177 Dtlogin*serverAttempts: 3
178 Dtlogin*wakeupInterval: 20
179 #endif
180
181 XCOMM #########################################################################
182 XCOMM  To specify how often the Login Manager "pings" a remote display to 
183 XCOMM  determine if it is still active.
184 XCOMM
185 XCOMM  Dtlogin*pingInterval:      <minutes>
186 XCOMM  Dtlogin*pingTimeout:       <minutes>
187
188
189 XCOMM #########################################################################
190 XCOMM  To release the server grab on the display when the login screen is 
191 XCOMM  present. Doing so will reduce security capabilities of the Login Manager.
192 XCOMM
193 XCOMM  Dtlogin*grabServer:        False
194
195
196 XCOMM #########################################################################
197 XCOMM  To specify the maximum size of the Login Manager error log file in
198 XCOMM  kilobytes.
199 XCOMM
200 XCOMM  Dtlogin.errorLogSize:      50
201
202