#!/bin/bash

for f in /etc/X11/xinit/xinitrc.d/*; do
  [ -x "$f" ] && . "$f"
done
unset f

setxkbmap fi

export GTK_MODULES=gail:atk-bridge
export SAL_USE_VCLPLUGIN="gtk"
export GNOME_ACCESSIBILITY=2
/usr/bin/xbrlapi &

# If I comment out the following line, I have no problems with excess insert events from vte.
/usr/bin/orca &

sleep 2
/usr/bin/brltty -b ba -x a2 -ne -l 7 > /tmp/brltty-$USER.log 2>&1 &
/usr/bin/gnome-terminal &
exec lxsession
