This file is indexed.

/usr/share/xcrysden/Tcl/custom-definitions is in xcrysden-data 1.5.53-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
set xcMisc(debug) 0

# ------------------------------------------------------------------------
#  do we have CRYSTAL package
# ------------------------------------------------------------------------

set system(c95_exist) 0


# ------------------------------------------------------------------------
#  CRYSTAL modules
# ------------------------------------------------------------------------

#set system(c95_integrals)  /home/tone/src/CRYSTAL03/bin/Linux-pgf/v1_0_2/crystal
#set system(c95_scf)        /home/tone/src/CRYSTAL03/bin/Linux-pgf/v1_0_2/crystal
#set system(c95_properties) /home/tone/src/CRYSTAL03/bin/Linux-pgf/v1_0_2/properties



# ------------------------------------------------------------------------
#  print command
# ------------------------------------------------------------------------

#set xcMisc(printCommand) {lpr -h}



# ------------------------------------------------------------------------
# xcrysden can use several encoder programs for creating animated GIF
# (convert, gifsicle, whirlgif) and AVI/MPEG movies
# (mencoder/ppmtompeg)
# ------------------------------------------------------------------------

#set xcMisc(gif_encoder)   convert
#set xcMisc(movie_encoder) mencoder


# ------------------------------------------------------------------------
# NOTICE: Starting from version 1.5, xcrysden tries to automatically
# find various external packages, nevertheless user can still set
# them explicitly, as shown below (if you want to do so, uncomment
# corresponding lines)
# ------------------------------------------------------------------------

# ------------------------------------------------------------------------
#  An image conversion program: we need PPM to PNG/JPG/GIF/... conversion.
#  The "convert" program of ImageMagick (http://www.imagemagick.org/) is
#  a convenient choice.
# 
#  It is possible to specify the command-line options. For example:
#
#  set xcMisc(ImageMagick.convert) "/usr/bin/convert \
#                             -quality 90 -border 3x3 -bordercolor black"
# 
# Instead one can also use something like:
#
#  set xcMisc(ImageMagick.convertOptions) "-quality 90 -antialias \
#                             -blur 1x1 -trim -bordercolor white \
#                             -border 20x20 -bordercolor black -border 3x3"
# ------------------------------------------------------------------------
#set xcMisc(ImageMagick.convert) "/usr/bin/convert"
#set xcMisc(ImageMagick.convertOptions) "-quality 90 -bordercolor black -border 3x3"

# ------------------------------------------------------------------------
#  With "gifsicle" program XCRYSDEN can create an Animated-GIF image
# ------------------------------------------------------------------------

#set xcMisc(gifsicle) /usr/bin/gifsicle


# ------------------------------------------------------------------------
#  PPMTOMPEG for creating the MPEG movies
# ------------------------------------------------------------------------

#set xcMisc(ppmtompeg) /usr/bin/ppmtompeg


# ------------------------------------------------------------------------
#  BABEL program
# ------------------------------------------------------------------------
#set xcMisc(babel) /home/tone/bin/babel
# this is the same as environmental BABEL_DIR variable. Note: if
# BABEL_DIR is defined, then this is not needed!!!  
#set xcMisc(babel_dir) $env(HOME)/lib/babel


# ------------------------------------------------------------------------
# Custom setting of the atomic radii. The syntax is:
#
# set atmRad(atomic_number) radius
#
# Example:
#
# set atmRad(1) 0.5; # custom radius for Hydrogen
# set atmRad(8) 1.2; # custom radius for Oxygen
#set atmRad(1)  2.0
# ------------------------------------------------------------------------


# ------------------------------------------------------------------------
# Custom setting of the atomic colors. The syntax is:
#
# set atmCol(atomic_number) {red gren blue}
#
# The components (red,gren,blue) must be in range [0,1]
#
# Example:
#
# set atmCol(1) {0.5 0.5 0.5}; # custom color for Hydrogen
# set atmCol(8) {0.0 1.0 0.0}; # custom color for Oxygen
# ------------------------------------------------------------------------



# -------------------------------------------------------------------------
# Custom setting for a variety of molecular display parameters, such as
# ball-factors, specefill scale factors, tessellation factors, etc.
#
# Below are the default values. If you would like to change the
# default for a particular parameter, then uncomment the appropriate
# line and set the value according to your needs.
# ------------------------------------------------------------------------

## spacefill scale factor
#set myParam(ATRAD_SCALE)     1.40
#
## tesselation factor
#set myParam(TESSELLATION)    15.0 
#
## RGB color of unibonds (each compoenent must be within [0,1])
#set myParam(UNIBONDCOLOR)    {1.00 1.00 1.00} 
#
## Perspective Fovy, Front and Back parameters. The smaller the Fovy
## the larger the perception of perspective. Front and Back parameters
## determine the front and back clipping planes. The smaller the Back
## parameter the more the structure is clipped from the back side. The
## Front parameter is counter-intuitive, meaning the smaller it is the
## more the structure is clipped from the front side.
#
#set myParam(PERSPECTIVEFOVY)  2.5
#set myParam(PERSPECTIVEFRONT) 0.65
#set myParam(PERSPECTIVEBACK)  3.0
#
## ball-factor
#set myParam(BALLF)           0.4
#
## rod-factor
#set myParam(RODF)            0.6
#
## line-width of wireframe display-mode (in pixels)
#set myParam(WFLINEWIDTH)     1
#
## line-width of pointline display-mode (in pixels)
#set myParam(PLLINEWIDTH)     1
#
## line-width of crystal cell's frames
#set myParam(FRAMELINEWIDTH)  1
#
## Lighting-Off outline width
#set myParam(OUTLINEWIDTH)     1
#
## Lighting-On wire line width
#set myParam(WF3DLINEWIDTH)    1
#
## point-size of pointline display-mode (in pixels)
#set myParam(PLRADIUS)        6
#
## chemical connectivity factor
#set myParam(COV_SCALE)       1.05
#
## RGB color of crystal frame (each compoenent must be within [0,1])
#set myParam(FRAMECOL)        {0.88 1.00 0.67} 
#
## line-width of crystal frame
#set myParam(FRAMELINEWIDTH)  1 
#
## rod-factor of crystal frame
#set myParam(FRAMERODF)       0.1
#
## RGB background of XCRYSDEN display window 
## (each compoenent must be within [0,1])
#set myParam(BACKGROUND)      {0.00 0.00 0.00}
#
## maximum number of cells per direction for CRYSTALs
#set myParam(CRYSTAL_MAXCELL)  10
#
## maximum number of cells per direction for SLABs
#set myParam(SLAB_MAXCELL)     20
#
## maximum number of cells for POLYMERs
#set myParam(POLYMER_MAXCELL)  50
#
## default atomic-label's font (in X11 XLFD format)
#set myParam(ATOMIC_LABEL_FONT) -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
#
## default atomic-label's bright and dark color (in clamped-float RGB format)
#set myParam(ATOMIC_LABEL_BRIGHTCOLOR) {1.0 1.0 0.0}
#set myParam(ATOMIC_LABEL_DARKCOLOR)   {1.0 0.0 0.0}
#
#
## this are the parameters for the "ppmtompeg" program:
##--BEGIN::
#set myParam(MPEG_ENCODE_PARAM_FILE) {
#PATTERN          IBBPBBPBBPBBPBBP
#OUTPUT           $output_file
#BASE_FILE_FORMAT PPM
#INPUT_FORMAT     UCB
#$input_convert
#GOP_SIZE         16
#SLICES_PER_FRAME 1
#INPUT_DIR        $input_dir
#INPUT
#$input_files
#END_INPUT
#PIXEL           FULL
#RANGE           10
#PSEARCH_ALG     LOGARITHMIC
#BSEARCH_ALG     CROSS2
#IQSCALE         8
#PQSCALE         10
#BQSCALE         25
#REFERENCE_FRAME ORIGINAL
#BIT_RATE        1000000
#BUFFER_SIZE     327680
#FRAME_RATE      30
#}
##--END
#
# ------------------------------------------------------------------------


# ------------------------------------------------------------------------
#
# Custom settings for FERMI-SURFACE-VIEWER
#
# ------------------------------------------------------------------------

## RGB background of Fermi Viewer (each of r,g,b components must be within [0,1])
#set myParam(FS_BACKGROUND)  {0.0 0.0 0.0}

## the type of the cell: bz | para
#set myParam(FS_CELLTYPE) bz 

## do we crop the BZ: 1 or 0
#set myParam(FS_CROPBZ) 1

## display type for the cell: none | wire | solid | solidwire
#set myParam(FS_CELLDISPLAYTYPE) wire 

## draw style for the Fermi-surface: solid | wire | dot
#set myParam(FS_DRAWSTYLE) solid      

## draw transparent  Fermi Surface: 0 | 1 
#set myParam(FS_TRANSPARENT) 0

## shade model for Fermi surface: smooth | flat
#set myParam(FS_SHADEMODEL) smooth

## set the interpolation (should be small integer number, e.g., 1 2 3
#set myParam(FS_INTERPOLATIONDEGREE) 1

## what is the frontface of the surface: CW or CCW
#set myParam(FS_FRONTFACE) CW

## revert the normals of Fermi surface (determines the outside surface): 0 | 1
#set myParam(FS_REVERTNORMALS) 0

## color of the wire-cell (each of r,g,b,a components must be within [0,1])
#set myParam(FS_WIRECELLCOLOR)  {1.00 0.00 1.00 1.00}

## color of the solid-cell (each of r,g,b,a components must be within [0,1])
#set myParam(FS_SOLIDCELLCOLOR)  {0.00 0.95 0.95 0.40}

## use antialiaing: 0 | 1
#set myParam(FS_ANTIALIAS)      0 

## use depth cuing: 0 | 1
#set myParam(FS_DEPTHCUING)     0 

# END of settings for FERMI-SURFACE-VIEWER
# ------------------------------------------------------------------------


# ------------------------------------------------------------------------
#  Here go custom user-specified options
# ------------------------------------------------------------------------
#  In order to add an --unknown option to the Xcrysden allowed options,
#  do the following
#  
# Usage: 
#       addOption option converterProgram description
#
# Arguments:
#       option           ... option to add to XCRYSDEN options
#       converterProgram ... program that converts from an unknown to XSF format;
#                            this program must be supplied by the user !!!
#       description      ... description of the options that will appear in the
#                            help message (i.e. xcrysden --help).
# Example: 
#       addOption --unknown /home/tone/utils/unknown2xsf {
#               load structure from unknown file format
#       }
#