Need Launcher Command
- From: Tecknomage <tecknode@xxxxxxxxxx>
- Date: Wed, 17 Aug 2011 08:46:10 -0700
I'm having one of those I-screwed-up moments.
I have a Linux game, Machinarium, that I just reinstalled. The
problem is it will not run properly unless the game is run in the
game's home folder (the focus must be the home folder).
When I was running the Machinarium way-back-when I had a command in
the game's launcher that changed the directory then executed the game
correctly.
My stupid mistake was I did no save the command for the launcher in a
text file in case I needed it later.... like now.
Please, could someone tell me what I need to do.
The game-folder: /home/tecknode/Machinarium
The executable: Machinarium
I need a command-line for the launcher. Either a single-line command
or a script that I can run from the launcher command.
It needs to change the directory to the game-folder then launch
Machinarium.
If you provide a BASH script, ensure it is exact, ALL lines with full
text. Also the launcher command line I would need to run the script.
Side comment: This is defiantly the one thing I do NOT like about
Linux. Launchers should have a "Start in" path (just like Windows) in
ADDITION to the command to launch the program. The "Start in" entry
would do a Change Directory before executing the command.
Another: I have a link to the BASH commands, I find it hard to
believe that there is no "Run (executable)" command. Unless there is
some other BASH command that will do that.
--
=========== Tecknomage ===========
Computer Systems Specialist
ComputerHelpForum.org Staff Member
IT Technician
San Diego, CA
.
Relevant Pages
|