[Linux Mint] Run from menu?

Discuss problems related to FTL here. If you are having a problem or experiencing a bug PLEASE READ THE "MUST READ" POST.
Post Reply
pWEN
Posts: 2
Joined: Thu Nov 29, 2012 5:12 am

[Linux Mint] Run from menu?

Post by pWEN »

Hello! I'm a Linux Mint n00b with a simple question. How can I run FTL from the "start" menu? I've installed FTL to /opt, as recommended, and I can run the sh script from the folder just fine. But the entry I've added to the OS menu doesn't seem to launch it. Can anyone tell me what I'm doing wrong? Thanks!
UltraMantis
Posts: 2125
Joined: Thu Sep 20, 2012 3:17 pm

Re: [Linux Mint] Run from menu?

Post by UltraMantis »

Does this help? Tips and Tricks for Linux Mint
Dunno much about linux, you may have to dig through the help files or check the mint forum.
Last edited by UltraMantis on Fri Nov 30, 2012 9:28 am, edited 1 time in total.
Reason: silly typo
Report spam using the handy Report Button Mod.
johannes
Posts: 1
Joined: Thu Nov 29, 2012 9:46 pm

Re: [Linux Mint] Run from menu?

Post by johannes »

For me it was useful to change the FTL script in the FTL root directory adding a new second line

Code: Select all

cd `dirname $0`
the file now looks like this:

Code: Select all

#!/bin/bash

cd `dirname $0`

# enter the game directory
cd ./data


# run FTL
./FTL "$@"
Reason is that window managers often use the home directory as working directory.
pWEN
Posts: 2
Joined: Thu Nov 29, 2012 5:12 am

Re: [Linux Mint] Run from menu?

Post by pWEN »

UltraMantis:

Thank you, I'm sure that will come in handy!

johannes:

Thanks, that did the trick!! Now I'm having a similar issue with Frozen Synapse, so let's see if I can apply my new knowledge...
Post Reply