/usr/bin/op-tkdesk is in tkdesk 2.0-9.1.
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 18 19 20 | #!/bin/sh
#
# Usage: op-tkdesk [file ...]
# Opens the specified files by performing the default action of their
# associated TkDesk popup menu (this is the first menu item), or asks
# for a command to execute if no files are given.
if [ $# -gt 0 ]; then
FILES=
for f in $@; do
if [ -z "`echo $f | grep '^[/~]'`" ]; then
FILES="`pwd`/$f $FILES"
else
FILES="$f $FILES"
fi
done
tkdeskclient "cd `pwd`; dsk_open {} `echo $FILES`; cd" >/dev/null
else
tkdeskclient 'dsk_ask_exec' >/dev/null
fi
|