Files
lammps/tools/lammps-shell/lammps-shell.desktop
Axel Kohlmeyer 1382559dbe adapt behavior of lammps-shell when passing filename without -in/-i flag
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.
2020-10-23 20:42:24 -04:00

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