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?

1 Answers1

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! – Epimetheus Sep 21 '12 at 06: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