/usr/share/anyremote/cfg-data/Utils/message.sh is in anyremote-data 6.3.2-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 21 22 23 24 25 26 27 28 29 30 31 | #!/bin/sh
NS=`which notify-send 2> /dev/null|grep notify-send|grep -v no|wc -l|tr -d " "`
if [ "x$KD" = "x1" ]; then
notify-send -t 2000 "$1";
exit 0;
fi;
KD=`which kdialog 2> /dev/null|grep kdialog|grep -v no|wc -l|tr -d " "`
if [ "x$KD" = "x1" ]; then
kdialog --msgbox "$1";
exit 0;
fi;
ZN=`which zenity 2> /dev/null|grep zenity|grep -v no|wc -l|tr -d " "`
if [ "x$ZN" = "x1" ]; then
zenity --info --text="$1"
exit 0;
fi;
XM=`which xmessage 2> /dev/null|grep xmessage|grep -v no|wc -l|tr -d " "`
if [ "x$XM" = "x1" ]; then
xmessage "$1"
exit 0;
fi;
xterm -T anyRemote -e "echo \"$1\";read"
|