Skip to content

Commit e84797a

Browse files
author
Murilo Marinho
committed
[docker] Adding usrset.txt
1 parent c6132e6 commit e84797a

2 files changed

Lines changed: 132 additions & 4 deletions

File tree

scripts/setup_coppeliasim.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,15 @@ rm "${COPPELIASIM_FILE}"
3131
echo "Setting environment variables for ${COPPELIASIM_FILE}."
3232
COPPELIASIM_PATH="${HOME}/utils/CoppeliaSim_Edu_${COPPELIASIM_RELEASE}_${UBUNTU_VERSION}"
3333

34-
# Add path for interactive scripts
35-
echo "export COPPELIASIM_PATH=${COPPELIASIM_PATH}" \
36-
>> ~/.bashrc
37-
# Add path for noninteractive scripts
34+
# Add path for noninteractive shells
3835
echo "export COPPELIASIM_PATH=${COPPELIASIM_PATH}" \
3936
>> /etc/bash_env
4037

4138
# Aliases do not expand in non-interactive shells
4239
echo "alias coppeliasim=${COPPELIASIM_PATH}/coppeliaSim.sh &" \
4340
>> ~/.bashrc
41+
42+
# Copy usrset.txt
43+
mkdir -p /root/.CoppeliaSim
44+
cd /root/.CoppeliaSim
45+
curl -OL "https://raw.githubusercontent.com/SmartArmStack/docker-coppeliasim/refs/heads/${BRANCH}/scripts/usrset.txt" || exit 1

scripts/usrset.txt

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
// Debugging
2+
// =================================================
3+
alwaysShowConsole = false
4+
verbosity = default // to override console verbosity setting, use any of: default (do not override), none, errors, warnings, loadinfos, scripterrors, scriptwarnings, msgs, infos, debug, trace, tracelua or traceall
5+
statusbarVerbosity = default // to override statusbar verbosity setting, use any of: default (do not override), none, errors, warnings, loadinfos, scripterrors, scriptwarnings, msgs, infos, debug, trace, tracelua or traceall
6+
dialogVerbosity = default // to override dialog verbosity setting, use any of: default (do not override), none, errors, warnings, questions or infos
7+
timeStamp = false
8+
logFilter = // leave empty for no filter. Filter format: txta1&txta2&...&txtaN|txtb1&txtb2&...&txtbN|...
9+
undecoratedStatusbarMessages = false
10+
consoleMsgsToFile = false // if true, console messages are sent to consoleMsgsFile
11+
consoleMsgsFile = debugLog.txt // defaults to debugLog.txt
12+
13+
14+
// Rendering
15+
// =================================================
16+
idleFps = 8
17+
offscreenContextType = -1 // recommended to keep -1 (-1=default, 0=Qt offscreen, 1=QGLWidget/QOpenGLWidget visible, 2=QGLWidget/QOpenGLWidget invisible).
18+
fboType = -1 // recommended to keep -1 (-1=default, 0=native, 1=QOpenGLFramebufferObject).
19+
vboOperation = -1 // recommended to keep -1 (-1=default, 0=always off, 1=on when available).
20+
highResDisplay = -1 // -1=none, 1=special, 2=enabled, 3=enable oglScaling and guiScaling below.
21+
guessedDisplayScalingThresholdFor2xOpenGl = 150 // 200=default
22+
oglScaling = 1 // 1=default. No effect if highResDisplay!=3 above.
23+
guiScaling = 1 // 1.0=default. No effect if highResDisplay!=3 above.
24+
hierarchyRefreshCnt = 6
25+
26+
27+
// Visual
28+
// =================================================
29+
initWindowSize = 0,0 // 0,0 for fullscreen
30+
initWindowPos = 0,0
31+
darkMode = true
32+
displayWorldRef = true
33+
guiFontSize_Win = 13 // -1=default
34+
guiFontSize_Mac = -1 // -1=default
35+
guiFontSize_Linux = 13 // -1=default
36+
statusbarInitiallyVisible = false
37+
modelBrowserInitiallyVisible = false
38+
sceneHierarchyInitiallyVisible = false
39+
sceneHierarchyHiddenDuringSimulation = false
40+
scriptEditorFont = // empty=default. e.g. "Courier New", "DejaVu Sans Mono", "Consolas", "Ubuntu Mono", etc.
41+
scriptEditorBoldFont = false
42+
scriptEditorFontSize = -1 // -1=default.
43+
codeColor_background = 205,205,205
44+
codeColor_selection = 128,128,255
45+
codeColor_comment = 0,140,0
46+
codeColor_number = 220,0,220
47+
codeColor_string = 48,149,186
48+
codeColor_character = 48,149,186
49+
codeColor_operator = 0,0,0
50+
codeColor_preprocessor = 0,128,128
51+
codeColor_identifier = 64,64,64
52+
codeColor_word = 50,50,215
53+
codeColor_word2 = 152,0,0
54+
codeColor_word3 = 220,80,20
55+
codeColor_word4 = 152,64,0
56+
57+
58+
// Directories
59+
// =================================================
60+
defaultDirectoryForScenes = // absolute path, e.g. d:/myScenes (or leave empty for default path)
61+
defaultDirectoryForModels = // absolute path, e.g. d:/myModels (or leave empty for default path)
62+
defaultDirectoryForImportExport = // absolute path, e.g. d:/myCadFiles (or leave empty for default path)
63+
defaultDirectoryForMiscFiles = // absolute path, e.g. d:/myMiscFiles (or leave empty for default path)
64+
65+
66+
// Serialization
67+
// =================================================
68+
autoSaveDelay = 0 // in minutes. 0 to disable.
69+
doNotWritePersistentData = false
70+
allowSettingsWrite = true
71+
72+
73+
// Undo/Redo
74+
// =================================================
75+
undoRedoEnabled = false
76+
undoRedoOnlyPartialWithCameras = true
77+
undoRedoLevelCount = 16
78+
undoRedoMaxBufferSize = 80000000
79+
timeInMsForUndoRedoTooLongWarning = 200
80+
81+
82+
// Messaging
83+
// =================================================
84+
doNotShowUpdateCheckMessage = true
85+
doNotShowProgressBars = false
86+
suppressStartupDialogs = true
87+
suppressXmlOverwriteMsg = false
88+
89+
90+
// Compatibility
91+
// =================================================
92+
showOldDlgs = false
93+
supportOldApiNotation = true
94+
readDelay = -500
95+
writeDelay = 1000
96+
useBuffers = true
97+
useSceneObjectScripts = true
98+
scriptConversion = 0 // -1: convert to old scripts, 1: convert to new script objects
99+
notifyDeprecated = 0 // 0: no notification, 1: simple notification, 2: exhaustive notification
100+
101+
102+
// Various
103+
// =================================================
104+
preferredSandboxLang = python // python, lua or bareLua
105+
mouseWheelZoomFactor = 1
106+
dynamicActivityRange = 1000
107+
objectTranslationStepSize = 0.025000000000000001
108+
objectRotationStepSize = 5
109+
abortScriptExecutionButton = 3 // in seconds. Zero to disable.
110+
triCountInOBB = 8
111+
identicalVertexTolerance = 9.9999999999999995e-07
112+
runCustomizationScripts = true
113+
runAddOns = true
114+
additionalLuaPath = // e.g. d:/myLuaRoutines
115+
additionalPythonPath = // e.g. d:/myPythonRoutines
116+
defaultPython = // e.g. c:/Python38/python.exe
117+
execUnsafe = true
118+
execUnsafeExt = false // same as above, but for code triggered externally. Recommended to keep false.
119+
externalScriptEditor =
120+
xmlExportSplitSize = 0 // 0=generate a single file.
121+
xmlExportKnownFormats = true // true=if several files are generated, mesh and image files are saved under known formats.
122+
123+
124+
// License
125+
// =================================================
126+
license =

0 commit comments

Comments
 (0)