forked from psychopy/psychopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
baseNoArch.spec
209 lines (193 loc) · 9.31 KB
/
baseNoArch.spec
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
# This file specifies defaults for psychopy prefs for ALL PLATFORMS
# Notes on usage for developers (not needed or intended for use when making or running experiments):
# - baseNoArch.spec is copied & edited to be platform specific when you run generateSpec.py
# - the resulting files are parsed by configobj at psychopy run time, for the user's platform
# - To make changes to prefs for all platforms: 1) edit baseNoArch.spec, 2) run generateSpec.py, 3) commit
# - To make a platform specific pref change, 1) edit generateSpec.py as needed, 2) run generateSpec.py, 3) commit
# - If this file is NOT named baseNoArch.spec, it will be auto-generated.
# The syntax of this file is as expected by ConfigObj (not python):
# - Put a tooltip in a comment just prior to the line:
# - Each line should have a default= ___, and it should appear as the last item on the line
# [section_name]
# # comment lines not right above a pref are not used in tooltips
# # the tooltip for prefName1 goes here, on the line right above its spec
# prefName1 = type(value1, value2, ..., default='___')
# NOT_IMPLEMENTED defaultTimeUnits = option('sec', 'frames', default='sec')
# General settings
[general]
# which system to use as a backend for drawing
winType = option('pyglet', 'pygame', default='pyglet')
# the default units for windows and visual stimuli
units = option('deg', 'norm', 'cm', 'pix', 'height', default='norm')
# full screen is best for accurate timing
fullscr = boolean(default='False')
# enable subjects to use the mouse and GUIs during experiments
allowGUI = boolean(default='True')
# 'version' is for internal usage, not for the user
version = string(default='')
# Add paths here to your custom Python modules
paths=list(default=list())
# choice of audio library
audioLib = list(default=list('pyo', 'pygame'))
# audio driver to use
audioDriver = list(default=list('portaudio'))
# path to flac (lossless audio compression) on this operating system
flac = string(default='')
# a list of parallel ports
parallelPorts = list(default=list('0x0378', '0x03BC'))
# Application settings, applied to coder, builder, & prefs windows
[app]
# display tips when starting PsychoPy
showStartupTips = boolean(default='True')
# size of icons in the Coder and Builder toolbars (top of window)
largeIcons = boolean(default='True')
# what windows to display when PsychoPy starts
defaultView = option('last', 'builder', 'coder', 'both', default='last')
# reset preferences to defaults on next restart of PsychoPy
resetPrefs = boolean(default='False') # default must be False!
# save any unsaved preferences before closing the window
autoSavePrefs = boolean(default='False')
# enable features for debugging PsychoPy itself, including unit-tests
debugMode = boolean(default='False')
# language to use in menus etc; not all translations are available. Select a value, then restart the app.
locale = string(default='')
# Settings for the Coder window
[coder]
# open Coder files as read-only (allows running without accidental changes)
readonly = boolean(default=False)
# a list of font names; the first one found on the system will be used
codeFont = string(default='Helvetica')
# a list of font names; the first one found on the system will be used
commentFont = string(default='Helvetica')
# a list of font names; the first one found on the system will be used
outputFont = string(default='Helvetica')
# Font size (in pts) takes an integer between 6 and 24
codeFontSize = integer(6,24, default=14)
# Font size (in pts) takes an integer between 6 and 24
outputFontSize = integer(6,24, default=14)
# activate the source assistant panel
showSourceAsst = boolean(default=False)
# activate the output and shell panels
showOutput = boolean(default=True)
# reload previously opened files after start
reloadPrevFiles = boolean(default=True)
# for coder shell window, which shell to use
preferredShell = option('ipython','pyshell',default='pyshell')
# newline for python files: unix = \n, dos = \r\n
newlineConvention = option('keep','unix','dos',default='keep')
# Settings for the Builder window
[builder]
# whether to automatically reload a previously open experiment
reloadPrevExp = boolean(default=False)
# if False will create scripts with an 'easier' but more cluttered namespace
unclutteredNamespace = boolean(default=False)
# folder names for custom components; expects a comma-separated list
componentsFolders = list(default=list('/Users/Shared/PsychoPy2/components'))
# a list of components to hide (eg, because you never use them)
hiddenComponents = list(default=list('PatchComponent'))
# where the Builder demos are located on this computer (after unpacking)
unpackedDemosDir = string(default='')
# name of the folder where subject data should be saved (relative to the script)
savedDataFolder = string(default='data')
# Panels arrangement: topFlow = Flow on top, Components on left
topFlow = boolean(default=False)
# Display text in a floating window that describes the experiment
alwaysShowReadme = boolean(default=True)
# Upper limit on how many components can be in favorites
maxFavorites = integer(default=10)
# Settings for connections
[connections]
# the http proxy for usage stats and auto-updating; format is host: port
proxy = string(default="")
# override the above proxy settings with values found in the environment (if possible)
autoProxy = boolean(default=True)
# allow PsychoPy to send anonymous usage stats; please allow if possible, it helps PsychoPy's development
allowUsageStats = boolean(default=True)
# allow PsychoPy to check for new features and bug fixes
checkForUpdates = boolean(default=True)
# max time to wait for a connection response
timeout = float(default=20)
# KeyBindings; new key bindings only take effect on restart; Ctrl not available on Mac (use Cmd)
[keyBindings]
# open an existing file
open = string(default='Ctrl+O')
# start a new experiment or script
new = string(default='Ctrl+N')
# save a Builder or Coder file
save = string(default='Ctrl+S')
# save a Builder or Coder file under a new name
saveAs = string(default='Ctrl+Shift+S')
# Coder: print the file
print = string(default='Ctrl+P')
# close the Builder or Coder window
close = string(default='Ctrl+W')
# end the application (PsychoPy)
quit = string(default='Ctrl+Q')
#open the preferences dialog
preferences = string(default='Ctrl+,')
# Coder: cut
cut = string(default='Ctrl+X')
# Coder: copy
copy = string(default='Ctrl+C')
# Coder: paste
paste = string(default='Ctrl+V')
# Coder: duplicate
duplicate = string(default='Ctrl+D')
# Coder: indent code by one level (4 spaces)
indent = string(default='Ctrl+]')
# Coder: reduce indentation by one level (4 spaces)
dedent = string(default='Ctrl+[')
# Coder: indent to fit python syntax
smartIndent = string(default='Shift+Tab')
# Coder: find
find = string(default='Ctrl+F')
# Coder: find again
findAgain = string(default='Ctrl+G')
# Coder: undo
undo = string(default='Ctrl+Z')
# Coder: redo
redo = string(default='Ctrl+Shift+Z')
# Coder: add a # to the start of the line(s)
comment = string(default="Ctrl+'")
# Coder: remove # from start of line(s)
uncomment = string(default="Ctrl+Shift+'")
# Coder: fold this block of code
fold = string(default='Ctrl+Home')
# Coder: check for basic syntax errors
analyseCode = string(default='F4')
# convert a Builder .psyexp script into a python script and open it in the Coder
compileScript = string(default='F5')
# launch a script, Builder or Coder, or run unit-tests
runScript = string(default='Ctrl+R')
# attempt to interrupt and halt a running script
stopScript = string(default='Ctrl+.')
# Coder: show / hide white-space dots
toggleWhitespace = string(default='Ctrl+Shift+W')
# Coder: show / hide end of line characters
toggleEOLs = string(default='Ctrl+Shift+L')
# Coder: show / hide indentation level lines
toggleIndentGuides = string(default='Ctrl+Shift+I')
# Builder: create a new routine
newRoutine = string(default='Ctrl+Shift+N')
# Builder: copy an existing routine
copyRoutine = string(default='Ctrl+Shift+C')
# Builder: paste the copied routine
pasteRoutine = string(default='Ctrl+Shift+V')
# Coder: show / hide the output panel
toggleOutputPanel = string(default='Ctrl+Shift+O')
#Builder: rename an existing routine
renameRoutine = string(default='Ctrl+Shift+R')
# switch to Builder window from Coder
switchToBuilder = string(default='Ctrl+L')
# switch to Coder window from Builder
switchToCoder = string(default='Ctrl+L')
# increase display size in Flow
largerFlow = string(default='Ctrl+=')
# decrease display size in Flow
smallerFlow = string(default='Ctrl+-')
# increase display size of Routines
largerRoutine = string(default='Ctrl+Shift+=') # on mac book pro this is good
# decrease display size of Routines
smallerRoutine = string(default='Ctrl+Shift+-')
#show or hide the readme (info) for this experiment if possible
toggleReadme = string(default='Ctrl+I')