/usr/bin/pop-tkdesk is in tkdesk 2.0-9.2+b3.
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 21 22 23 24 25 26 | #!/bin/sh
#
# Usage: pop-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
if [ $# -gt 1 ]; then
echo "`basename $0`: can only display the popup for one file"
exit 1
fi
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_show_popup `echo $FILES`; cd" >/dev/null
else
echo "usage: pop-tkdesk file"
exit 2
fi
|