Encontrou uma solução:
myfile.desktop
[Desktop Entry]
Version=1.0
Name=Tester
Comment=Debug
Exec=gksu "gnome-terminal -x bash -c /home/me/Desktop/myscript.sh"
Icon=utilities-terminal
Terminal=false
Type=Application
Categories=Application;
myscript.sh
#!/bin/bash
PID=$(pidof mysoftware)
sudo strace -p$PID -s9999 -e write
$SHELL