Skip to content

Instantly share code, notes, and snippets.

@cbdavis
cbdavis / gist:591daf9eafb2e18d1aff
Last active March 28, 2019 21:46
Configure Linux to directly open a .nlogo file with NetLogo
Create a symbolic link to netlogo in /usr/bin:
cd /usr/bin
sudo ln -s ~/Downloads/netlogo-5.0.5/netlogo.sh netlogo
sudo updatedb
In the netlogo.sh file, override the default 'cd' command to point to the directory where the jar file (and the shell script) is:
cd ~/Downloads/netlogo-5.0.5