Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Well the whole question is in the title. Say I have the following launcher

#!/usr/bin/env xdg-open
[Desktop Entry]
Comment=Lantern interface to ICC
Exec=/usr/bin/java -jar /home/john/local/lantern-chess/lantern.jar

how do I make it run in the /home/john/local/lantern-chess/ folder?

share|improve this question
up vote 6 down vote accepted

Add a line

share|improve this answer
Thanks for that, I had worked this out but askubuntu wouldn't let me answer my own question! – John Sep 21 '12 at 6:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.