Platform: Lubuntu 11.10 x64
Program: Gish
When I try to launch Gish from the command line (/opt/gish/gi.sh), there are no problems. But when I try to launch it from the LXDE menu, it will not start.
Contents of /usr/share/applications/gish.desktop:
[Desktop Entry]
Categories=Game;ActionGame;AdventureGame;ArcadeGame;
Exec=/opt/gish/gi.sh
Path=/opt/gish
Icon=x-gish
Terminal=false
Type=Application
Name=Gish
I tried changing Terminal=false to Terminal=true to debug it, but then I just got a blank terminal, and the game didn't start.
Edit:
Here is some additional information, as requested by Eliah Kagan below:
I tried editing /usr/share/applications/gish.desktop, as recommended, but it had no effect
However, ~/.xsession-errors contained the following error:
[: 8: x86_64: unexpected operator
./gish_32: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS64
I think there's a problem with the /opt/gish/gi.sh shell script. This is its contents:
cd /opt/gish/
MACHINE_TYPE=`uname -m`
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
./gish_64
else
./gish_32
fi
I'm not too familiar with Bash, so hopefully someone else can point out the error.
I have a 64-bit machine. I think that when the script is run from the command line, it's properly launching the 64-bit version (/opt/gish/gish_64), but when it's run from the LXDE menu, it's launching the 32-bit version (/opt/gish/gish_32), which is causing the libGL.so.1 error. However, this may be related to my libGL.so.1 problems with 2 other games.