Skip to content

Commit

Permalink
disable compositing on start up (#61)
Browse files Browse the repository at this point in the history
fix #55
Changes to be committed:
	modified:   image-files/tws-scripts/run_tws.sh
  • Loading branch information
gnzsnz authored Jan 7, 2024
1 parent 93d7804 commit 840ffe7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions image-files/tws-scripts/run_tws.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ disable_agents() {
fi
}

disable_compositing() {
# disable compositing
# https://github.com/gnzsnz/ib-gateway-docker/issues/55
echo ".> Disabling xfce compositing"
xfconf-query --channel=xfwm4 --property=/general/use_compositing --type=bool --set=false --create
}

# set display
export DISPLAY=:10

Expand All @@ -34,6 +41,8 @@ id

# disable agents
disable_agents
# disable compositing
disable_compositing
# SSH
setup_ssh
# set ports
Expand Down

0 comments on commit 840ffe7

Please sign in to comment.