I have installed FIFA09 through wine & it runs great...however i have to manually go to installation directory each time & open the terminal there. Then have to write in two steps:

wine cmd

while cmd is operating in terminal

FIFA09.exe -Windowed

how can i chain these commands in a bash script which can then be invoked by a simple .desktop launcher

  • Isn't is possible to run wine /path/to/FIFA09.exe -Windowed ? – LatinSuD Jul 17 '14 at 17:40

As suggested by LatinSuD, this should do the trick:

cat > ~/FIFA09.sh << EOF
wine /path/to/FIFA09.exe


chmod +x ~/FIFA09.sh

And finally this will create an executable bash script in your directory which you can move around at your leisure and execute in directory with ./ Or move it into your path to run it as a normal executable.

| improve this answer | |
  • Type it exactly as I have it there. – Torger597 Jul 17 '14 at 21:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.