Posted January 02, 2019
If you experience that the game crashes your user session and you have to login again when clicking on the desktop icon, then do the following:
Go to the Stellaris directory [typically /home/username/GOG Games/Stellaris]
Open the start.sh file in a text editor.
In this file find the following function:
# Actions
run_game() {
echo "Running ${GAME_NAME}"
cd game
chmod +x "stellaris"
export LC_ALL=C
./"stellaris"
}
Change the last line from :
./"stellaris"
to
x-terminal-emulator -e ./"stellaris"
If it still crashes try:
xterm -e ./"stellaris"
If you do not want to see the terminal window you can try:
xterm -iconic -e ./"stellaris"
Note that x-terminal-emulator depends on which terminal you have as default, so the option can be differently named. Usually a x-terminal-emulator --help will show you the options.
HTH
Go to the Stellaris directory [typically /home/username/GOG Games/Stellaris]
Open the start.sh file in a text editor.
In this file find the following function:
# Actions
run_game() {
echo "Running ${GAME_NAME}"
cd game
chmod +x "stellaris"
export LC_ALL=C
./"stellaris"
}
Change the last line from :
./"stellaris"
to
x-terminal-emulator -e ./"stellaris"
If it still crashes try:
xterm -e ./"stellaris"
If you do not want to see the terminal window you can try:
xterm -iconic -e ./"stellaris"
Note that x-terminal-emulator depends on which terminal you have as default, so the option can be differently named. Usually a x-terminal-emulator --help will show you the options.
HTH
Post edited January 02, 2019 by oblidor