summaryrefslogtreecommitdiff
path: root/app/xlockmore/etc/dtprofile
blob: 53b484c331b9c88a72efbab708958dcde197b595 (plain)
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
#############################################################################
###
###   .dtprofile
###
###   user personal environment variables
###
###   Common Desktop Environment (CDE)
###
###   (c) Copyright 1993, 1994 Hewlett-Packard Company
###   (c) Copyright 1993, 1994 International Business Machines Corp.
###   (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.
###   (c) Copyright 1993, 1994 Novell, Inc.
###
###
###   $Revision: 1.1 $
###
#############################################################################


#############################################################################
###
###   Your $HOME/.dtprofile is read each time you login to the Common Desktop
###   Environment (CDE) and is the place to set or override desktop
###   environment variables for your session. Environment variables set in
###   $HOME/.dtprofile are made available to all applications on the desktop.
###   The desktop will accept either sh or ksh syntax for the commands in
###   $HOME/.dtprofile.
###
#############################################################################


#############################################################################
###
###   Random stdout and stderr output from apps started by Session Mgr or
###   by actions via front panel or workspace menu can be directed into
###   the user's $HOME/.dt/sessionlogs directory.  By default this output
###   is not recorded.  Instead it is sent off to /dev/null (Unix's "nothing"
###   device).
###
###   If this random application output is wanted (usually only wanted for
###   debugging purposes), commenting out following "dtstart_sessionlogfile"
###   lines will send output to your $HOME/.dt/sessionlogs directory.
###
###   Alternatively, can change "/dev/null" to "/dev/console" to see this
###   debugging output on your console device.  Can start a console via the
###   Workspace programs menu or via Application Mgr's Desktop Tools
###   "Terminal Console" icon.
###
#############################################################################

export dtstart_sessionlogfile="/dev/null"


#############################################################################
###
###   By default, the desktop does not read your standard $HOME/.profile
###   or $HOME/.login files. This can be changed by uncommenting the
###   DTSOURCEPROFILE variable assignment at the end of this file. The
###   desktop reads .profile if your $SHELL is "sh" or "ksh", or .login
###   if your $SHELL is "csh".
###
###   The desktop reads the .dtprofile and .profile/.login without an
###   associated terminal emulator such as xterm or dtterm. This means
###   there is no available command line for interaction with the user.
###   This being the case, these scripts must avoid using commands that
###   depend on having an associated terminal emulator or that interact
###   with the user. Any messages printed in these scripts will not be
###   seen when you log in and any prompts such as by the 'read' command
###   will return an empty string to the script. Commands that set a
###   terminal state, such as "tset" or "stty" should be avoided.
###
###   With minor editing, it is possible to adapt your .profile or .login
###   for use both with and without the desktop.  Group the statements not
###   appropriate for your desktop session into one section and enclose them
###   with an "if" statement that checks for the setting of the "DT"
###   environment variable. When the desktop reads your .profile or .login
###   file, it will set "DT" to a non-empty value for which your .profile or
###   .login can test.
###
###   example for sh/ksh
###
###     if [ ! "$DT" ]; then
###       #
###       # commands and environment variables not appropriate for desktop
###       #
###       stty ...
###	   tset ...
###	   DISPLAY=mydisplay:0
###	   ...
###     fi
###
###     #
###     # environment variables common to both desktop and non-desktop
###     #
###     PATH=$HOME/bin:$PATH
###     MYVAR=value
###     export MYVAR
###     ...
###
###   example for csh
###
###     if ( ! ${?DT} ) then
###       #
###       # commands and environment variables not appropriate for desktop
###       #
###       stty ...
###       tset ...
###       setenv DISPLAY mydisplay:0
###       ...
###     endif
###
###     #
###     # environment variables common to both desktop and non-desktop
###     #
###     setenv PATH $HOME/bin:$PATH
###     setenv MYVAR value
###     ...
###
###   Errors in .dtprofile or .profile (.login) may prevent a successful
###   login. If after you login, your session startup terminates and you
###   are presented with the login screen, this might be the cause. If this
###   happens, select the Options->Sessions->Failsafe Session item on the
###   login screen, login and correct the error. The $HOME/.dt/startlog and
###   $HOME/.dt/errorlog files may be helpful in identifying errors.
###
##############################################################################

#
#  If $HOME/.profile (.login) has been edited as described above, uncomment
#  the following line.
#
DTSOURCEPROFILE=true

#
# Screen savers.
#
#DTSCREENSAVERLIST="\
#StartDtscreenSwarm \
#StartDtscreenQix \
#StartDtscreenFlame \
#StartDtscreenHop \
#StartDtscreenImage \
#StartDtscreenLife \
#StartDtscreenRotor \
#StartDtscreenPyro \
#StartDtscreenWorm \
#StartDtscreenBlank"

#export DTSCREENSAVERLIST="\
#$DTSCREENSAVERLIST \

#DTSCREEN="/usr/dt/bin/dtscreen"
DTSCREEN="/usr/local/bin/xlock -dtsaver"
export DTSCREEN

DTSCREENSAVERLIST="\
StartDtscreenAnemone \
StartDtscreenAnt \
StartDtscreenAnt3d \
StartDtscreenApollonian \
StartDtscreenAtlantis \
StartDtscreenAtunnels \
StartDtscreenBall \
StartDtscreenBat \
StartDtscreenBiof \
StartDtscreenBlot \
StartDtscreenBouboule \
StartDtscreenBounce \
StartDtscreenBraid \
StartDtscreenBubble \
StartDtscreenBubble3d \
StartDtscreenBug \
StartDtscreenCage \
StartDtscreenClock \
StartDtscreenCoral \
StartDtscreenCrystal \
StartDtscreenDaisy \
StartDtscreenDclock \
StartDtscreenDecay \
StartDtscreenDeco \
StartDtscreenDeluxe \
StartDtscreenDemon \
StartDtscreenDilemma \
StartDtscreenDiscrete \
StartDtscreenDragon \
StartDtscreenDrift \
StartDtscreenEuler2d \
StartDtscreenEyes \
StartDtscreenFadeplot \
StartDtscreenFiberlamp \
StartDtscreenFire \
StartDtscreenFlag \
StartDtscreenFlame \
StartDtscreenFlow \
StartDtscreenForest \
StartDtscreenFzort \
StartDtscreenGalaxy \
StartDtscreenGears \
StartDtscreenGlplanet \
StartDtscreenGoop \
StartDtscreenGrav \
StartDtscreenHelix \
StartDtscreenHop \
StartDtscreenHyper \
StartDtscreenIco \
StartDtscreenIfs \
StartDtscreenImage \
StartDtscreenInvert \
StartDtscreenJuggle \
StartDtscreenJulia \
StartDtscreenKaleid \
StartDtscreenKumppa \
StartDtscreenLament \
StartDtscreenLaser \
StartDtscreenLife \
StartDtscreenLife1d \
StartDtscreenLife3d \
StartDtscreenLightning \
StartDtscreenLisa \
StartDtscreenLissie \
StartDtscreenLoop \
StartDtscreenLyapunov \
StartDtscreenMandelbrot \
StartDtscreenMarquee \
StartDtscreenMatrix \
StartDtscreenMaze \
StartDtscreenMoebius \
StartDtscreenMolecule \
StartDtscreenMorph3d \
StartDtscreenMountain \
StartDtscreenMunch \
StartDtscreenNoof \
StartDtscreenNose \
StartDtscreenPacman \
StartDtscreenPenrose \
StartDtscreenPetal \
StartDtscreenPetri \
StartDtscreenPipes \
StartDtscreenPolyominoes \
StartDtscreenPuzzle \
StartDtscreenQix \
StartDtscreenPyro \
StartDtscreenRoll \
StartDtscreenRotor \
StartDtscreenRubik \
StartDtscreenSballs \
StartDtscreenScooter \
StartDtscreenShape \
StartDtscreenSierpinski \
StartDtscreenSierpinski3d \
StartDtscreenSkewb \
StartDtscreenSlip \
StartDtscreenSolitare \
StartDtscreenSpace \
StartDtscreenSphere \
StartDtscreenSpiral \
StartDtscreenSpline \
StartDtscreenSproingies \
StartDtscreenStairs \
StartDtscreenStar \
StartDtscreenStarfish \
StartDtscreenStrange \
StartDtscreenSuperquadrics \
StartDtscreenSwarm \
StartDtscreenSwirl \
StartDtscreenT3d \
StartDtscreenTetris \
StartDtscreenText3d \
StartDtscreenThornbird \
StartDtscreenTik_Tak \
StartDtscreenToneclock \
StartDtscreenTransparent \
StartDtscreenTriangle \
StartDtscreenTube \
StartDtscreenTurtle \
StartDtscreenVines \
StartDtscreenVoters \
StartDtscreenWator \
StartDtscreenWire \
StartDtscreenWorld \
StartDtscreenWorm \
StartDtscreenXcl \
StartDtscreenXjack \
StartDtscreenBlank \
StartDtscreenBomb \
StartDtscreenRandom"
export DTSCREENSAVERLIST