summarylogtreecommitdiffstats
path: root/ib-tws.conf
diff options
context:
space:
mode:
authorBen Alex2018-05-08 06:51:00 +1000
committerBen Alex2018-05-08 06:51:00 +1000
commit6c3bc49d4e0cc6b16c77080d357adafa584a595c (patch)
treec8830548fe0b115a2f740895d1f620fc856434d7 /ib-tws.conf
parent5611e2b4581889ea4e1cf265f34e81dd3fcd2dd7 (diff)
downloadaur-6c3bc49d4e0cc6b16c77080d357adafa584a595c.tar.gz
Allow user customisation of startup parameters
Diffstat (limited to 'ib-tws.conf')
-rw-r--r--ib-tws.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/ib-tws.conf b/ib-tws.conf
new file mode 100644
index 00000000000..eb8152edd7f
--- /dev/null
+++ b/ib-tws.conf
@@ -0,0 +1,15 @@
+# System-wide config. To change these values per-user create a file at:
+# $HOME/.config/ib-tws.conf and set only the values you want to change there.
+#
+# In a per-user file you can also append to these flags like this:
+# ex: JAVA_UI_FLAGS="$JAVA_UI_FLAGS -Dsome_extra_flag"
+#
+# Or to the full set of JAVA_FLAGS like this:
+# ex: JAVA_FLAGS="$JAVA_FLAGS -SomeOtherFlag"
+
+IB_CONFIG_DIR=$HOME/.ib-tws
+JAVA_XMX="-Xmx768m"
+JAVA_UI_FLAGS="-Dsun.awt.nopixfmt=true -Dsun.java2d.noddraw=true -Dswing.boldMetal=false"
+JAVA_LOCALE_FLAGS="-Dsun.locale.formatasdefault=true"
+JAVA_EXTRA_FLAGS=
+JAVA_FLAGS="$JAVA_XMX $JAVA_UI_FLAGS $JAVA_LOCALE_FLAGS $JAVA_EXTRA_FLAGS"