Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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]
Version=1.0
Type=Application
Terminal=false
Name=Lantern
Comment=Lantern interface to ICC
Exec=/usr/bin/java -jar /home/john/local/lantern-chess/lantern.jar
Icon=/

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

Path=/home/john/local/lantern-chess/
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

 
discard

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.