Trader Workstation: Difference between revisions

From Wiki
No edit summary
Line 20: Line 20:
== autologin + keep alive ==
== autologin + keep alive ==
* apt-get install devilspie xdotool
* apt-get install devilspie xdotool
* tws_login.ds
* ~/.devilspie/tws_login.ds
<blockquote>
<blockquote>
<pre>
<pre>
Line 26: Line 26:
</pre>
</pre>
</blockquote>
</blockquote>
* tws_login.sh
* ~/.devilspie/tws_login.sh
<blockquote>
<blockquote>
<pre>
<pre>
Line 32: Line 32:
</pre>
</pre>
</blockquote>
</blockquote>
* tws_autologoff.ds
* ~/.devilspie/tws_autologoff.ds
<blockquote>
<blockquote>
<pre>
<pre>
Line 38: Line 38:
</pre>
</pre>
</blockquote>
</blockquote>
* tws_autologoff.sh
* ~/.devilspie/tws_autologoff.sh
<blockquote>
<blockquote>
<pre>
<pre>

Revision as of 18:31, 30 January 2013

Linux installation

  • download tws
  • tws.sh
#!/bin/bash
cd IBJts
java -cp jts.jar:hsqldb.jar:jcommon-1.0.12.jar:jfreechart-1.0.9.jar:jhall.jar:other.jar:rss.jar -Xmx512M -XX:MaxPermSize=512M jclient.LoginFrame . &
  • gateway.sh
#!/bin/bash
cd IBJts
java -cp jts.jar:hsqldb.jar:jcommon-1.0.12.jar:jhall.jar:other.jar:rss.jar -Dsun.java2d.noddraw=true -Xmx512M ibgateway.GWClient . &

autologin + keep alive

  • apt-get install devilspie xdotool
  • ~/.devilspie/tws_login.ds

  • ~/.devilspie/tws_login.sh

  • ~/.devilspie/tws_autologoff.ds

  • ~/.devilspie/tws_autologoff.sh