I am trying to compile a C# Hello World application in Rider on Linux. When I try to run the app, I am promted the following exception:
Unhandled Exception:
Syst
The means exactly this: "I want to run your script, but you need to specify the terminal you want me to use"
In GoG version of Stardew Valley, the script in question is: ./start.sh Launching this causes the above error. If instead:
export 'TERM=roxterm' && ./start.sh
then it works because I have the roxterm terminal installed on my system and the script can use it to execute. What I do know is the global parameter in Ubuntu that tells scrips use this unless it is: Default Applications
Looking at snippet of the script, originally it is:
run_game() {
echo "Running ${GAME_NAME}"
cd game
chmod +x *
./"StardewValley"
}
Corrected for roxterm it would be:
run_game() {
echo "Running ${GAME_NAME}"
cd game
chmod +x *
export 'TERM=roxterm' && ./"StardewValley"
}
The latter solution works with application launchers and is thus superior.
Did you not follow the instructions on that page? You need to set your TERM
environmental variable to xterm
as a fix:
export TERM=xterm
Then verify it is changed with:
echo $TERM