/usr/bin/ltsp-localapps is in ltsp-server 5.5.1-1ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/sh
if [ "$1" = "--wait" ]; then
xprop -root -f LTSP_COMMAND_WAIT 8s -set LTSP_COMMAND_WAIT "true"
shift
fi
CMD=$1
shift
unset ARGS
for i in "$@"; do
i=$(echo $i|sed -e '/ /s/^/"/' -e '/ /s/$/"/')
ARGS="$ARGS $i"
done
xprop -root -f LTSP_COMMAND 8s -set LTSP_COMMAND "$CMD $ARGS"
|