summarylogtreecommitdiffstats
path: root/ib-tws.conf
diff options
context:
space:
mode:
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"