7

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?

7

Add a line

Path=/home/john/local/lantern-chess/
  • 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
  • This only works for me when single clicking from Menu, but not when launching from Nemo. From Nemo it appears to ignore the Path line – Kelly Bang Jun 26 '19 at 21:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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