tags:

views:

27

answers:

1
#!/bin/sh
xmodmap -e "keycode 49 = equal plus"
cd /media/5F53-7973/BGTrilogy/
wine ./bgmain.exe
xmodmap -e "keycode 49 = dead_caron dead_tilde dead_caron dead_tilde notsign notsign"

Basically what I want from it is that the last entry would only run after I quit wine ./bgmain.exe.

What's the most foolproof way to do it?

+1  A: 

Try adding wait on a line after the wine command.

Dennis Williamson