Author Topic: Gish Launcher in Ubuntu  (Read 13995 times)

  • Guest
Gish Launcher in Ubuntu
« on: January 24, 2008, 06:30:59 AM »
Hello everyone! This is a solution I found to create a launcher for Gish in the "games" menu on linux. I use Ubuntu, and I haven't tried it on other distributions, but if you're having the problems I'm about to describe, it might be worth trying.

Again, at least in Ubuntu, when I opened Gish from the installation directory in my home folder, everything was just fine. But for some reason, whenever I tried to create a launcher/shortcut to gish on the GNOME panel, the main menu or even the desktop, it started the game without sound and unplayable, everything black or gray with white rectangles where the game menu items should have been. Something bothered Gish while trying to open it from outside it's own directory, so I tried many things until I came out with a fairly simple script:

Create a new text file, either from the terminal, or just right click on your desktop or home folder or wherever you want to put that script into, and select "create document", then "empty file". (Again, I use GNOME, so the instructions may vary if you're using KDE or another desktop environment). In my case, I created the file on gish's directory. The new file will appear, just type the name you want to give it, Run Gish, for example. Finally, open the empty file and type the following:

Code Sample

#!/bin/bash/
cd /home/user_name/gish/
./gish


And replace "user_name" with your own user name. Save the file and close it.
Finally, right click on the file and go to the "permissions" tab and check the box that says "allow executing file as program".
Now, you can just create your shortcut/launcher and point it to this script. This way, it will be as if you started the game from it's own directory.

I hope this helps somebody!

Luis Jorge.

SimpleLizard

  • Full Member
  • ***
  • Posts: 64
    • View Profile
Re: Gish Launcher in Ubuntu
« Reply #1 on: September 03, 2011, 11:35:02 AM »
YOU CAME UP WITH THAT!!! wow, maybe i'll have to try that
I have no siggy :P

SimpleLizard

  • Full Member
  • ***
  • Posts: 64
    • View Profile
Re: Gish Launcher in Ubuntu
« Reply #2 on: January 24, 2014, 09:49:03 AM »
Edit: Ok, so it did work, but i had to edit the script file slightly, and made the following change(s)

#!/bin/bash/
cd /home/doodgie/gish/
./gish_64

The original script looked like this

#!/bin/bash/
cd /home/doodgie/gish/
./gish

If one doesn't work for you, try the other, and you should have a working script file, or link file ;)
I have no siggy :P

fanneyjack

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Gish Launcher in Ubuntu
« Reply #3 on: April 04, 2014, 08:28:13 AM »
What difference makes gish_64

SimpleLizard

  • Full Member
  • ***
  • Posts: 64
    • View Profile
Re: Gish Launcher in Ubuntu
« Reply #4 on: April 04, 2014, 12:54:50 PM »
Nothing much, really. Gish_64 is just a version used on 64-Bit machines
I have no siggy :P