#!/bin/bash # This is a wrapper around Trine. It will change the keyboard layout to # us for the game and then change it back. TRINE=/opt/trine DIR=`pwd` cd $TRINE setxkbmap us ./trine-launcher setxkbmap us dvorak cd $DIR