#!/bin/sh
#
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.

# Change your keymap:
xmodmap "/root/.Xmodmap"

# Handle xrandr
XRANDR=`/opt/bin/xrandr_guess`

if [ "$XRANDR" != "" ]; then
  `$XRANDR`
fi

xinput set-int-prop "Fujitsu Serial Touchscreen" "Evdev Axis Calibration"##COORDINATES##

# x11vnc
/usr/bin/x11vnc -notruecolor -norc -forever -scale 800x600 -geometry 800x600 -bg -display :0

# run pos
/opt/pos/common/bin/run_pos.sh &

exec fluxbox

