To better handle the case of file association. We now split the path into a directory and basename string and change the current working directory to that directory and read the file with the basename. This simplifies the .desktop file and makes the LAMMPS shell behave as expected on Windows, too.
11 lines
293 B
Desktop File
11 lines
293 B
Desktop File
[Desktop Entry]
|
|
Version=1.0
|
|
Type=Application
|
|
Categories=Science;Engineering;
|
|
Exec=/bin/sh -c "echo -e -n \"\033]0;The LAMMPS Shell\007\"; LC_ALL=C lammps-shell %f"
|
|
Name=The LAMMPS Shell
|
|
Terminal=true
|
|
GenericName=MD Simulator
|
|
Keywords=MD Simulation;LAMMPS;Molecular Dynamics;N-Body
|
|
Icon=lammps
|