The script/file I want to run with Terminal Emulator → VASSAL.sh , but, when I run it I get the error message - Failed to execute child - so I run the Terminal within the folder and writes two commands
chmod +x VASSAL.sh
./VASSAL.sh
And it works, next time I run it I have to do it all over again for it to work
what am I not doing right? How can I make VASSAL.sh run every time?
VASSAL : I believe it is called a emulator, it’s a way to play board games online, in my case the board game Advanced Squad Leader, anyway I use VASSAL to do so, you can see what it is here - www.vassalengine.org
I download the latest version, right now it is VASSAL-3.7.15-linux.tar.bz2 and extract it to a folder of the same name (VASSAL-3.7.15) the folder is the “game” or emulator. To start playing and to do so I have to run VASSAL.sh using the terminal (run as a program)
And here is where it goes wrong >failure to execute child< and I do not know how to fix it, I am a newbie in CAPITAL LETTERS - hope this cast some light on my problem
when you say: bash ./VASSAL.sh - what is ‘bash’ and how/where do I run the command?
since it is in the AUR (i.e. Arch User Repository).
Note: the version of the AUR package is currently 3.7.14. To get the latest vassal engine, you can run the following commands:
cd /tmp
yay -Ga vassal
cd /tmp/vassal
# in file PKGBUILD this line changes pkgver value from 3.7.14 to 3.7.15:
sed -i PKGBUILD -e 's|pkgver=3.7.14|pkgver=3.7.15|'
# now build the package
makepkg -cf
# then install it (if build was OK)
sudo pacman -U vassal-*.pkg.tar.zst
Now you should have a .desktop file in your start menu which can be used for starting vassal.
Note: I didn’t really try these commands fully, so if something doesn’t work, please let me (or others here) know.
Disclaimer: please note that any AUR package is not supported by EndeavourOS nor Arch teams. They are supported only by the (unknown) user who added it in the AUR, so using it is at your own risk.
bash is a command interpreter that knows how to execute *.sh files. But you don’t need that if you use the AUR package as explained above.