Welcome, Guest. Please login or register.
May 23, 2012, 09:59:43 PM
Home Help Search Login Register
News: All registrations must be approved because of spam, please contact support with your member name: http://www.chroniclogic.com/contact_form.php?section=feedback

+  Chronic Logic Forums
|-+  Gish
| |-+  Gish Support
| | |-+  Gish Launcher in Ubuntu
« previous next »
Pages: [1] Print
Author Topic: Gish Launcher in Ubuntu  (Read 3355 times)

Guest
« 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.
Logged
doodgie
Full Member
***
Posts: 55



View Profile
« Reply #1 on: September 03, 2011, 11:35:02 AM »

YOU CAME UP WITH THAT!!! wow, maybe i'll have to try that
Logged

Wow, it takes exactly 400 licks to get to the center of a tootsie pop
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!