I was having trouble launching ovito from a desktop file. To send commands through to a new tmux session and then close it out I ended up with. 1[Desktop Entry]2Name=OVITO3Type=Application4Exec=/usr/bin/tmux new-session -d -s ovito "bash --init-file <(echo '$HOME/.local/bin/ovito && tmux kill-session -t ovito')"5Icon=ovito6Terminal=false7StartupNotify=false8Categories=Education;Science;Mathematics;9Comment=Open Visualization Tool So basically create a named session, run a bash instance, then ...