Need Launcher Command




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

  • Re: Need Luncher Commad
    ... I have a Linux game, Machinarium, that I just reinstalled. ... 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 ...
    (comp.os.linux.misc)
  • Need Luncher Commad
    ... I have a Linux game, Machinarium, that I just reinstalled. ... the game's launcher that changed the directory then executed the game ... My stupid mistake was I did no save the command for the launcher in a ...
    (comp.os.linux.misc)
  • >>>> CONQUER GAMES <<<<
    ... command and conquer 3 game, programs to penetrate the game conquer, ... conquer game risk, conquer online game download, game replays command ...
    (comp.sys.ibm.pc.hardware.systems)
  • Re: This weekends great Genesis haul
    ... to START GAME if you are beginning a new game or NEW GAME if you are ... Black dots represent evil settlements of people, ... BAR and each symbol on the bar represents a command. ... MANNA BAR are,, RAISE AND LOWER LAND, PLACE ...
    (rec.games.video.sega)
  • [kde] Re: How to use Plasmoid shortcuts
    ... Disabling the "command line" in Krunner fixed it, ... simply means "run in the current shell" not as a child process, ... because it executes the content of the called script in the ... Second, and the reason I use it to call my kde launcher (simply "k", I ...
    (KDE)