[Linux Mint] Run from menu?
-
- Posts: 2
- Joined: Thu Nov 29, 2012 5:12 am
[Linux Mint] Run from menu?
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!
-
- Posts: 2125
- Joined: Thu Sep 20, 2012 3:17 pm
Re: [Linux Mint] Run from menu?
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.
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
Reason: silly typo
Report spam using the handy Report Button Mod.
-
- Posts: 1
- Joined: Thu Nov 29, 2012 9:46 pm
Re: [Linux Mint] Run from menu?
For me it was useful to change the FTL script in the FTL root directory adding a new second line
the file now looks like this:
Reason is that window managers often use the home directory as working directory.
Code: Select all
cd `dirname $0`
Code: Select all
#!/bin/bash
cd `dirname $0`
# enter the game directory
cd ./data
# run FTL
./FTL "$@"
-
- Posts: 2
- Joined: Thu Nov 29, 2012 5:12 am
Re: [Linux Mint] Run from menu?
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...
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...