Working Directory in Launcher

Siggy Brentrup winnegan.ubuntu at ewetel.net
Fri Jul 3 18:45:31 UTC 2009


On Fri, Jul 03, 2009 at 11:04:56AM -0500, Michael Satterwhite wrote:
> If I right click on the Desktop and opt to create a launcher, I need to 
> specify the working directory fo the program that is being launched. 
> Specifically, I want the directory that contains the file being executed to be 
> the working directory for that execution.
> 
> There has to be a way to do that, but I'm missing it. How is this done?

Try something along the lines of

    sh -c "cd <working-directory> && <command-to-run>"

in the launchers command entry.

Regards
  Siggy




More information about the ubuntu-users mailing list